diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 048e1d0ef9..48b70a9fb1 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2390,6 +2390,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -18486,6 +18492,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -52423,6 +52435,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -86291,6 +86309,99 @@ } } }, + "secret-scanning-alert-publicly-leaked": { + "post": { + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "secret_scanning_alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, "secret-scanning-alert-reopened": { "post": { "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", @@ -94190,6 +94301,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } }, @@ -97163,6 +97284,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -118884,6 +119011,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -135225,6 +135362,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -251332,6 +251479,41 @@ "payload" ] }, + "webhook-secret-scanning-alert-publicly-leaked": { + "title": "secret_scanning_alert publicly leaked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "publicly_leaked" + ] + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ] + }, "webhook-secret-scanning-alert-reopened": { "title": "secret_scanning_alert reopened event", "type": "object", @@ -264494,7 +264676,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -264580,7 +264764,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -284788,7 +284974,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -284807,7 +284995,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -284829,7 +285019,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-alert-resolved": { @@ -284869,7 +285061,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-location-list": { @@ -291331,7 +291525,9 @@ "resolved_at": null, "resolved_by": null, "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false }, "location": { "type": "commit", @@ -291754,6 +291950,26 @@ "type": "string" } }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 733e70c939..b30408be4b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -1662,6 +1662,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -13452,6 +13454,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -38057,6 +38061,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -62367,6 +62373,72 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -68508,6 +68580,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true actor: title: Actor description: Actor @@ -70773,6 +70854,14 @@ components: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -87542,6 +87631,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. + nullable: true secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -100059,6 +100157,15 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or business. + nullable: true webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -187477,6 +187584,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -198055,6 +198186,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -198137,6 +198270,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false copilot-usage-metrics-org: value: - day: '2023-10-15' @@ -215559,6 +215694,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -215576,6 +215713,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -215595,6 +215734,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -215632,6 +215773,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -221248,6 +221391,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -221634,6 +221779,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false team-slug: name: team_slug description: The slug of the team name. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 048e1d0ef9..48b70a9fb1 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2390,6 +2390,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -18486,6 +18492,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -52423,6 +52435,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -86291,6 +86309,99 @@ } } }, + "secret-scanning-alert-publicly-leaked": { + "post": { + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "secret_scanning_alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, "secret-scanning-alert-reopened": { "post": { "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", @@ -94190,6 +94301,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } }, @@ -97163,6 +97284,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -118884,6 +119011,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -135225,6 +135362,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -251332,6 +251479,41 @@ "payload" ] }, + "webhook-secret-scanning-alert-publicly-leaked": { + "title": "secret_scanning_alert publicly leaked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "publicly_leaked" + ] + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ] + }, "webhook-secret-scanning-alert-reopened": { "title": "secret_scanning_alert reopened event", "type": "object", @@ -264494,7 +264676,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -264580,7 +264764,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -284788,7 +284974,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -284807,7 +284995,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -284829,7 +285019,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-alert-resolved": { @@ -284869,7 +285061,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-location-list": { @@ -291331,7 +291525,9 @@ "resolved_at": null, "resolved_by": null, "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false }, "location": { "type": "commit", @@ -291754,6 +291950,26 @@ "type": "string" } }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 733e70c939..b30408be4b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1662,6 +1662,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -13452,6 +13454,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -38057,6 +38061,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -62367,6 +62373,72 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -68508,6 +68580,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true actor: title: Actor description: Actor @@ -70773,6 +70854,14 @@ components: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -87542,6 +87631,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. + nullable: true secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -100059,6 +100157,15 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or business. + nullable: true webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -187477,6 +187584,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -198055,6 +198186,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -198137,6 +198270,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false copilot-usage-metrics-org: value: - day: '2023-10-15' @@ -215559,6 +215694,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -215576,6 +215713,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -215595,6 +215734,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -215632,6 +215773,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -221248,6 +221391,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -221634,6 +221779,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false team-slug: name: team_slug description: The slug of the team name. diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 1c954ef83f..eae5b4b4f9 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -18858,6 +18858,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -19635,6 +19655,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -19764,7 +19794,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -19850,7 +19882,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -46561,614 +46595,626 @@ "example": 10000, "nullable": true }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "example": false, - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "default-response": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#update-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Organization Full", - "description": "Organization Full", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - }, - "name": { - "type": "string", - "example": "github" - }, - "company": { - "type": "string", - "example": "GitHub" - }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" - }, - "location": { - "type": "string", - "example": "San Francisco" - }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" - }, - "total_private_repos": { - "type": "integer", - "example": 100 - }, - "owned_private_repos": { - "type": "integer", - "example": 100 - }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true - }, - "disk_usage": { + "collaborators": { "type": "integer", - "example": 10000, - "nullable": true + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "example": false, + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_push_protection_custom_link_enabled": false + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#update-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + } + } + }, + "examples": { + "default": { + "value": { + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Full", + "description": "Organization Full", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." }, "billing_email": { "type": "string", @@ -121079,6 +121125,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -121856,6 +121922,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -121985,7 +122061,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -122071,7 +122149,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -382472,6 +382552,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -382830,6 +382930,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } } @@ -382892,7 +383002,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -382911,7 +383023,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -383349,6 +383463,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -383371,7 +383495,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -383856,6 +383982,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -383897,7 +384033,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -1010181,199 +1010319,1811 @@ "content": { "application/json": { "schema": { - "title": "repository transferred event", + "title": "repository transferred event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "transferred" + ] + }, + "changes": { + "type": "object", + "properties": { + "owner": { + "type": "object", + "properties": { + "from": { + "type": "object", + "properties": { + "organization": { + "title": "Organization", + "type": "object", + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "hooks_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "type": "string", + "format": "uri" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string", + "format": "uri-template" + }, + "node_id": { + "type": "string" + }, + "public_members_url": { + "type": "string", + "format": "uri-template" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id", + "node_id", + "url", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + } + } + }, + "required": [ + "from" + ] + } + }, + "required": [ + "owner" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-unarchived": { + "post": { + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "repository unarchived event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "transferred" - ] - }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "description": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "issues_url": { - "type": "string", - "format": "uri" - }, - "login": { - "type": "string" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { - "type": "string" - }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" - ] - } - } - } - }, - "required": [ - "from" - ] - } - }, - "required": [ - "owner" + "unarchived" ] }, "enterprise": { @@ -1011882,7 +1013632,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1011908,13 +1013657,13 @@ } } }, - "repository-unarchived": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1011979,15 +1013728,181 @@ "content": { "application/json": { "schema": { - "title": "repository unarchived event", + "title": "repository_vulnerability_alert create event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unarchived" + "create" ] }, + "alert": { + "title": "Repository Vulnerability Alert Alert", + "description": "The security alert of the vulnerable dependency.", + "type": "object", + "required": [ + "affected_package_name", + "affected_range", + "created_at", + "external_identifier", + "external_reference", + "ghsa_id", + "id", + "node_id", + "number", + "severity", + "state" + ], + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "type": "string", + "format": "date-time" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "open" + ] + } + } + }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -1013494,6 +1015409,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1013509,21 +1015425,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", + "subcategory": "repository_vulnerability_alert", "supported-webhook-types": [ - "business", "repository", - "organization", - "app" + "organization" ] } } }, - "repository-vulnerability-alert-create": { + "repository-vulnerability-alert-dismiss": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1013590,13 +1015504,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert create event", + "title": "repository_vulnerability_alert dismiss event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "create" + "dismiss" ] }, "alert": { @@ -1013607,6 +1015521,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1013626,6 +1015543,10 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": "string", + "nullable": true + }, "dismiss_reason": { "type": "string" }, @@ -1013721,6 +1015642,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1013760,7 +1015684,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1015295,11 +1017219,11 @@ } } }, - "repository-vulnerability-alert-dismiss": { + "repository-vulnerability-alert-reopen": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1015366,13 +1017290,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert dismiss event", + "title": "repository_vulnerability_alert reopen event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "dismiss" + "reopen" ] }, "alert": { @@ -1015383,9 +1017307,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1015405,10 +1017326,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": "string", - "nullable": true - }, "dismiss_reason": { "type": "string" }, @@ -1015504,9 +1017421,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1015546,7 +1017460,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1017081,11 +1018995,11 @@ } } }, - "repository-vulnerability-alert-reopen": { + "repository-vulnerability-alert-resolve": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1017152,13 +1019066,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert reopen event", + "title": "repository_vulnerability_alert resolve event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "reopen" + "resolve" ] }, "alert": { @@ -1017322,6 +1019236,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1018857,13 +1020772,13 @@ } } }, - "repository-vulnerability-alert-resolve": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1018928,179 +1020843,364 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert resolve event", + "title": "secret_scanning_alert created event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "resolve" + "created" ] }, "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], "properties": { - "affected_package_name": { - "type": "string" - }, - "affected_range": { - "type": "string" + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true }, "created_at": { - "type": "string" + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true }, - "dismiss_reason": { - "type": "string" + "updated_at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", - "type": "object", + "html_url": { + "type": "string", + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "resolution": { + "type": "string", + "description": "The reason for resolving the alert.", "nullable": true, - "required": [ - "login", - "id" - ], + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited" + ] + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { - "avatar_url": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "deleted": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "email": { + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "events_url": { + "url": { "type": "string", - "format": "uri-template" + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "followers_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" }, "following_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/following{/other_user}" }, "gists_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, - "gravatar_id": { - "type": "string" + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, - "html_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" }, - "login": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { "name": { + "nullable": true, "type": "string" }, - "node_id": { + "email": { + "nullable": true, "type": "string" }, - "organizations_url": { + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "received_events_url": { + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { "type": "string", - "format": "uri" + "example": "MDQ6VXNlcjE=" }, - "repos_url": { + "avatar_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "site_admin": { - "type": "boolean" + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, "starred_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" }, "type": { "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] + "example": "User" }, - "url": { + "site_admin": { + "type": "boolean" + }, + "starred_at": { "type": "string", - "format": "uri" + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } - } - }, - "external_identifier": { - "type": "string" - }, - "external_reference": { - "type": "string", - "nullable": true, - "format": "uri" - }, - "fix_reason": { - "type": "string" + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true }, - "fixed_at": { + "push_protection_bypassed_at": { "type": "string", - "format": "date-time" - }, - "fixed_in": { - "type": "string" - }, - "ghsa_id": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "number": { - "type": "integer" + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1020611,8 +1022711,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1020626,21 +1022725,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", - "organization" + "organization", + "app" ] } } }, - "secret-scanning-alert-created": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -1020705,7 +1022805,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1021053,76 +1023153,18 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true - } - } - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "avatar_url": { - "type": "string", - "format": "uri" + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1021145,6 +1023187,314 @@ "node_id" ] }, + "location": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment" + ], + "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", + "example": "commit" + }, + "details": { + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1022561,10 +1024911,185 @@ } }, "required": [ - "action", + "location", "alert", - "repository" + "repository", + "sender" ] + }, + "examples": { + "default": { + "value": { + "action": "created", + "alert": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "updated_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", + "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, + "secret_type": "mailchimp_api_key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false + }, + "location": { + "type": "commit", + "details": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + } + }, + "repository": { + "id": 186853002, + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "name": "hello-world", + "full_name": "octocat-repo/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/octocat-repo/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octocat-repo/hello-world", + "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", + "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", + "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", + "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", + "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", + "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", + "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", + "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", + "created_at": "2019-05-15T15:19:25Z", + "updated_at": "2019-05-15T15:21:03Z", + "pushed_at": "2019-05-15T15:20:57Z", + "git_url": "git://github.com/octocat-repo/hello-world.git", + "ssh_url": "git@github.com:octocat-repo/hello-world.git", + "clone_url": "https://github.com/octocat-repo/hello-world.git", + "svn_url": "https://github.com/octocat-repo/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "is_template": false + }, + "sender": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "title": "Secret Scanning Alert Location Created Event", + "type": "object", + "properties": { + "payload": { + "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ] + }, + "examples": { + "default": { + "value": { + "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" + } + } } } } @@ -1022576,8 +1025101,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1022586,13 +1025112,13 @@ } } }, - "secret-scanning-alert-location-created": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1022657,13 +1025183,13 @@ "content": { "application/json": { "schema": { - "title": "Secret Scanning Alert Location Created Event", + "title": "secret_scanning_alert publicly leaked event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "created" + "publicly_leaked" ] }, "alert": { @@ -1023005,9 +1025531,87 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "installation": { "title": "Simple Installation", "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", @@ -1023029,314 +1025633,6 @@ "node_id" ] }, - "location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "wiki_commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "example": "commit" - }, - "details": { - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - } - }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1024753,183 +1027049,10 @@ } }, "required": [ - "location", + "action", "alert", - "repository", - "sender" - ] - }, - "examples": { - "default": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": [ - "payload" + "repository" ] - }, - "examples": { - "default": { - "value": { - "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" - } - } } } } @@ -1024941,9 +1027064,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1025371,6 +1027493,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1027323,6 +1029455,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1029275,6 +1031417,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 451cdc7c38..2970630bf9 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &221 + type: &223 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &532 + - &534 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -7724,7 +7724,7 @@ paths: enum: - development - runtime - security_advisory: &384 + security_advisory: &386 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -7985,7 +7985,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &385 + auto_dismissed_at: &387 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8687,6 +8687,24 @@ paths: required: false schema: type: string + - &219 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &220 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -8694,7 +8712,7 @@ paths: application/json: schema: type: array - items: &219 + items: &221 type: object properties: number: *48 @@ -8713,14 +8731,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &525 + state: &527 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &526 + resolution: &528 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -8785,8 +8803,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true examples: - default: &220 + default: &222 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -8906,6 +8933,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -8988,6 +9017,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *39 '404': *7 @@ -9234,7 +9265,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &433 + properties: &435 id: type: integer format: int64 @@ -9345,7 +9376,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &369 + properties: &371 url: type: string format: uri @@ -9415,7 +9446,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &370 + required: &372 - closed_issues - creator - description @@ -9556,7 +9587,7 @@ paths: - hooray - eyes - rocket - required: &434 + required: &436 - assignee - closed_at - comments @@ -9578,7 +9609,7 @@ paths: - author_association - created_at - updated_at - comment: &431 + comment: &433 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10138,7 +10169,7 @@ paths: url: type: string format: uri - user: &555 + user: &557 title: Public User description: Public User type: object @@ -13417,14 +13448,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &237 + - &239 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &238 + - &240 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13495,7 +13526,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &249 + '301': &251 description: Moved permanently content: application/json: @@ -13517,7 +13548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &462 + - &464 name: all description: If `true`, show notifications marked as read. in: query @@ -13525,7 +13556,7 @@ paths: schema: type: boolean default: false - - &463 + - &465 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -13535,7 +13566,7 @@ paths: type: boolean default: false - *62 - - &464 + - &466 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -13991,7 +14022,7 @@ paths: - url - subscription_url examples: - default: &465 + default: &467 value: - id: '1' repository: @@ -14540,7 +14571,7 @@ paths: properties: *89 required: *90 examples: - default: &573 + default: &575 value: - login: github id: 1 @@ -14705,6 +14736,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -15303,7 +15342,7 @@ paths: type: integer repository_cache_usages: type: array - items: &254 + items: &256 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -15473,7 +15512,7 @@ paths: - all - local_only - selected - selected_actions_url: &260 + selected_actions_url: &262 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -15563,7 +15602,7 @@ paths: type: array items: *55 examples: - default: &567 + default: &569 value: total_count: 1 repositories: @@ -15891,7 +15930,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &266 type: object properties: default_workflow_permissions: &104 @@ -15942,7 +15981,7 @@ paths: required: false content: application/json: - schema: &265 + schema: &267 type: object properties: default_workflow_permissions: *104 @@ -16377,7 +16416,7 @@ paths: type: array items: *110 examples: - default: &558 + default: &560 value: total_count: 1 repositories: @@ -17015,7 +17054,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 title: Runner Application description: Runner Application type: object @@ -17040,7 +17079,7 @@ paths: - download_url - filename examples: - default: &267 + default: &269 value: - os: osx architecture: x64 @@ -17126,7 +17165,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &268 + '201': &270 description: Response content: application/json: @@ -17236,7 +17275,7 @@ paths: - token - expires_at examples: - default: &269 + default: &271 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17275,7 +17314,7 @@ paths: application/json: schema: *114 examples: - default: &270 + default: &272 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17309,7 +17348,7 @@ paths: application/json: schema: *112 examples: - default: &271 + default: &273 value: id: 23 name: MBP @@ -17533,7 +17572,7 @@ paths: - *91 - *111 responses: - '200': &272 + '200': &274 description: Response content: application/json: @@ -17590,7 +17629,7 @@ paths: parameters: - *91 - *111 - - &273 + - &275 name: name description: The name of a self-hosted runner's custom label. in: path @@ -17720,7 +17759,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &287 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -17749,7 +17788,7 @@ paths: - key_id - key examples: - default: &286 + default: &288 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18160,7 +18199,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *91 - - &259 + - &261 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -18685,7 +18724,7 @@ paths: repository_id: type: integer examples: - default: &299 + default: &301 value: attestations: - bundle: @@ -18922,7 +18961,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *91 - - &325 + - &327 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -18932,7 +18971,7 @@ paths: schema: &127 type: string description: The name of the tool used to generate the code scanning analysis. - - &326 + - &328 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -18955,7 +18994,7 @@ paths: be returned. in: query required: false - schema: &328 + schema: &330 type: string description: State of a code scanning alert. enum: @@ -18978,7 +19017,7 @@ paths: be returned. in: query required: false - schema: &329 + schema: &331 type: string description: Severity of a code scanning alert. enum: @@ -19004,7 +19043,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: &330 + instances_url: &332 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19026,7 +19065,7 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: &331 + dismissed_reason: &333 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19035,13 +19074,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &332 + dismissed_comment: &334 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &333 + rule: &335 type: object properties: id: @@ -19094,7 +19133,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &334 + tool: &336 type: object properties: name: *127 @@ -19104,15 +19143,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *128 - most_recent_instance: &335 + most_recent_instance: &337 type: object properties: - ref: &327 + ref: &329 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &341 + analysis_key: &343 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19123,7 +19162,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &342 + category: &344 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20562,7 +20601,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &355 + properties: &357 name: type: string description: The name of the machine. @@ -20604,7 +20643,7 @@ paths: - ready - in_progress nullable: true - required: &356 + required: &358 - name - display_name - operating_system @@ -21472,7 +21511,7 @@ paths: - updated_at - visibility examples: - default: &357 + default: &359 value: total_count: 2 secrets: @@ -21510,7 +21549,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -21539,7 +21578,7 @@ paths: - key_id - key examples: - default: &359 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21571,7 +21610,7 @@ paths: application/json: schema: *135 examples: - default: &361 + default: &363 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -22598,7 +22637,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -22615,7 +22654,7 @@ paths: - key_id - key examples: - default: &389 + default: &391 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23890,7 +23929,7 @@ paths: application/json: schema: *22 examples: - default: &427 + default: &429 value: id: 1 account: @@ -24115,7 +24154,7 @@ paths: required: true content: application/json: - schema: &428 + schema: &430 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -24726,7 +24765,7 @@ paths: application/json: schema: *170 examples: - default: &354 + default: &356 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -25949,7 +25988,7 @@ paths: parameters: - *91 - *177 - - &572 + - &574 name: repo_name description: repo_name parameter in: path @@ -26920,7 +26959,7 @@ paths: - nuget - container - *91 - - &574 + - &576 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -26961,7 +27000,7 @@ paths: default: *185 '403': *29 '401': *25 - '400': &576 + '400': &578 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28297,7 +28336,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &246 + '410': &248 description: Gone content: application/json: @@ -29169,7 +29208,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &250 title: Full Repository description: Full Repository type: object @@ -29562,7 +29601,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &376 + properties: &378 url: type: string format: uri @@ -29578,7 +29617,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &377 + required: &379 - url - key - name @@ -29667,7 +29706,7 @@ paths: - network_count - subscribers_count examples: - default: &250 + default: &252 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30188,7 +30227,7 @@ paths: - *91 - *18 - *20 - - &512 + - &514 name: targets description: | A comma-separated list of rule targets to filter by. @@ -30466,7 +30505,7 @@ paths: type: object description: A repository rule. oneOf: - - &494 + - &496 title: creation description: Only allow users with bypass permission to create matching refs. @@ -30478,7 +30517,7 @@ paths: type: string enum: - creation - - &495 + - &497 title: update description: Only allow users with bypass permission to update matching refs. @@ -30499,7 +30538,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &497 + - &499 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -30511,7 +30550,7 @@ paths: type: string enum: - deletion - - &498 + - &500 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -30523,7 +30562,7 @@ paths: type: string enum: - required_linear_history - - &499 + - &501 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -30601,7 +30640,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &500 + - &502 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -30625,7 +30664,7 @@ paths: type: string required: - required_deployment_environments - - &501 + - &503 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -30637,7 +30676,7 @@ paths: type: string enum: - required_signatures - - &502 + - &504 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -30683,7 +30722,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &503 + - &505 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -30731,7 +30770,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &504 + - &506 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -30743,7 +30782,7 @@ paths: type: string enum: - non_fast_forward - - &505 + - &507 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -30779,7 +30818,7 @@ paths: required: - operator - pattern - - &506 + - &508 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -30815,7 +30854,7 @@ paths: required: - operator - pattern - - &507 + - &509 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -30851,7 +30890,7 @@ paths: required: - operator - pattern - - &508 + - &510 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -30887,7 +30926,7 @@ paths: required: - operator - pattern - - &509 + - &511 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31013,7 +31052,7 @@ paths: maximum: 100 required: - max_file_size - - &510 + - &512 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31063,7 +31102,7 @@ paths: - repository_id required: - workflows - - &511 + - &513 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -31300,7 +31339,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *91 - - &513 + - &515 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -31316,7 +31355,7 @@ paths: in: query schema: type: integer - - &514 + - &516 name: time_period description: |- The time period to filter by. @@ -31332,14 +31371,14 @@ paths: - week - month default: day - - &515 + - &517 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &516 + - &518 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -31359,7 +31398,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &519 title: Rule Suites description: Response type: array @@ -31414,7 +31453,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &518 + default: &520 value: - id: 21 actor_id: 12 @@ -31458,7 +31497,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *91 - - &519 + - &521 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -31474,7 +31513,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: Rule Suite description: Response type: object @@ -31573,7 +31612,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &521 + default: &523 value: id: 21 actor_id: 12 @@ -31791,7 +31830,7 @@ paths: - *42 - *20 - *18 - - &523 + - &525 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -31801,7 +31840,7 @@ paths: required: false schema: type: string - - &524 + - &526 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -31812,6 +31851,8 @@ paths: schema: type: string - *218 + - *219 + - *220 responses: '200': description: Response @@ -31819,9 +31860,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 headers: Link: *39 '404': *7 @@ -31891,7 +31932,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 description: A repository security advisory. type: object properties: @@ -32111,7 +32152,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 credits_detailed: type: array nullable: true @@ -32121,7 +32162,7 @@ paths: type: object properties: user: *19 - type: *221 + type: *223 state: type: string description: The state of the user's acceptance of the @@ -32182,7 +32223,7 @@ paths: - private_fork additionalProperties: false examples: - default: &531 + default: &533 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -32572,7 +32613,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32662,7 +32703,7 @@ paths: description: Response content: application/json: - schema: &590 + schema: &592 type: object properties: total_minutes_used: @@ -32732,7 +32773,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &591 + default: &593 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -32768,7 +32809,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 type: object properties: total_gigabytes_bandwidth_used: @@ -32786,7 +32827,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &593 + default: &595 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -32818,7 +32859,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 type: object properties: days_left_in_billing_cycle: @@ -32836,7 +32877,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &595 + default: &597 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33037,7 +33078,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -33347,7 +33388,7 @@ paths: - repos_count - organization examples: - default: &223 + default: &225 value: id: 1 node_id: MDQ6VGVhbTE= @@ -33424,9 +33465,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 x-github: githubCloudOnly: false @@ -33510,16 +33551,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '201': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 '422': *16 '403': *29 @@ -33589,7 +33630,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -33688,7 +33729,7 @@ paths: - updated_at - url examples: - default: &545 + default: &547 value: - author: login: octocat @@ -33797,9 +33838,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &225 + default: &227 value: author: login: octocat @@ -33873,7 +33914,7 @@ paths: parameters: - *91 - *178 - - &226 + - &228 name: discussion_number description: The number that identifies the discussion. in: path @@ -33885,9 +33926,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33911,7 +33952,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: false content: @@ -33934,9 +33975,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &546 + default: &548 value: author: login: octocat @@ -34008,7 +34049,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 responses: '204': description: Response @@ -34036,7 +34077,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 - *42 - *18 - *20 @@ -34047,7 +34088,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -34119,7 +34160,7 @@ paths: - updated_at - url examples: - default: &547 + default: &549 value: - author: login: octocat @@ -34189,7 +34230,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: true content: @@ -34211,9 +34252,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &228 + default: &230 value: author: login: octocat @@ -34281,8 +34322,8 @@ paths: parameters: - *91 - *178 - - *226 - - &229 + - *228 + - &231 name: comment_number description: The number that identifies the comment. in: path @@ -34294,9 +34335,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34320,8 +34361,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 requestBody: required: true content: @@ -34343,9 +34384,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &548 + default: &550 value: author: login: octocat @@ -34411,8 +34452,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 responses: '204': description: Response @@ -34440,8 +34481,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -34467,7 +34508,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -34510,7 +34551,7 @@ paths: - content - created_at examples: - default: &232 + default: &234 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -34562,8 +34603,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 requestBody: required: true content: @@ -34596,9 +34637,9 @@ paths: team discussion comment content: application/json: - schema: *230 + schema: *232 examples: - default: &231 + default: &233 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -34627,9 +34668,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34654,9 +34695,9 @@ paths: parameters: - *91 - *178 - - *226 - - *229 - - &233 + - *228 + - *231 + - &235 name: reaction_id description: The unique identifier of the reaction. in: path @@ -34690,7 +34731,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -34716,9 +34757,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -34746,7 +34787,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: true content: @@ -34778,16 +34819,16 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34812,8 +34853,8 @@ paths: parameters: - *91 - *178 - - *226 - - *233 + - *228 + - *235 responses: '204': description: Response @@ -34934,7 +34975,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &236 title: Team Membership description: Team Membership type: object @@ -34961,7 +35002,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &549 + response-if-user-is-a-team-maintainer: &551 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -35024,9 +35065,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-users-membership-with-team-is-now-pending: &550 + response-if-users-membership-with-team-is-now-pending: &552 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -35100,7 +35141,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Team Project description: A team's access to a project. type: object @@ -35168,7 +35209,7 @@ paths: - updated_at - permissions examples: - default: &551 + default: &553 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -35231,7 +35272,7 @@ paths: parameters: - *91 - *178 - - &236 + - &238 name: project_id description: The unique identifier of the project. in: path @@ -35243,9 +35284,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &552 + default: &554 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -35307,7 +35348,7 @@ paths: parameters: - *91 - *178 - - *236 + - *238 requestBody: required: false content: @@ -35373,7 +35414,7 @@ paths: parameters: - *91 - *178 - - *236 + - *238 responses: '204': description: Response @@ -35441,14 +35482,14 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &553 + schema: &555 title: Team Repository description: A team's access to a repository. type: object @@ -36019,8 +36060,8 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -36067,8 +36108,8 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -36105,7 +36146,7 @@ paths: type: array items: *166 examples: - response-if-child-teams-exist: &554 + response-if-child-teams-exist: &556 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -36229,7 +36270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &239 + - &241 name: card_id description: The unique identifier of the card. in: path @@ -36241,7 +36282,7 @@ paths: description: Response content: application/json: - schema: &240 + schema: &242 title: Project Card description: Project cards represent a scope of work. type: object @@ -36308,7 +36349,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &243 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -36358,7 +36399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *239 + - *241 requestBody: required: false content: @@ -36385,9 +36426,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '304': *37 '403': *29 '401': *25 @@ -36408,7 +36449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *239 + - *241 responses: '204': description: Response @@ -36446,7 +36487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *239 + - *241 requestBody: required: true content: @@ -36551,7 +36592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &242 + - &244 name: column_id description: The unique identifier of the column. in: path @@ -36563,7 +36604,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 title: Project Column description: Project columns contain cards of work. type: object @@ -36609,7 +36650,7 @@ paths: - created_at - updated_at examples: - default: &244 + default: &246 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -36638,7 +36679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *242 + - *244 requestBody: required: true content: @@ -36662,9 +36703,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '304': *37 '403': *29 '401': *25 @@ -36683,7 +36724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *242 + - *244 responses: '204': description: Response @@ -36706,7 +36747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *242 + - *244 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -36727,7 +36768,7 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: default: value: @@ -36780,7 +36821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *242 + - *244 requestBody: required: true content: @@ -36820,9 +36861,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '304': *37 '403': *29 '401': *25 @@ -36872,7 +36913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *242 + - *244 requestBody: required: true content: @@ -36928,7 +36969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *236 + - *238 responses: '200': description: Response @@ -36936,7 +36977,7 @@ paths: application/json: schema: *197 examples: - default: &245 + default: &247 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -36989,7 +37030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *236 + - *238 requestBody: required: false content: @@ -37037,7 +37078,7 @@ paths: application/json: schema: *197 examples: - default: *245 + default: *247 '404': description: Not Found if the authenticated user does not have access to the project @@ -37058,7 +37099,7 @@ paths: items: type: string '401': *25 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -37076,7 +37117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *236 + - *238 responses: '204': description: Delete Success @@ -37097,7 +37138,7 @@ paths: items: type: string '401': *25 - '410': *246 + '410': *248 '404': *7 x-github: githubCloudOnly: false @@ -37120,7 +37161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *236 + - *238 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -37172,7 +37213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *236 + - *238 - *123 requestBody: required: false @@ -37220,7 +37261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *236 + - *238 - *123 responses: '204': @@ -37249,7 +37290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *236 + - *238 - *123 responses: '200': @@ -37317,7 +37358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *236 + - *238 - *18 - *20 responses: @@ -37327,7 +37368,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -37359,7 +37400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *236 + - *238 requestBody: required: true content: @@ -37382,7 +37423,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: value: @@ -37443,7 +37484,7 @@ paths: resources: type: object properties: - core: &247 + core: &249 title: Rate Limit type: object properties: @@ -37460,19 +37501,19 @@ paths: - remaining - reset - used - graphql: *247 - search: *247 - code_search: *247 - source_import: *247 - integration_manifest: *247 - code_scanning_upload: *247 - actions_runner_registration: *247 - scim: *247 - dependency_snapshots: *247 + graphql: *249 + search: *249 + code_search: *249 + source_import: *249 + integration_manifest: *249 + code_scanning_upload: *249 + actions_runner_registration: *249 + scim: *249 + dependency_snapshots: *249 required: - core - search - rate: *247 + rate: *249 required: - rate - resources @@ -37571,14 +37612,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: default-response: summary: Default response @@ -38079,7 +38120,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *249 + '301': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38097,8 +38138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -38334,10 +38375,10 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 - '307': &251 + default: *252 + '307': &253 description: Temporary Redirect content: application/json: @@ -38366,8 +38407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -38389,7 +38430,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *251 + '307': *253 '404': *7 x-github: githubCloudOnly: false @@ -38412,11 +38453,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - - &277 + - &279 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -38439,7 +38480,7 @@ paths: type: integer artifacts: type: array - items: &252 + items: &254 title: Artifact description: An artifact type: object @@ -38510,7 +38551,7 @@ paths: - expires_at - updated_at examples: - default: &278 + default: &280 value: total_count: 2 artifacts: @@ -38569,9 +38610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *237 - - *238 - - &253 + - *239 + - *240 + - &255 name: artifact_id description: The unique identifier of the artifact. in: path @@ -38583,7 +38624,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -38620,9 +38661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *237 - - *238 - - *253 + - *239 + - *240 + - *255 responses: '204': description: Response @@ -38646,9 +38687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *237 - - *238 - - *253 + - *239 + - *240 + - *255 - name: archive_format in: path required: true @@ -38662,7 +38703,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': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38685,14 +38726,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -38718,11 +38759,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - - &255 + - &257 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -38756,7 +38797,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &258 title: Repository actions caches description: Repository actions caches type: object @@ -38798,7 +38839,7 @@ paths: - total_count - actions_caches examples: - default: &257 + default: &259 value: total_count: 1 actions_caches: @@ -38830,23 +38871,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *237 - - *238 + - *239 + - *240 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *255 + - *257 responses: '200': description: Response content: application/json: - schema: *256 + schema: *258 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38866,8 +38907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *237 - - *238 + - *239 + - *240 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -38898,9 +38939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *237 - - *238 - - &258 + - *239 + - *240 + - &260 name: job_id description: The unique identifier of the job. in: path @@ -38912,7 +38953,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &283 title: Job description: Information of a job execution in a workflow run type: object @@ -39219,9 +39260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *237 - - *238 - - *258 + - *239 + - *240 + - *260 responses: '302': description: Response @@ -39249,9 +39290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *237 - - *238 - - *258 + - *239 + - *240 + - *260 requestBody: required: false content: @@ -39296,8 +39337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Status response @@ -39347,8 +39388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -39411,8 +39452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -39430,7 +39471,7 @@ paths: type: integer secrets: type: array - items: &283 + items: &285 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -39450,7 +39491,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &286 value: total_count: 2 secrets: @@ -39483,9 +39524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *237 - - *238 - - *259 + - *239 + - *240 + - *261 - *20 responses: '200': @@ -39502,7 +39543,7 @@ paths: type: integer variables: type: array - items: &287 + items: &289 title: Actions Variable type: object properties: @@ -39532,7 +39573,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &290 value: total_count: 2 variables: @@ -39565,8 +39606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39575,11 +39616,11 @@ paths: schema: type: object properties: - enabled: &261 + enabled: &263 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *100 - selected_actions_url: *260 + selected_actions_url: *262 required: - enabled examples: @@ -39606,8 +39647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -39618,7 +39659,7 @@ paths: schema: type: object properties: - enabled: *261 + enabled: *263 allowed_actions: *100 required: - enabled @@ -39648,14 +39689,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &262 + schema: &264 type: object properties: access_level: @@ -39672,7 +39713,7 @@ paths: required: - access_level examples: - default: &263 + default: &265 value: access_level: organization x-github: @@ -39696,15 +39737,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: application/json: - schema: *262 + schema: *264 examples: - default: *263 + default: *265 responses: '204': description: Response @@ -39728,8 +39769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39756,8 +39797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -39789,14 +39830,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: *106 x-github: @@ -39819,8 +39860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Success response @@ -39831,7 +39872,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *267 examples: default: *106 x-github: @@ -39860,8 +39901,8 @@ paths: in: query schema: type: string - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -39905,8 +39946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39914,9 +39955,9 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: - default: *267 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39938,8 +39979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -39982,7 +40023,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *268 + '201': *270 '404': *7 '422': *8 x-github: @@ -40012,8 +40053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -40021,7 +40062,7 @@ paths: application/json: schema: *114 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40049,8 +40090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -40058,7 +40099,7 @@ paths: application/json: schema: *114 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40080,8 +40121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '200': @@ -40090,7 +40131,7 @@ paths: application/json: schema: *112 examples: - default: *271 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40111,8 +40152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '204': @@ -40138,8 +40179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '200': *116 @@ -40164,8 +40205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 requestBody: required: true @@ -40214,8 +40255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 requestBody: required: true @@ -40265,11 +40306,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: - '200': *272 + '200': *274 '404': *7 x-github: githubCloudOnly: false @@ -40296,10 +40337,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 - - *273 + - *275 responses: '200': *116 '404': *7 @@ -40327,9 +40368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *237 - - *238 - - &291 + - *239 + - *240 + - &293 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -40337,7 +40378,7 @@ paths: required: false schema: type: string - - &292 + - &294 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -40345,7 +40386,7 @@ paths: required: false schema: type: string - - &293 + - &295 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -40354,7 +40395,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -40381,7 +40422,7 @@ paths: - pending - *18 - *20 - - &295 + - &297 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -40390,7 +40431,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -40399,13 +40440,13 @@ paths: schema: type: boolean default: false - - &296 + - &298 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &297 + - &299 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -40428,7 +40469,7 @@ paths: type: integer workflow_runs: type: array - items: &275 + items: &277 title: Workflow Run description: An invocation of a workflow type: object @@ -40523,7 +40564,7 @@ paths: that triggered the run. type: array nullable: true - items: &316 + items: &318 title: Pull Request Minimal type: object properties: @@ -40642,7 +40683,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &320 + properties: &322 id: type: string description: SHA for the commit @@ -40693,7 +40734,7 @@ paths: - name - email nullable: true - required: &321 + required: &323 - id - tree_id - message @@ -40740,7 +40781,7 @@ paths: - workflow_url - pull_requests examples: - default: &298 + default: &300 value: total_count: 1 workflow_runs: @@ -40976,24 +41017,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *237 - - *238 - - &276 + - *239 + - *240 + - &278 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *274 + - *276 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &279 + default: &281 value: id: 30433642 name: Build @@ -41234,9 +41275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '204': description: Response @@ -41259,9 +41300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -41380,9 +41421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '201': description: Response @@ -41415,12 +41456,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 - *18 - *20 - - *277 + - *279 responses: '200': description: Response @@ -41436,9 +41477,9 @@ paths: type: integer artifacts: type: array - items: *252 + items: *254 examples: - default: *278 + default: *280 headers: Link: *39 x-github: @@ -41462,25 +41503,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *237 - - *238 - - *276 - - &280 + - *239 + - *240 + - *278 + - &282 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *274 + - *276 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *279 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41503,10 +41544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *237 - - *238 - - *276 - - *280 + - *239 + - *240 + - *278 + - *282 - *18 - *20 responses: @@ -41524,9 +41565,9 @@ paths: type: integer jobs: type: array - items: *281 + items: *283 examples: - default: &282 + default: &284 value: total_count: 1 jobs: @@ -41639,10 +41680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *237 - - *238 - - *276 - - *280 + - *239 + - *240 + - *278 + - *282 responses: '302': description: Response @@ -41670,9 +41711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '202': description: Response @@ -41705,9 +41746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: true content: @@ -41774,9 +41815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '202': description: Response @@ -41809,9 +41850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -41841,9 +41882,9 @@ paths: type: integer jobs: type: array - items: *281 + items: *283 examples: - default: *282 + default: *284 headers: Link: *39 x-github: @@ -41868,9 +41909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '302': description: Response @@ -41897,9 +41938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '204': description: Response @@ -41926,9 +41967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -41988,7 +42029,7 @@ paths: items: type: object properties: - type: &397 + type: &399 type: string description: The type of reviewer. enum: @@ -42073,9 +42114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: true content: @@ -42122,7 +42163,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -42228,7 +42269,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -42284,9 +42325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: false content: @@ -42330,9 +42371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: false content: @@ -42378,9 +42419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -42517,8 +42558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -42536,9 +42577,9 @@ paths: type: integer secrets: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 headers: Link: *39 x-github: @@ -42563,16 +42604,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42594,17 +42635,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: &410 + default: &412 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42630,8 +42671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -42686,8 +42727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -42713,9 +42754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *237 - - *238 - - *259 + - *239 + - *240 + - *261 - *20 responses: '200': @@ -42732,9 +42773,9 @@ paths: type: integer variables: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: Link: *39 x-github: @@ -42757,8 +42798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -42810,17 +42851,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: &411 + default: &413 value: name: USERNAME value: octocat @@ -42846,8 +42887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 requestBody: required: true @@ -42890,8 +42931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 responses: '204': @@ -42917,8 +42958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -42936,7 +42977,7 @@ paths: type: integer workflows: type: array - items: &289 + items: &291 title: Workflow description: A GitHub Actions workflow type: object @@ -43043,9 +43084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *237 - - *238 - - &290 + - *239 + - *240 + - &292 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -43060,7 +43101,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -43093,9 +43134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43120,9 +43161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43173,9 +43214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43200,19 +43241,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *237 - - *238 - - *290 - - *291 + - *239 + - *240 - *292 - *293 - *294 - - *18 - - *20 - *295 - - *274 - *296 + - *18 + - *20 - *297 + - *276 + - *298 + - *299 responses: '200': description: Response @@ -43228,9 +43269,9 @@ paths: type: integer workflow_runs: type: array - items: *275 + items: *277 examples: - default: *298 + default: *300 headers: Link: *39 x-github: @@ -43256,9 +43297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '200': description: Response @@ -43319,8 +43360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *237 - - *238 + - *239 + - *240 - *42 - *18 - *43 @@ -43484,8 +43525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -43522,8 +43563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *237 - - *238 + - *239 + - *240 - name: assignee in: path required: true @@ -43559,8 +43600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -43672,8 +43713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *43 - *44 @@ -43717,7 +43758,7 @@ paths: repository_id: type: integer examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43737,8 +43778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -43746,7 +43787,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Autolink reference description: An autolink reference. type: object @@ -43796,8 +43837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -43836,9 +43877,9 @@ paths: description: response content: application/json: - schema: *300 + schema: *302 examples: - default: &301 + default: &303 value: id: 1 key_prefix: TICKET- @@ -43869,9 +43910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *237 - - *238 - - &302 + - *239 + - *240 + - &304 name: autolink_id description: The unique identifier of the autolink. in: path @@ -43883,9 +43924,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 '404': *7 x-github: githubCloudOnly: false @@ -43905,9 +43946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *237 - - *238 - - *302 + - *239 + - *240 + - *304 responses: '204': description: Response @@ -43931,8 +43972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response if Dependabot is enabled @@ -43980,8 +44021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -44002,8 +44043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -44023,8 +44064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *237 - - *238 + - *239 + - *240 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -44062,7 +44103,7 @@ paths: - url protected: type: boolean - protection: &304 + protection: &306 title: Branch Protection description: Branch Protection type: object @@ -44104,7 +44145,7 @@ paths: required: - contexts - checks - enforce_admins: &307 + enforce_admins: &309 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -44119,7 +44160,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &309 + required_pull_request_reviews: &311 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -44195,7 +44236,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &306 + restrictions: &308 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -44502,9 +44543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *237 - - *238 - - &305 + - *239 + - *240 + - &307 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -44518,14 +44559,14 @@ paths: description: Response content: application/json: - schema: &315 + schema: &317 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &365 + commit: &367 title: Commit description: Commit type: object @@ -44559,7 +44600,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &303 + properties: &305 name: type: string example: '"Chris Wanstrath"' @@ -44574,7 +44615,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true message: type: string @@ -44595,7 +44636,7 @@ paths: required: - sha - url - verification: &417 + verification: &419 title: Verification type: object properties: @@ -44661,7 +44702,7 @@ paths: type: integer files: type: array - items: &380 + items: &382 title: Diff Entry description: Diff Entry type: object @@ -44744,7 +44785,7 @@ paths: - self protected: type: boolean - protection: *304 + protection: *306 protection_url: type: string format: uri @@ -44850,7 +44891,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *249 + '301': *251 '404': *7 x-github: githubCloudOnly: false @@ -44872,15 +44913,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -45074,9 +45115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -45331,7 +45372,7 @@ paths: url: type: string format: uri - required_status_checks: &312 + required_status_checks: &314 title: Status Check Policy description: Status Check Policy type: object @@ -45483,7 +45524,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *306 + restrictions: *308 required_conversation_resolution: type: object properties: @@ -45595,9 +45636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45622,17 +45663,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &308 + default: &310 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -45654,17 +45695,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45683,9 +45724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45710,17 +45751,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -45816,9 +45857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -45916,9 +45957,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 '422': *16 x-github: githubCloudOnly: false @@ -45939,9 +45980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45968,17 +46009,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &311 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -46001,17 +46042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *311 + default: *313 '404': *7 x-github: githubCloudOnly: false @@ -46031,9 +46072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46058,17 +46099,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &313 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -46094,9 +46135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46148,9 +46189,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *7 '422': *16 x-github: @@ -46172,9 +46213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46198,9 +46239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46234,9 +46275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46303,9 +46344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46369,9 +46410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: content: application/json: @@ -46437,15 +46478,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -46536,9 +46577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46561,9 +46602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46573,7 +46614,7 @@ paths: type: array items: *6 examples: - default: &314 + default: &316 value: - id: 1 slug: octoapp @@ -46630,9 +46671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46666,7 +46707,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46687,9 +46728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46723,7 +46764,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46744,9 +46785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46780,7 +46821,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46802,9 +46843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46834,9 +46875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46895,9 +46936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46956,9 +46997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: content: application/json: @@ -47017,9 +47058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -47053,9 +47094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47113,9 +47154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47173,9 +47214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47235,9 +47276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47259,7 +47300,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -47374,8 +47415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -47654,7 +47695,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &319 title: CheckRun description: A check performed on the code of a given code change type: object @@ -47773,8 +47814,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *316 - deployment: &604 + items: *318 + deployment: &606 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -48054,9 +48095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *237 - - *238 - - &318 + - *239 + - *240 + - &320 name: check_run_id description: The unique identifier of the check run. in: path @@ -48068,9 +48109,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &319 + default: &321 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -48170,9 +48211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 requestBody: required: true content: @@ -48412,9 +48453,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *319 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48434,9 +48475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 - *18 - *20 responses: @@ -48533,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 responses: '201': description: Response @@ -48579,8 +48620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -48602,7 +48643,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &322 + schema: &324 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -48665,7 +48706,7 @@ paths: nullable: true pull_requests: type: array - items: *316 + items: *318 nullable: true app: title: GitHub app @@ -48687,12 +48728,12 @@ paths: type: string format: date-time nullable: true - head_commit: &630 + head_commit: &632 title: Simple Commit description: A commit. type: object - properties: *320 - required: *321 + properties: *322 + required: *323 latest_check_runs_count: type: integer check_runs_url: @@ -48720,7 +48761,7 @@ paths: - check_runs_url - pull_requests examples: - default: &323 + default: &325 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -49011,9 +49052,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49032,8 +49073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -49342,9 +49383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *237 - - *238 - - &324 + - *239 + - *240 + - &326 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -49356,9 +49397,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49381,17 +49422,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *237 - - *238 - - *324 - - &373 + - *239 + - *240 + - *326 + - &375 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &374 + - &376 name: status description: Returns check runs with the specified `status`. in: query @@ -49430,9 +49471,9 @@ paths: type: integer check_runs: type: array - items: *317 + items: *319 examples: - default: &375 + default: &377 value: total_count: 1 check_runs: @@ -49534,9 +49575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *237 - - *238 - - *324 + - *239 + - *240 + - *326 responses: '201': description: Response @@ -49569,21 +49610,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *237 - - *238 - - *325 - - *326 + - *239 + - *240 + - *327 + - *328 - *20 - *18 - - &339 + - &341 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *327 - - &340 + schema: *329 + - &342 name: pr description: The number of the pull request for the results you want to list. in: query @@ -49608,13 +49649,13 @@ paths: be returned. in: query required: false - schema: *328 + schema: *330 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *329 + schema: *331 responses: '200': description: Response @@ -49630,7 +49671,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: *330 + instances_url: *332 state: *129 fixed_at: *125 dismissed_by: @@ -49641,11 +49682,11 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: *331 - dismissed_comment: *332 - rule: *333 - tool: *334 - most_recent_instance: *335 + dismissed_reason: *333 + dismissed_comment: *334 + rule: *335 + tool: *336 + most_recent_instance: *337 required: - number - created_at @@ -49761,7 +49802,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &336 + '403': &338 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -49788,9 +49829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *237 - - *238 - - &337 + - *239 + - *240 + - &339 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -49804,7 +49845,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 type: object properties: number: *48 @@ -49812,7 +49853,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: *330 + instances_url: *332 state: *129 fixed_at: *125 dismissed_by: @@ -49823,8 +49864,8 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *333 + dismissed_comment: *334 rule: type: object properties: @@ -49878,8 +49919,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *334 - most_recent_instance: *335 + tool: *336 + most_recent_instance: *337 required: - number - created_at @@ -49968,7 +50009,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -49988,9 +50029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 requestBody: required: true content: @@ -50005,8 +50046,8 @@ paths: enum: - open - dismissed - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *333 + dismissed_comment: *334 required: - state examples: @@ -50021,7 +50062,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -50096,7 +50137,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &345 + '403': &347 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -50123,13 +50164,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 - *20 - *18 - - *339 - - *340 + - *341 + - *342 responses: '200': description: Response @@ -50137,7 +50178,7 @@ paths: application/json: schema: type: array - items: *335 + items: *337 examples: default: value: @@ -50176,7 +50217,7 @@ paths: end_column: 50 classifications: - source - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50210,25 +50251,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *237 - - *238 - - *325 - - *326 + - *239 + - *240 + - *327 + - *328 - *20 - *18 - - *340 + - *342 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *327 + schema: *329 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &343 + schema: &345 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -50249,23 +50290,23 @@ paths: application/json: schema: type: array - items: &344 + items: &346 type: object properties: - ref: *327 - commit_sha: &353 + ref: *329 + commit_sha: &355 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *341 + analysis_key: *343 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *342 + category: *344 error: type: string example: error reading field xyz @@ -50289,8 +50330,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *343 - tool: *334 + sarif_id: *345 + tool: *336 deletable: type: boolean warning: @@ -50351,7 +50392,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50387,8 +50428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -50401,7 +50442,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: response: summary: application/json response @@ -50455,7 +50496,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50537,8 +50578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -50591,7 +50632,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *345 + '403': *347 '404': *7 '503': *60 x-github: @@ -50613,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -50622,7 +50663,7 @@ paths: application/json: schema: type: array - items: &346 + items: &348 title: CodeQL Database description: A CodeQL database. type: object @@ -50733,7 +50774,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50762,8 +50803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: language in: path description: The language of the CodeQL database. @@ -50775,7 +50816,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -50807,9 +50848,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &382 + '302': &384 description: Found - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50837,8 +50878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -50847,7 +50888,7 @@ paths: type: object additionalProperties: false properties: - language: &347 + language: &349 type: string description: The language targeted by the CodeQL query enum: @@ -50925,7 +50966,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &351 + schema: &353 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -50935,7 +50976,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *347 + query_language: *349 query_pack_url: type: string description: The download url for the query pack. @@ -50982,7 +51023,7 @@ paths: items: type: object properties: - repository: &348 + repository: &350 title: Repository Identifier description: Repository Identifier type: object @@ -51018,7 +51059,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &352 + analysis_status: &354 type: string description: The new status of the CodeQL variant analysis repository task. @@ -51050,7 +51091,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &349 + access_mismatch_repos: &351 type: object properties: repository_count: @@ -51064,7 +51105,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *348 + items: *350 required: - repository_count - repositories @@ -51086,8 +51127,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *349 - over_limit_repos: *349 + no_codeql_db_repos: *351 + over_limit_repos: *351 required: - access_mismatch_repos - not_found_repos @@ -51103,7 +51144,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &350 + value: &352 summary: Default response value: id: 1 @@ -51255,10 +51296,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *350 + value: *352 repository_lists: summary: Response for a successful variant analysis submission - value: *350 + value: *352 '404': *7 '422': description: Unable to process variant analysis submission @@ -51286,8 +51327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *237 - - *238 + - *239 + - *240 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -51299,9 +51340,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *350 + default: *352 '404': *7 '503': *60 x-github: @@ -51324,7 +51365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *237 + - *239 - name: repo in: path description: The name of the controller repository. @@ -51359,7 +51400,7 @@ paths: type: object properties: repository: *52 - analysis_status: *352 + analysis_status: *354 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -51484,8 +51525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -51546,7 +51587,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -51567,8 +51608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -51638,7 +51679,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *345 + '403': *347 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -51703,8 +51744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -51712,7 +51753,7 @@ paths: schema: type: object properties: - commit_sha: *353 + commit_sha: *355 ref: type: string description: |- @@ -51770,7 +51811,7 @@ paths: schema: type: object properties: - id: *343 + id: *345 url: type: string description: The REST API URL for checking the status of the upload. @@ -51784,7 +51825,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *345 + '403': *347 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -51807,8 +51848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *237 - - *238 + - *239 + - *240 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -51854,7 +51895,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *336 + '403': *338 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -51879,8 +51920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -51957,8 +51998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -52078,8 +52119,8 @@ paths: parameters: - *18 - *20 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -52393,8 +52434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -52459,7 +52500,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -52467,7 +52508,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '400': *15 '401': *25 '403': *29 @@ -52496,8 +52537,8 @@ paths: parameters: - *18 - *20 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -52561,8 +52602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -52597,14 +52638,14 @@ paths: type: integer machines: type: array - items: &561 + items: &563 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *355 - required: *356 + properties: *357 + required: *358 examples: - default: &562 + default: &564 value: total_count: 2 machines: @@ -52644,8 +52685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -52729,8 +52770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -52796,8 +52837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -52815,7 +52856,7 @@ paths: type: integer secrets: type: array - items: &360 + items: &362 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -52835,7 +52876,7 @@ paths: - created_at - updated_at examples: - default: *357 + default: *359 headers: Link: *39 x-github: @@ -52858,16 +52899,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52887,17 +52928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52917,8 +52958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -52971,8 +53012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -53001,8 +53042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *237 - - *238 + - *239 + - *240 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -53044,7 +53085,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &362 + properties: &364 login: type: string example: octocat @@ -53137,7 +53178,7 @@ paths: user_view_type: type: string example: public - required: &363 + required: &365 - avatar_url - events_url - followers_url @@ -53211,8 +53252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '204': @@ -53255,8 +53296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 requestBody: required: false @@ -53283,7 +53324,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &430 + schema: &432 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -53505,8 +53546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '204': @@ -53536,8 +53577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '200': @@ -53558,8 +53599,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *362 - required: *363 + properties: *364 + required: *365 nullable: true required: - permission @@ -53614,8 +53655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -53625,7 +53666,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Commit Comment description: Commit Comment type: object @@ -53683,7 +53724,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &369 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -53742,17 +53783,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &368 + default: &370 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -53809,8 +53850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -53833,7 +53874,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: default: value: @@ -53884,8 +53925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -53907,8 +53948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -53935,9 +53976,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -53958,8 +53999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -53992,16 +54033,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -54023,10 +54064,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -54074,8 +54115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *237 - - *238 + - *239 + - *240 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -54131,9 +54172,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: &481 + default: &483 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -54226,9 +54267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *237 - - *238 - - &366 + - *239 + - *240 + - &368 name: commit_sha description: The SHA of the commit. in: path @@ -54300,9 +54341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 - *18 - *20 responses: @@ -54312,9 +54353,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *367 + default: *369 headers: Link: *39 x-github: @@ -54342,9 +54383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 requestBody: required: true content: @@ -54379,9 +54420,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *368 + default: *370 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54409,9 +54450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 - *18 - *20 responses: @@ -54421,7 +54462,7 @@ paths: application/json: schema: type: array - items: &471 + items: &473 title: Pull Request Simple description: Pull Request Simple type: object @@ -54527,8 +54568,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true active_lock_reason: type: string @@ -54624,7 +54665,7 @@ paths: _links: type: object properties: - comments: &371 + comments: &373 title: Link description: Hypermedia Link type: object @@ -54633,13 +54674,13 @@ paths: type: string required: - href - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + commits: *373 + statuses: *373 + html: *373 + issue: *373 + review_comments: *373 + review_comment: *373 + self: *373 required: - comments - commits @@ -54650,7 +54691,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &474 + auto_merge: &476 title: Auto merge description: The status of auto merging a pull request. type: object @@ -54713,7 +54754,7 @@ paths: - author_association - auto_merge examples: - default: &472 + default: &474 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -55249,11 +55290,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 - - &372 + - &374 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -55268,9 +55309,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &458 + default: &460 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55382,11 +55423,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *237 - - *238 - - *372 - - *373 + - *239 + - *240 - *374 + - *375 + - *376 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -55420,9 +55461,9 @@ paths: type: integer check_runs: type: array - items: *317 + items: *319 examples: - default: *375 + default: *377 headers: Link: *39 x-github: @@ -55447,9 +55488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -55457,7 +55498,7 @@ paths: schema: type: integer example: 1 - - *373 + - *375 - *18 - *20 responses: @@ -55475,7 +55516,7 @@ paths: type: integer check_suites: type: array - items: *322 + items: *324 examples: default: value: @@ -55675,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - *18 - *20 responses: @@ -55875,9 +55916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - *18 - *20 responses: @@ -55887,7 +55928,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Status description: The status of a commit. type: object @@ -55968,7 +56009,7 @@ paths: site_admin: false headers: Link: *39 - '301': *249 + '301': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55996,8 +56037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -56026,20 +56067,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *376 - required: *377 + properties: *378 + required: *379 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &378 + properties: &380 url: type: string format: uri html_url: type: string format: uri - required: &379 + required: &381 - url - html_url nullable: true @@ -56053,26 +56094,26 @@ paths: contributing: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true readme: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true issue_template: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true pull_request_template: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true required: - code_of_conduct @@ -56198,8 +56239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 - name: basehead @@ -56242,8 +56283,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *365 - merge_base_commit: *365 + base_commit: *367 + merge_base_commit: *367 status: type: string enum: @@ -56263,10 +56304,10 @@ paths: example: 6 commits: type: array - items: *365 + items: *367 files: type: array - items: *380 + items: *382 required: - url - html_url @@ -56549,8 +56590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -56691,7 +56732,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &381 + response-if-content-is-a-file: &383 summary: Response if content is a file value: type: file @@ -56823,7 +56864,7 @@ paths: - size - type - url - - &486 + - &488 title: Content File description: Content File type: object @@ -57024,7 +57065,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *381 + response-if-content-is-a-file: *383 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -57093,7 +57134,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *382 + '302': *384 '304': *37 x-github: githubCloudOnly: false @@ -57116,8 +57157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -57210,7 +57251,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: File Commit description: File Commit type: object @@ -57358,7 +57399,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: example-for-creating-a-file: value: @@ -57411,7 +57452,7 @@ paths: schema: oneOf: - *3 - - &412 + - &414 description: Repository rule violation was detected type: object properties: @@ -57432,7 +57473,7 @@ paths: items: type: object properties: - placeholder_id: &528 + placeholder_id: &530 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -57464,8 +57505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -57526,7 +57567,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -57580,8 +57621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *237 - - *238 + - *239 + - *240 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -57704,8 +57745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *139 - *140 - *141 @@ -57746,7 +57787,7 @@ paths: application/json: schema: type: array - items: &386 + items: &388 type: object description: A Dependabot alert. properties: @@ -57779,7 +57820,7 @@ paths: enum: - development - runtime - security_advisory: *384 + security_advisory: *386 security_vulnerability: *47 url: *50 html_url: *51 @@ -57810,7 +57851,7 @@ paths: nullable: true maxLength: 280 fixed_at: *125 - auto_dismissed_at: *385 + auto_dismissed_at: *387 required: - number - state @@ -58037,9 +58078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *237 - - *238 - - &387 + - *239 + - *240 + - &389 name: alert_number in: path description: |- @@ -58054,7 +58095,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -58164,9 +58205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *237 - - *238 - - *387 + - *239 + - *240 + - *389 requestBody: required: true content: @@ -58211,7 +58252,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -58340,8 +58381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -58359,7 +58400,7 @@ paths: type: integer secrets: type: array - items: &390 + items: &392 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -58412,16 +58453,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58441,15 +58482,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *390 + schema: *392 examples: default: value: @@ -58475,8 +58516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -58529,8 +58570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -58553,8 +58594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *237 - - *238 + - *239 + - *240 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -58714,8 +58755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -58918,8 +58959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -58994,7 +59035,7 @@ paths: - version - url additionalProperties: false - metadata: &391 + metadata: &393 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -59027,7 +59068,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *391 + metadata: *393 resolved: type: object description: A collection of resolved package dependencies. @@ -59040,7 +59081,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *391 + metadata: *393 relationship: type: string description: A notation of whether a dependency is requested @@ -59169,8 +59210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *237 - - *238 + - *239 + - *240 - name: sha description: The SHA recorded at creation time. in: query @@ -59210,9 +59251,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 headers: Link: *39 x-github: @@ -59278,8 +59319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -59360,7 +59401,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: simple-example: summary: Simple example @@ -59433,9 +59474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *237 - - *238 - - &394 + - *239 + - *240 + - &396 name: deployment_id description: deployment_id parameter in: path @@ -59447,7 +59488,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -59512,9 +59553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 responses: '204': description: Response @@ -59536,9 +59577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 - *18 - *20 responses: @@ -59548,7 +59589,7 @@ paths: application/json: schema: type: array - items: &395 + items: &397 title: Deployment Status description: The status of a deployment. type: object @@ -59709,9 +59750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 requestBody: required: true content: @@ -59786,9 +59827,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &396 + default: &398 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -59844,9 +59885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 - name: status_id in: path required: true @@ -59857,9 +59898,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 '404': *7 x-github: githubCloudOnly: false @@ -59884,8 +59925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -59941,8 +59982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -59959,7 +60000,7 @@ paths: type: integer environments: type: array - items: &398 + items: &400 title: Environment description: Details of a deployment environment type: object @@ -60011,7 +60052,7 @@ paths: type: type: string example: wait_timer - wait_timer: &400 + wait_timer: &402 type: integer example: 30 description: The amount of time to delay a job after @@ -60048,7 +60089,7 @@ paths: items: type: object properties: - type: *397 + type: *399 reviewer: anyOf: - *19 @@ -60072,7 +60113,7 @@ paths: - id - node_id - type - deployment_branch_policy: &401 + deployment_branch_policy: &403 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -60188,9 +60229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *237 - - *238 - - &399 + - *239 + - *240 + - &401 name: environment_name in: path required: true @@ -60203,9 +60244,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &402 + default: &404 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -60289,9 +60330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: false content: @@ -60300,7 +60341,7 @@ paths: type: object nullable: true properties: - wait_timer: *400 + wait_timer: *402 prevent_self_review: type: boolean example: false @@ -60317,13 +60358,13 @@ paths: items: type: object properties: - type: *397 + type: *399 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *401 + deployment_branch_policy: *403 additionalProperties: false examples: default: @@ -60343,9 +60384,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *402 + default: *404 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -60369,9 +60410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 responses: '204': description: Default response @@ -60396,9 +60437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *18 - *20 responses: @@ -60416,7 +60457,7 @@ paths: example: 2 branch_policies: type: array - items: &403 + items: &405 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -60473,9 +60514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: true content: @@ -60521,9 +60562,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - example-wildcard: &404 + example-wildcard: &406 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -60565,10 +60606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - &405 + - *239 + - *240 + - *401 + - &407 name: branch_policy_id in: path required: true @@ -60580,9 +60621,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60601,10 +60642,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - *405 + - *239 + - *240 + - *401 + - *407 requestBody: required: true content: @@ -60632,9 +60673,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60653,10 +60694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - *405 + - *239 + - *240 + - *401 + - *407 responses: '204': description: Response @@ -60681,9 +60722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 responses: '200': description: List of deployment protection rules @@ -60699,7 +60740,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &406 + items: &408 title: Deployment protection rule description: Deployment protection rule type: object @@ -60718,7 +60759,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &407 + app: &409 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -60817,9 +60858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 requestBody: content: application/json: @@ -60840,9 +60881,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *406 + schema: *408 examples: - default: &408 + default: &410 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -60877,9 +60918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 - *20 - *18 responses: @@ -60898,7 +60939,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *407 + items: *409 examples: default: value: @@ -60933,10 +60974,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *237 - - *238 - - *399 - - &409 + - *239 + - *240 + - *401 + - &411 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -60948,9 +60989,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60971,10 +61012,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *399 - - *238 - - *237 - - *409 + - *401 + - *240 + - *239 + - *411 responses: '204': description: Response @@ -61000,9 +61041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *18 - *20 responses: @@ -61020,9 +61061,9 @@ paths: type: integer secrets: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 headers: Link: *39 x-github: @@ -61047,17 +61088,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 responses: '200': description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61079,18 +61120,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61112,9 +61153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 requestBody: required: true @@ -61172,9 +61213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 responses: '204': @@ -61200,10 +61241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *237 - - *238 - - *399 - - *259 + - *239 + - *240 + - *401 + - *261 - *20 responses: '200': @@ -61220,9 +61261,9 @@ paths: type: integer variables: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: Link: *39 x-github: @@ -61245,9 +61286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: true content: @@ -61299,18 +61340,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *121 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61331,10 +61372,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 - - *399 + - *401 requestBody: required: true content: @@ -61376,10 +61417,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 - - *399 + - *401 responses: '204': description: Response @@ -61401,8 +61442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -61479,8 +61520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *237 - - *238 + - *239 + - *240 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -61639,8 +61680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -61672,9 +61713,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 '400': *15 '422': *16 '403': *29 @@ -61695,8 +61736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -61756,7 +61797,7 @@ paths: schema: oneOf: - *94 - - *412 + - *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61781,8 +61822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *237 - - *238 + - *239 + - *240 - name: file_sha in: path required: true @@ -61880,8 +61921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -61990,7 +62031,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &415 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -62198,15 +62239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -62261,9 +62302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *237 - - *238 - - &414 + - *239 + - *240 + - &416 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -62280,7 +62321,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Git Reference description: Git references within a repository type: object @@ -62355,17 +62396,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &416 + default: &418 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -62394,8 +62435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62424,9 +62465,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -62452,9 +62493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 requestBody: required: true content: @@ -62483,9 +62524,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '422': *16 '409': *131 x-github: @@ -62503,9 +62544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 responses: '204': description: Response @@ -62557,8 +62598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62625,7 +62666,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: Git Tag description: Metadata for a Git tag type: object @@ -62676,7 +62717,7 @@ paths: - sha - type - url - verification: *417 + verification: *419 required: - sha - url @@ -62686,7 +62727,7 @@ paths: - tag - message examples: - default: &419 + default: &421 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -62757,8 +62798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *237 - - *238 + - *239 + - *240 - name: tag_sha in: path required: true @@ -62769,9 +62810,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *7 '409': *131 x-github: @@ -62795,8 +62836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62869,7 +62910,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &422 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -62981,8 +63022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *237 - - *238 + - *239 + - *240 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -63005,7 +63046,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: default-response: summary: Default response @@ -63064,8 +63105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -63075,7 +63116,7 @@ paths: application/json: schema: type: array - items: &421 + items: &423 title: Webhook description: Webhooks for repositories. type: object @@ -63129,7 +63170,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &638 + last_response: &640 title: Hook Response type: object properties: @@ -63203,8 +63244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -63256,9 +63297,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &422 + default: &424 value: type: Repository id: 12345678 @@ -63306,17 +63347,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '404': *7 x-github: githubCloudOnly: false @@ -63336,8 +63377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 requestBody: required: true @@ -63383,9 +63424,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '422': *16 '404': *7 x-github: @@ -63403,8 +63444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63429,8 +63470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '200': @@ -63458,8 +63499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *154 requestBody: required: false @@ -63504,8 +63545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *18 - *155 @@ -63542,8 +63583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *17 responses: @@ -63572,8 +63613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *17 responses: @@ -63597,8 +63638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63624,8 +63665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63684,14 +63725,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &423 + schema: &425 title: Import description: A repository import from an external source. type: object @@ -63790,7 +63831,7 @@ paths: - html_url - authors_url examples: - default: &426 + default: &428 value: vcs: subversion use_lfs: true @@ -63806,7 +63847,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &424 + '503': &426 description: Unavailable due to service under maintenance. content: application/json: @@ -63835,8 +63876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -63884,7 +63925,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: default: value: @@ -63909,7 +63950,7 @@ paths: type: string '422': *16 '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63937,8 +63978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -63987,7 +64028,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: example-1: summary: Example 1 @@ -64035,7 +64076,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64058,12 +64099,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64089,9 +64130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *237 - - *238 - - &585 + - *239 + - *240 + - &587 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -64105,7 +64146,7 @@ paths: application/json: schema: type: array - items: &425 + items: &427 title: Porter Author description: Porter Author type: object @@ -64159,7 +64200,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,8 +64225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *237 - - *238 + - *239 + - *240 - name: author_id in: path required: true @@ -64215,7 +64256,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: default: value: @@ -64228,7 +64269,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64252,8 +64293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64294,7 +64335,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64322,8 +64363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -64350,11 +64391,11 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: *426 + default: *428 '422': *16 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,8 +64418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64386,8 +64427,8 @@ paths: application/json: schema: *22 examples: - default: *427 - '301': *249 + default: *429 + '301': *251 '404': *7 x-github: githubCloudOnly: false @@ -64407,8 +64448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64421,7 +64462,7 @@ paths: properties: {} additionalProperties: false examples: - default: &429 + default: &431 value: limit: collaborators_only origin: repository @@ -64446,13 +64487,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: application/json: - schema: *428 + schema: *430 examples: default: summary: Example request body @@ -64466,7 +64507,7 @@ paths: application/json: schema: *161 examples: - default: *429 + default: *431 '409': description: Response x-github: @@ -64488,8 +64529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -64512,8 +64553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -64523,9 +64564,9 @@ paths: application/json: schema: type: array - items: *430 + items: *432 examples: - default: &578 + default: &580 value: - id: 1 repository: @@ -64656,8 +64697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *237 - - *238 + - *239 + - *240 - *165 requestBody: required: false @@ -64687,7 +64728,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -64818,8 +64859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *237 - - *238 + - *239 + - *240 - *165 responses: '204': @@ -64851,8 +64892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *237 - - *238 + - *239 + - *240 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -65065,7 +65106,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *249 + '301': *251 '422': *16 '404': *7 x-github: @@ -65094,8 +65135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -65172,7 +65213,7 @@ paths: application/json: schema: *72 examples: - default: &436 + default: &438 value: id: 1 node_id: MDU6SXNzdWUx @@ -65328,7 +65369,7 @@ paths: '422': *16 '503': *60 '404': *7 - '410': *246 + '410': *248 x-github: triggersNotification: true githubCloudOnly: false @@ -65356,8 +65397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *82 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -65378,9 +65419,9 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: &438 + default: &440 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -65438,17 +65479,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: &432 + default: &434 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -65502,8 +65543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -65526,9 +65567,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 '422': *16 x-github: githubCloudOnly: false @@ -65546,8 +65587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -65568,8 +65609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65596,9 +65637,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -65619,8 +65660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -65653,16 +65694,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -65684,10 +65725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -65707,8 +65748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -65718,7 +65759,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Issue Event description: Issue Event type: object @@ -65761,8 +65802,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *433 - required: *434 + properties: *435 + required: *436 nullable: true label: title: Issue Event Label @@ -66069,8 +66110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *237 - - *238 + - *239 + - *240 - name: event_id in: path required: true @@ -66081,7 +66122,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: default: value: @@ -66274,7 +66315,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *246 + '410': *248 '403': *29 x-github: githubCloudOnly: false @@ -66308,9 +66349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *237 - - *238 - - &437 + - *239 + - *240 + - &439 name: issue_number description: The number that identifies the issue. in: path @@ -66324,10 +66365,10 @@ paths: application/json: schema: *72 examples: - default: *436 - '301': *249 + default: *438 + '301': *251 '404': *7 - '410': *246 + '410': *248 '304': *37 x-github: githubCloudOnly: false @@ -66352,9 +66393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -66451,13 +66492,13 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 '422': *16 '503': *60 '403': *29 - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66475,9 +66516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -66505,7 +66546,7 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66521,9 +66562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: content: application/json: @@ -66550,7 +66591,7 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66572,9 +66613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: assignee in: path required: true @@ -66614,9 +66655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *62 - *18 - *20 @@ -66627,13 +66668,13 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: *438 + default: *440 headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66662,9 +66703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: true content: @@ -66686,16 +66727,16 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *246 + '410': *248 '422': *16 '404': *7 x-github: @@ -66715,9 +66756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -66731,7 +66772,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &441 + - &443 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -66785,7 +66826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &444 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -66921,7 +66962,7 @@ paths: - performed_via_github_app - assignee - assigner - - &443 + - &445 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -66972,7 +67013,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &446 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -67023,7 +67064,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &447 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -67077,7 +67118,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &448 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -67124,7 +67165,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &449 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -67171,7 +67212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &450 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -67231,7 +67272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &451 title: Locked Issue Event description: Locked Issue Event type: object @@ -67279,7 +67320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &452 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -67345,7 +67386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &453 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -67411,7 +67452,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &454 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -67477,7 +67518,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &455 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -67568,7 +67609,7 @@ paths: color: red headers: Link: *39 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67585,9 +67626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -67597,7 +67638,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -67644,7 +67685,7 @@ paths: - color - default examples: - default: &440 + default: &442 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -67662,9 +67703,9 @@ paths: default: false headers: Link: *39 - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67681,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67742,12 +67783,12 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 - '301': *249 + default: *442 + '301': *251 '404': *7 - '410': *246 + '410': *248 '422': *16 x-github: githubCloudOnly: false @@ -67764,9 +67805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67826,12 +67867,12 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 - '301': *249 + default: *442 + '301': *251 '404': *7 - '410': *246 + '410': *248 '422': *16 x-github: githubCloudOnly: false @@ -67848,15 +67889,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 responses: '204': description: Response - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67875,9 +67916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: name in: path required: true @@ -67890,7 +67931,7 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: default: value: @@ -67901,9 +67942,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67923,9 +67964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67953,7 +67994,7 @@ paths: '204': description: Response '403': *29 - '410': *246 + '410': *248 '404': *7 '422': *16 x-github: @@ -67971,9 +68012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 responses: '204': description: Response @@ -67995,9 +68036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -68023,13 +68064,13 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68047,9 +68088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: true content: @@ -68081,16 +68122,16 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -68112,10 +68153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *237 - - *238 - - *437 - - *233 + - *239 + - *240 + - *439 + - *235 responses: '204': description: Response @@ -68135,9 +68176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -68152,8 +68193,6 @@ paths: description: Timeline Event type: object anyOf: - - *441 - - *442 - *443 - *444 - *445 @@ -68165,6 +68204,8 @@ paths: - *451 - *452 - *453 + - *454 + - *455 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -68465,7 +68506,7 @@ paths: type: string comments: type: array - items: &475 + items: &477 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -68674,7 +68715,7 @@ paths: type: string comments: type: array - items: *364 + items: *366 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -68963,7 +69004,7 @@ paths: headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68980,8 +69021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -68991,7 +69032,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -69053,8 +69094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69090,9 +69131,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 key: ssh-rsa AAA... @@ -69125,9 +69166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *237 - - *238 - - &456 + - *239 + - *240 + - &458 name: key_id description: The unique identifier of the key. in: path @@ -69139,9 +69180,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '404': *7 x-github: githubCloudOnly: false @@ -69159,9 +69200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *237 - - *238 - - *456 + - *239 + - *240 + - *458 responses: '204': description: Response @@ -69181,8 +69222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -69192,9 +69233,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *39 '404': *7 @@ -69215,8 +69256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69252,9 +69293,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &457 + default: &459 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69286,8 +69327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69298,9 +69339,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *457 + default: *459 '404': *7 x-github: githubCloudOnly: false @@ -69317,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69357,7 +69398,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -69383,8 +69424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69410,8 +69451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -69450,9 +69491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *237 - - *238 - - *339 + - *239 + - *240 + - *341 responses: '200': description: Response @@ -69597,8 +69638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69663,8 +69704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69698,9 +69739,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *365 + schema: *367 examples: - default: *458 + default: *460 '204': description: Response when already merged '404': @@ -69725,8 +69766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -69767,12 +69808,12 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 examples: default: value: @@ -69828,8 +69869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69869,9 +69910,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -69930,9 +69971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *237 - - *238 - - &461 + - *239 + - *240 + - &463 name: milestone_number description: The number that identifies the milestone. in: path @@ -69944,9 +69985,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *7 x-github: githubCloudOnly: false @@ -69963,9 +70004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 requestBody: required: false content: @@ -70003,9 +70044,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70021,9 +70062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 responses: '204': description: Response @@ -70044,9 +70085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 - *18 - *20 responses: @@ -70056,9 +70097,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *39 x-github: @@ -70077,12 +70118,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *237 - - *238 - - *462 - - *463 - - *62 + - *239 + - *240 - *464 + - *465 + - *62 + - *466 - *18 - *20 responses: @@ -70094,7 +70135,7 @@ paths: type: array items: *85 examples: - default: *465 + default: *467 headers: Link: *39 x-github: @@ -70118,8 +70159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -70177,14 +70218,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &466 + schema: &468 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -70309,7 +70350,7 @@ paths: - custom_404 - public examples: - default: &467 + default: &469 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -70350,8 +70391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70405,9 +70446,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '422': *16 '409': *131 x-github: @@ -70430,8 +70471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70530,8 +70571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -70557,8 +70598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -70568,7 +70609,7 @@ paths: application/json: schema: type: array - items: &468 + items: &470 title: Page Build description: Page Build type: object @@ -70662,8 +70703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -70708,16 +70749,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: &469 + default: &471 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -70765,8 +70806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *237 - - *238 + - *239 + - *240 - name: build_id in: path required: true @@ -70777,9 +70818,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70799,8 +70840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70906,9 +70947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *237 - - *238 - - &470 + - *239 + - *240 + - &472 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -70966,9 +71007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *237 - - *238 - - *470 + - *239 + - *240 + - *472 responses: '204': *134 '404': *7 @@ -70995,8 +71036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -71254,8 +71295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Private vulnerability reporting status @@ -71292,8 +71333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': *134 '422': *15 @@ -71314,8 +71355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': *134 '422': *15 @@ -71338,8 +71379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: Indicates the state of the projects to return. in: query @@ -71400,7 +71441,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -71420,8 +71461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71449,11 +71490,11 @@ paths: application/json: schema: *197 examples: - default: *245 + default: *247 '401': *25 '403': *29 '404': *7 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -71473,8 +71514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -71513,8 +71554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71576,8 +71617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -71637,9 +71678,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *472 + default: *474 headers: Link: *39 '304': *37 @@ -71671,8 +71712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71737,7 +71778,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -71848,8 +71889,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true active_lock_reason: type: string @@ -71894,7 +71935,7 @@ paths: nullable: true requested_teams: type: array - items: *473 + items: *475 nullable: true head: type: object @@ -72814,14 +72855,14 @@ paths: _links: type: object properties: - comments: *371 - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + comments: *373 + commits: *373 + statuses: *373 + html: *373 + issue: *373 + review_comments: *373 + review_comment: *373 + self: *373 required: - comments - commits @@ -72832,7 +72873,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *474 + auto_merge: *476 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -72924,7 +72965,7 @@ paths: - merged_by - review_comments examples: - default: &478 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73451,8 +73492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: sort in: query required: false @@ -73481,9 +73522,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: &480 + default: &482 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73560,17 +73601,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &476 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73645,8 +73686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -73669,9 +73710,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73687,8 +73728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -73710,8 +73751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -73738,9 +73779,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -73761,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -73795,16 +73836,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -73826,10 +73867,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -73872,9 +73913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *237 - - *238 - - &479 + - *239 + - *240 + - &481 name: pull_number description: The number that identifies the pull request. in: path @@ -73887,9 +73928,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 '304': *37 '404': *7 '406': @@ -73924,9 +73965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -73968,9 +74009,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 '422': *16 '403': *29 x-github: @@ -73992,9 +74033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -74056,7 +74097,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74064,7 +74105,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -74094,9 +74135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *82 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74117,9 +74158,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: *480 + default: *482 headers: Link: *39 x-github: @@ -74152,9 +74193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -74259,7 +74300,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: example-for-a-multi-line-comment: value: @@ -74347,9 +74388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *71 requestBody: required: true @@ -74372,7 +74413,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -74458,9 +74499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -74470,9 +74511,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *481 + default: *483 headers: Link: *39 x-github: @@ -74502,9 +74543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -74514,7 +74555,7 @@ paths: application/json: schema: type: array - items: *380 + items: *382 examples: default: value: @@ -74552,9 +74593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 responses: '204': description: Response if pull request has been merged @@ -74577,9 +74618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -74690,9 +74731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 responses: '200': description: Response @@ -74767,9 +74808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -74806,7 +74847,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -75342,9 +75383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -75378,7 +75419,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -75883,9 +75924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -75895,7 +75936,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76046,9 +76087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -76134,9 +76175,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: &484 + default: &486 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76199,10 +76240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - &483 + - *239 + - *240 + - *481 + - &485 name: review_id description: The unique identifier of the review. in: path @@ -76214,9 +76255,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: &485 + default: &487 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76275,10 +76316,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76301,7 +76342,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -76363,18 +76404,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *484 + default: *486 '422': *8 '404': *7 x-github: @@ -76401,10 +76442,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 - *18 - *20 responses: @@ -76487,9 +76528,9 @@ paths: _links: type: object properties: - self: *371 - html: *371 - pull_request: *371 + self: *373 + html: *373 + pull_request: *373 required: - self - html @@ -76632,10 +76673,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76663,7 +76704,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -76726,10 +76767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76764,9 +76805,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *485 + default: *487 '404': *7 '422': *8 '403': *29 @@ -76788,9 +76829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -76853,8 +76894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -76867,9 +76908,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: &487 + default: &489 value: type: file encoding: base64 @@ -76911,8 +76952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *237 - - *238 + - *239 + - *240 - name: dir description: The alternate path to look for a README file in: path @@ -76932,9 +76973,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 '404': *7 '422': *16 x-github: @@ -76956,8 +76997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -76967,7 +77008,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Release description: A release. type: object @@ -77030,7 +77071,7 @@ paths: author: *19 assets: type: array - items: &489 + items: &491 title: Release Asset description: Data related to a release. type: object @@ -77211,8 +77252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -77288,9 +77329,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &492 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -77391,9 +77432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *237 - - *238 - - &490 + - *239 + - *240 + - &492 name: asset_id description: The unique identifier of the asset. in: path @@ -77405,9 +77446,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &491 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -77441,7 +77482,7 @@ paths: type: User site_admin: false '404': *7 - '302': *382 + '302': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77457,9 +77498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *237 - - *238 - - *490 + - *239 + - *240 + - *492 requestBody: required: false content: @@ -77487,9 +77528,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77505,9 +77546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *237 - - *238 - - *490 + - *239 + - *240 + - *492 responses: '204': description: Response @@ -77531,8 +77572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -77617,16 +77658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77643,8 +77684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *237 - - *238 + - *239 + - *240 - name: tag description: tag parameter in: path @@ -77657,9 +77698,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '404': *7 x-github: githubCloudOnly: false @@ -77681,9 +77722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *237 - - *238 - - &493 + - *239 + - *240 + - &495 name: release_id description: The unique identifier of the release. in: path @@ -77697,9 +77738,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '401': description: Unauthorized x-github: @@ -77717,9 +77758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 requestBody: required: false content: @@ -77783,9 +77824,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '404': description: Not Found if the discussion category name is invalid content: @@ -77806,9 +77847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 responses: '204': description: Response @@ -77828,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - *18 - *20 responses: @@ -77840,7 +77881,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -77920,9 +77961,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - name: name in: query required: true @@ -77948,7 +77989,7 @@ paths: description: Response for successful upload content: application/json: - schema: *489 + schema: *491 examples: response-for-successful-upload: value: @@ -78002,9 +78043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -78028,9 +78069,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -78051,9 +78092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 requestBody: required: true content: @@ -78083,16 +78124,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -78114,10 +78155,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *237 - - *238 - - *493 - - *233 + - *239 + - *240 + - *495 + - *235 responses: '204': description: Response @@ -78141,9 +78182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 - *18 - *20 responses: @@ -78159,8 +78200,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *494 - - &496 + - *496 + - &498 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78179,54 +78220,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *495 - - *496 - allOf: - *497 - - *496 - - allOf: - *498 - - *496 - allOf: - *499 - - *496 + - *498 - allOf: - *500 - - *496 + - *498 - allOf: - *501 - - *496 + - *498 - allOf: - *502 - - *496 + - *498 - allOf: - *503 - - *496 + - *498 - allOf: - *504 - - *496 + - *498 - allOf: - *505 - - *496 + - *498 - allOf: - *506 - - *496 + - *498 - allOf: - *507 - - *496 + - *498 - allOf: - *508 - - *496 + - *498 - allOf: - *509 - - *496 + - *498 - allOf: - *510 - - *496 + - *498 - allOf: - *511 - - *496 + - *498 + - allOf: + - *512 + - *498 + - allOf: + - *513 + - *498 examples: default: value: @@ -78265,8 +78306,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - name: includes_parents @@ -78277,7 +78318,7 @@ paths: schema: type: boolean default: true - - *512 + - *514 responses: '200': description: Response @@ -78332,8 +78373,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 requestBody: description: Request body required: true @@ -78395,7 +78436,7 @@ paths: application/json: schema: *212 examples: - default: &522 + default: &524 value: id: 42 name: super cool ruleset @@ -78442,12 +78483,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *237 - - *238 - - *513 - - *514 + - *239 + - *240 - *515 - *516 + - *517 + - *518 - *18 - *20 responses: @@ -78455,9 +78496,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '404': *7 '500': *41 x-github: @@ -78478,17 +78519,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *237 - - *238 - - *519 + - *239 + - *240 + - *521 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *521 + default: *523 '404': *7 '500': *41 x-github: @@ -78516,8 +78557,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78539,7 +78580,7 @@ paths: application/json: schema: *212 examples: - default: *522 + default: *524 '404': *7 '500': *41 put: @@ -78557,8 +78598,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78622,7 +78663,7 @@ paths: application/json: schema: *212 examples: - default: *522 + default: *524 '404': *7 '500': *41 delete: @@ -78640,8 +78681,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78669,8 +78710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *214 - *215 - *216 @@ -78678,9 +78719,11 @@ paths: - *42 - *20 - *18 - - *523 - - *524 + - *525 + - *526 - *218 + - *219 + - *220 responses: '200': description: Response @@ -78688,7 +78731,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 type: object properties: number: *48 @@ -78707,8 +78750,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *525 - resolution: *526 + state: *527 + resolution: *528 resolved_at: type: string format: date-time @@ -78762,6 +78805,15 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. + nullable: true examples: default: value: @@ -78818,6 +78870,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -78835,6 +78889,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '404': description: Repository is public or secret scanning is disabled for the repository @@ -78860,15 +78916,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -78889,6 +78945,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *37 '404': description: Repository is public, or secret scanning is disabled for the @@ -78914,9 +78972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 requestBody: required: true content: @@ -78924,8 +78982,8 @@ paths: schema: type: object properties: - state: *525 - resolution: *526 + state: *527 + resolution: *528 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -78943,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -78982,6 +79040,8 @@ paths: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false '400': description: Bad request, resolution comment is invalid or the resolution was not changed. @@ -79012,9 +79072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 - *20 - *18 responses: @@ -79025,7 +79085,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &659 + items: &661 type: object properties: type: @@ -79384,8 +79444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -79393,14 +79453,14 @@ paths: schema: type: object properties: - reason: &529 + reason: &531 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *528 + placeholder_id: *530 required: - reason - placeholder_id @@ -79417,7 +79477,7 @@ paths: schema: type: object properties: - reason: *529 + reason: *531 expire_at: type: string format: date-time @@ -79462,8 +79522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *237 - - *238 + - *239 + - *240 - *42 - name: sort description: The property to sort the results by. @@ -79507,9 +79567,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 '400': *15 '404': *7 x-github: @@ -79532,8 +79592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -79606,7 +79666,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 required: - login - type @@ -79693,9 +79753,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &533 + default: &535 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -79928,8 +79988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -80033,7 +80093,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -80180,17 +80240,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *533 + default: *535 '403': *29 '404': *7 x-github: @@ -80214,9 +80274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 requestBody: required: true content: @@ -80289,7 +80349,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 required: - login - type @@ -80375,10 +80435,10 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *533 - add_credit: *533 + default: *535 + add_credit: *535 '403': *29 '404': *7 '422': @@ -80416,9 +80476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '202': *96 '400': *15 @@ -80445,17 +80505,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '202': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 '400': *15 '422': *16 '403': *29 @@ -80481,8 +80541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -80581,8 +80641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -80591,7 +80651,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -80624,8 +80684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -80701,8 +80761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -80798,8 +80858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -80953,8 +81013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -80964,7 +81024,7 @@ paths: application/json: schema: type: array - items: *534 + items: *536 examples: default: value: @@ -80997,8 +81057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *237 - - *238 + - *239 + - *240 - name: sha in: path required: true @@ -81052,7 +81112,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: default: value: @@ -81106,8 +81166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81139,14 +81199,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &536 + schema: &538 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81214,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -81241,7 +81301,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: default: value: @@ -81268,8 +81328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -81289,8 +81349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81369,8 +81429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81378,7 +81438,7 @@ paths: application/json: schema: type: array - items: &537 + items: &539 title: Tag protection description: Tag protection type: object @@ -81430,8 +81490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -81454,7 +81514,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -81485,8 +81545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -81523,8 +81583,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *237 - - *238 + - *239 + - *240 - name: ref in: path required: true @@ -81560,8 +81620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81593,8 +81653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 responses: @@ -81602,7 +81662,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &540 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81614,7 +81674,7 @@ paths: required: - names examples: - default: &539 + default: &541 value: names: - octocat @@ -81637,8 +81697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -81669,9 +81729,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: *539 + default: *541 '404': *7 '422': *8 x-github: @@ -81692,9 +81752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *237 - - *238 - - &540 + - *239 + - *240 + - &542 name: per description: The time frame to display results for. in: query @@ -81723,7 +81783,7 @@ paths: example: 128 clones: type: array - items: &541 + items: &543 title: Traffic type: object properties: @@ -81810,8 +81870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81901,8 +81961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81962,9 +82022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *237 - - *238 - - *540 + - *239 + - *240 + - *542 responses: '200': description: Response @@ -81983,7 +82043,7 @@ paths: example: 3782 views: type: array - items: *541 + items: *543 required: - uniques - count @@ -82060,8 +82120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -82335,8 +82395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82359,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -82382,8 +82442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -82409,8 +82469,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *237 - - *238 + - *239 + - *240 - name: ref in: path required: true @@ -82502,9 +82562,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82752,7 +82812,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &542 + text_matches: &544 title: Search Result Text Matches type: array items: @@ -82914,7 +82974,7 @@ paths: enum: - author-date - committer-date - - &543 + - &545 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -82985,7 +83045,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true comment_count: type: integer @@ -83005,7 +83065,7 @@ paths: url: type: string format: uri - verification: *417 + verification: *419 required: - author - committer @@ -83024,7 +83084,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true parents: type: array @@ -83042,7 +83102,7 @@ paths: type: number node_id: type: string - text_matches: *542 + text_matches: *544 required: - sha - node_id @@ -83234,7 +83294,7 @@ paths: - interactions - created - updated - - *543 + - *545 - *18 - *20 responses: @@ -83339,8 +83399,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true comments: type: integer @@ -83354,7 +83414,7 @@ paths: type: string format: date-time nullable: true - text_matches: *542 + text_matches: *544 pull_request: type: object properties: @@ -83578,7 +83638,7 @@ paths: enum: - created - updated - - *543 + - *545 - *18 - *20 responses: @@ -83622,7 +83682,7 @@ paths: nullable: true score: type: number - text_matches: *542 + text_matches: *544 required: - id - node_id @@ -83707,7 +83767,7 @@ paths: - forks - help-wanted-issues - updated - - *543 + - *545 - *18 - *20 responses: @@ -83946,7 +84006,7 @@ paths: - admin - pull - push - text_matches: *542 + text_matches: *544 temp_clone_token: type: string allow_merge_commit: @@ -84246,7 +84306,7 @@ paths: type: string format: uri nullable: true - text_matches: *542 + text_matches: *544 related: type: array nullable: true @@ -84437,7 +84497,7 @@ paths: - followers - repositories - joined - - *543 + - *545 - *18 - *20 responses: @@ -84541,7 +84601,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *542 + text_matches: *544 blog: type: string nullable: true @@ -84620,7 +84680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &544 + - &546 name: team_id description: The unique identifier of the team. in: path @@ -84632,9 +84692,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 x-github: githubCloudOnly: false @@ -84661,7 +84721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *544 + - *546 requestBody: required: true content: @@ -84724,16 +84784,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '201': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 '422': *16 '403': *29 @@ -84761,7 +84821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *544 + - *546 responses: '204': description: Response @@ -84792,7 +84852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *544 + - *546 - *42 - *18 - *20 @@ -84803,9 +84863,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *545 + default: *547 headers: Link: *39 x-github: @@ -84834,7 +84894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *544 + - *546 requestBody: required: true content: @@ -84868,9 +84928,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: triggersNotification: true githubCloudOnly: false @@ -84897,16 +84957,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84931,8 +84991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: false content: @@ -84955,9 +85015,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84982,8 +85042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 responses: '204': description: Response @@ -85012,8 +85072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *544 - - *226 + - *546 + - *228 - *42 - *18 - *20 @@ -85024,9 +85084,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *547 + default: *549 headers: Link: *39 x-github: @@ -85055,8 +85115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: true content: @@ -85078,9 +85138,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: triggersNotification: true githubCloudOnly: false @@ -85107,17 +85167,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85142,9 +85202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 requestBody: required: true content: @@ -85166,9 +85226,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85193,9 +85253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 responses: '204': description: Response @@ -85224,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -85252,9 +85312,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -85283,9 +85343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 requestBody: required: true content: @@ -85317,9 +85377,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,8 +85405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -85372,9 +85432,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -85403,8 +85463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: true content: @@ -85436,9 +85496,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85462,7 +85522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -85500,7 +85560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *544 + - *546 - name: role description: Filters members returned by their role in the team. in: query @@ -85551,7 +85611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85588,7 +85648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85628,7 +85688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85665,16 +85725,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 responses: '200': description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-user-is-a-team-maintainer: *549 + response-if-user-is-a-team-maintainer: *551 '404': *7 x-github: githubCloudOnly: false @@ -85707,7 +85767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 requestBody: required: false @@ -85733,9 +85793,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-users-membership-with-team-is-now-pending: *550 + response-if-users-membership-with-team-is-now-pending: *552 '403': description: Forbidden if team synchronization is set up '422': @@ -85769,7 +85829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85799,7 +85859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -85809,9 +85869,9 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: - default: *551 + default: *553 headers: Link: *39 '404': *7 @@ -85838,16 +85898,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *544 - - *236 + - *546 + - *238 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *552 + default: *554 '404': description: Not Found if project is not managed by this team x-github: @@ -85872,8 +85932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *544 - - *236 + - *546 + - *238 requestBody: required: false content: @@ -85941,8 +86001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *544 - - *236 + - *546 + - *238 responses: '204': description: Response @@ -85969,7 +86029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -86011,15 +86071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *553 + schema: *555 examples: alternative-response-with-extra-repository-information: value: @@ -86170,9 +86230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 requestBody: required: false content: @@ -86222,9 +86282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 responses: '204': description: Response @@ -86249,7 +86309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -86261,7 +86321,7 @@ paths: type: array items: *166 examples: - response-if-child-teams-exist: *554 + response-if-child-teams-exist: *556 headers: Link: *39 '404': *7 @@ -86294,7 +86354,7 @@ paths: application/json: schema: oneOf: - - &556 + - &558 title: Private User description: Private User type: object @@ -86497,7 +86557,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *555 + - *557 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -86650,7 +86710,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: default: value: @@ -86996,7 +87056,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87004,7 +87064,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -87048,7 +87108,7 @@ paths: type: integer secrets: type: array - items: &557 + items: &559 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -87088,7 +87148,7 @@ paths: - visibility - selected_repositories_url examples: - default: *357 + default: *359 headers: Link: *39 x-github: @@ -87164,7 +87224,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: default: value: @@ -87310,7 +87370,7 @@ paths: type: array items: *110 examples: - default: *558 + default: *560 '401': *25 '403': *29 '404': *7 @@ -87462,7 +87522,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '304': *37 '500': *41 '401': *25 @@ -87520,7 +87580,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -87577,7 +87637,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &561 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -87618,7 +87678,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &560 + default: &562 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -87663,9 +87723,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '404': *7 x-github: githubCloudOnly: false @@ -87702,9 +87762,9 @@ paths: type: integer machines: type: array - items: *561 + items: *563 examples: - default: *562 + default: *564 '304': *37 '500': *41 '401': *25 @@ -87783,13 +87843,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *248 + repository: *250 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *355 - required: *356 + properties: *357 + required: *358 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -88571,7 +88631,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '304': *37 '500': *41 '400': *15 @@ -88611,7 +88671,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '500': *41 '401': *25 '403': *29 @@ -88643,7 +88703,7 @@ paths: type: array items: *184 examples: - default: &575 + default: &577 value: - id: 197 name: hello_docker @@ -88744,7 +88804,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Email description: Email type: object @@ -88809,9 +88869,9 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: - default: &577 + default: &579 value: - email: octocat@github.com verified: true @@ -88886,7 +88946,7 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: default: value: @@ -89141,7 +89201,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: GPG Key description: A unique encryption key type: object @@ -89272,7 +89332,7 @@ paths: - subkeys - revoked examples: - default: &588 + default: &590 value: - id: 3 name: Octocat's GPG Key @@ -89357,9 +89417,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: &565 + default: &567 value: id: 3 name: Octocat's GPG Key @@ -89416,7 +89476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &566 + - &568 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -89428,9 +89488,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *565 + default: *567 '404': *7 '304': *37 '403': *29 @@ -89453,7 +89513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *566 + - *568 responses: '204': description: Response @@ -89644,7 +89704,7 @@ paths: type: array items: *55 examples: - default: *567 + default: *569 headers: Link: *39 '404': *7 @@ -89758,7 +89818,7 @@ paths: required: true content: application/json: - schema: *428 + schema: *430 examples: default: value: @@ -89908,7 +89968,7 @@ paths: application/json: schema: type: array - items: &568 + items: &570 title: Key description: Key type: object @@ -90005,9 +90065,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: &569 + default: &571 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -90040,15 +90100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *456 + - *458 responses: '200': description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '404': *7 '304': *37 '403': *29 @@ -90071,7 +90131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *456 + - *458 responses: '204': description: Response @@ -90104,7 +90164,7 @@ paths: application/json: schema: type: array - items: &570 + items: &572 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -90172,7 +90232,7 @@ paths: - account - plan examples: - default: &571 + default: &573 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -90234,9 +90294,9 @@ paths: application/json: schema: type: array - items: *570 + items: *572 examples: - default: *571 + default: *573 headers: Link: *39 '304': *37 @@ -91231,7 +91291,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *177 - - *572 + - *574 responses: '204': description: Response @@ -91301,7 +91361,7 @@ paths: type: array items: *173 examples: - default: *573 + default: *575 headers: Link: *39 '304': *37 @@ -91343,7 +91403,7 @@ paths: - docker - nuget - container - - *574 + - *576 - *20 - *18 responses: @@ -91355,8 +91415,8 @@ paths: type: array items: *184 examples: - default: *575 - '400': *576 + default: *577 + '400': *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91385,7 +91445,7 @@ paths: application/json: schema: *184 examples: - default: &589 + default: &591 value: id: 40201 name: octo-name @@ -91835,9 +91895,9 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: - default: *577 + default: *579 headers: Link: *39 '304': *37 @@ -91950,7 +92010,7 @@ paths: type: array items: *55 examples: - default: &584 + default: &586 summary: Default response value: - id: 1296269 @@ -92252,9 +92312,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92292,9 +92352,9 @@ paths: application/json: schema: type: array - items: *430 + items: *432 examples: - default: *578 + default: *580 headers: Link: *39 '304': *37 @@ -92373,7 +92433,7 @@ paths: application/json: schema: type: array - items: &579 + items: &581 title: Social account description: Social media account type: object @@ -92388,7 +92448,7 @@ paths: - provider - url examples: - default: &580 + default: &582 value: - provider: twitter url: https://twitter.com/github @@ -92450,9 +92510,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *580 + default: *582 '422': *16 '304': *37 '404': *7 @@ -92539,7 +92599,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -92559,7 +92619,7 @@ paths: - title - created_at examples: - default: &596 + default: &598 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92625,9 +92685,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &582 + default: &584 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92658,7 +92718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &583 + - &585 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -92670,9 +92730,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *582 + default: *584 '404': *7 '304': *37 '403': *29 @@ -92695,7 +92755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *583 + - *585 responses: '204': description: Response @@ -92724,7 +92784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &597 + - &599 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -92749,11 +92809,11 @@ paths: type: array items: *55 examples: - default-response: *584 + default-response: *586 application/vnd.github.v3.star+json: schema: type: array - items: &598 + items: &600 title: Starred Repository description: Starred Repository type: object @@ -92909,8 +92969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response if this repository is starred by you @@ -92938,8 +92998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -92963,8 +93023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -93036,7 +93096,7 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: default: value: @@ -93120,10 +93180,10 @@ paths: application/json: schema: oneOf: - - *556 - - *555 + - *558 + - *557 examples: - default-response: &586 + default-response: &588 summary: Default response value: login: octocat @@ -93158,7 +93218,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &587 + response-with-git-hub-plan-information: &589 summary: Response with GitHub plan information value: login: octocat @@ -93218,7 +93278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *585 + - *587 - *18 responses: '200': @@ -93265,11 +93325,11 @@ paths: application/json: schema: oneOf: - - *556 - - *555 + - *558 + - *557 examples: - default-response: *586 - response-with-git-hub-plan-information: *587 + default-response: *588 + response-with-git-hub-plan-information: *589 '404': *7 x-github: githubCloudOnly: false @@ -93431,7 +93491,7 @@ paths: type: array items: *184 examples: - default: *575 + default: *577 '403': *29 '401': *25 x-github: @@ -93835,9 +93895,9 @@ paths: application/json: schema: type: array - items: *564 + items: *566 examples: - default: *588 + default: *590 headers: Link: *39 x-github: @@ -93941,7 +94001,7 @@ paths: application/json: schema: *22 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94019,7 +94079,7 @@ paths: type: array items: *173 examples: - default: *573 + default: *575 headers: Link: *39 x-github: @@ -94058,7 +94118,7 @@ paths: - docker - nuget - container - - *574 + - *576 - *123 - *20 - *18 @@ -94071,10 +94131,10 @@ paths: type: array items: *184 examples: - default: *575 + default: *577 '403': *29 '401': *25 - '400': *576 + '400': *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94104,7 +94164,7 @@ paths: application/json: schema: *184 examples: - default: *589 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94697,9 +94757,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *592 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94727,9 +94787,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94757,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94787,9 +94847,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *580 + default: *582 headers: Link: *39 x-github: @@ -94819,9 +94879,9 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: - default: *596 + default: *598 headers: Link: *39 x-github: @@ -94846,7 +94906,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *123 - - *597 + - *599 - *42 - *18 - *20 @@ -94858,11 +94918,11 @@ paths: schema: anyOf: - type: array - items: *598 + items: *600 - type: array items: *55 examples: - default-response: *584 + default-response: *586 headers: Link: *39 x-github: @@ -95021,7 +95081,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &599 + enterprise: &601 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -95079,7 +95139,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &600 + installation: &602 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -95098,7 +95158,7 @@ x-webhooks: required: - id - node_id - organization: &601 + organization: &603 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -95158,13 +95218,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &602 + repository: &604 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &632 + properties: &634 id: description: Unique identifier of the repository example: 42 @@ -95847,7 +95907,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &633 + required: &635 - archive_url - assignees_url - blobs_url @@ -95998,10 +96058,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -96077,11 +96137,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: &603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: &605 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -96304,11 +96364,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *19 required: - action @@ -96491,11 +96551,11 @@ x-webhooks: - everyone required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *19 required: - action @@ -96579,7 +96639,7 @@ x-webhooks: type: string enum: - completed - check_run: &605 + check_run: &607 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96642,7 +96702,7 @@ x-webhooks: type: string pull_requests: type: array - items: *316 + items: *318 repository: *110 status: example: completed @@ -96680,7 +96740,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *604 + deployment: *606 details_url: example: https://example.com type: string @@ -96730,7 +96790,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *316 + items: *318 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96765,9 +96825,9 @@ x-webhooks: - output - app - pull_requests - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -97160,10 +97220,10 @@ x-webhooks: type: string enum: - created - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -97559,10 +97619,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 requested_action: description: The action requested by the user. type: object @@ -97967,10 +98027,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -98947,10 +99007,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -99620,10 +99680,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -100287,10 +100347,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -100590,20 +100650,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &606 + commit_oid: &608 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *599 - installation: *600 - organization: *601 - ref: &607 + enterprise: *601 + installation: *602 + organization: *603 + ref: &609 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -100921,12 +100981,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101021,7 +101081,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *332 + dismissed_comment: *334 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101182,12 +101242,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101508,12 +101568,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101770,16 +101830,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *602 + repository: *604 sender: *19 required: - action @@ -102005,12 +102065,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -102267,10 +102327,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -102350,18 +102410,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *601 - pusher_type: &608 + organization: *603 + pusher_type: &610 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &609 + ref: &611 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -102371,7 +102431,7 @@ x-webhooks: enum: - tag - branch - repository: *602 + repository: *604 sender: *19 required: - ref @@ -102454,9 +102514,9 @@ x-webhooks: enum: - created definition: *198 - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102540,9 +102600,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102619,9 +102679,9 @@ x-webhooks: enum: - updated definition: *198 - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102697,10 +102757,10 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - repository: *602 - organization: *601 + enterprise: *601 + installation: *602 + repository: *604 + organization: *603 sender: *19 new_property_values: type: array @@ -102785,18 +102845,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - pusher_type: *608 - ref: *609 + enterprise: *601 + installation: *602 + organization: *603 + pusher_type: *610 + ref: *611 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *602 + repository: *604 sender: *19 required: - ref @@ -102880,11 +102940,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -102968,11 +103028,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103056,11 +103116,11 @@ x-webhooks: type: string enum: - created - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103142,11 +103202,11 @@ x-webhooks: type: string enum: - dismissed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103228,11 +103288,11 @@ x-webhooks: type: string enum: - fixed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103315,11 +103375,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103401,11 +103461,11 @@ x-webhooks: type: string enum: - reopened - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103482,9 +103542,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - key: &610 + enterprise: *601 + installation: *602 + key: &612 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103518,8 +103578,8 @@ x-webhooks: - verified - created_at - read_only - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -103596,11 +103656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - key: *610 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + key: *612 + organization: *603 + repository: *604 sender: *19 required: - action @@ -104161,12 +104221,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: &614 + workflow: &616 title: Workflow type: object nullable: true @@ -104892,13 +104952,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *392 + deployment: *394 pull_requests: type: array - items: *477 - repository: *602 - organization: *601 - installation: *600 + items: *479 + repository: *604 + organization: *603 + installation: *602 sender: *19 responses: '200': @@ -104969,7 +105029,7 @@ x-webhooks: type: string enum: - approved - approver: &611 + approver: &613 type: object properties: avatar_url: @@ -105012,11 +105072,11 @@ x-webhooks: type: string comment: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - reviewers: &612 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: &614 type: array items: type: object @@ -105095,7 +105155,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &613 + workflow_job_run: &615 type: object properties: conclusion: @@ -105826,18 +105886,18 @@ x-webhooks: type: string enum: - rejected - approver: *611 + approver: *613 comment: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - reviewers: *612 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: *614 sender: *19 since: type: string - workflow_job_run: *613 + workflow_job_run: *615 workflow_job_runs: type: array items: @@ -106541,13 +106601,13 @@ x-webhooks: type: string enum: - requested - enterprise: *599 + enterprise: *601 environment: type: string - installation: *600 - organization: *601 - repository: *602 - requestor: &619 + installation: *602 + organization: *603 + repository: *604 + requestor: &621 title: User type: object nullable: true @@ -108446,12 +108506,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Deployment Workflow Run type: object @@ -109131,7 +109191,7 @@ x-webhooks: type: string enum: - answered - answer: &617 + answer: &619 type: object properties: author_association: @@ -109288,7 +109348,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &615 + discussion: &617 title: Discussion description: A Discussion in a repository. type: object @@ -109574,7 +109634,7 @@ x-webhooks: - id labels: type: array - items: *439 + items: *441 required: - repository_url - category @@ -109596,10 +109656,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109726,11 +109786,11 @@ x-webhooks: - from required: - category - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109813,11 +109873,11 @@ x-webhooks: type: string enum: - closed - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109899,7 +109959,7 @@ x-webhooks: type: string enum: - created - comment: &616 + comment: &618 type: object properties: author_association: @@ -110056,11 +110116,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110143,12 +110203,12 @@ x-webhooks: type: string enum: - deleted - comment: *616 - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + comment: *618 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110243,12 +110303,12 @@ x-webhooks: - from required: - body - comment: *616 - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + comment: *618 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110332,11 +110392,11 @@ x-webhooks: type: string enum: - created - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110418,11 +110478,11 @@ x-webhooks: type: string enum: - deleted - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110522,11 +110582,11 @@ x-webhooks: type: string required: - from - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110608,10 +110668,10 @@ x-webhooks: type: string enum: - labeled - discussion: *615 - enterprise: *599 - installation: *600 - label: &618 + discussion: *617 + enterprise: *601 + installation: *602 + label: &620 title: Label type: object properties: @@ -110643,8 +110703,8 @@ x-webhooks: - color - default - description - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110727,11 +110787,11 @@ x-webhooks: type: string enum: - locked - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110813,11 +110873,11 @@ x-webhooks: type: string enum: - pinned - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110899,11 +110959,11 @@ x-webhooks: type: string enum: - reopened - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110988,16 +111048,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *615 - new_repository: *602 + new_discussion: *617 + new_repository: *604 required: - new_discussion - new_repository - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111080,10 +111140,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *615 - old_answer: *617 - organization: *601 - repository: *602 + discussion: *617 + old_answer: *619 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111165,12 +111225,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *615 - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111253,11 +111313,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111339,11 +111399,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111416,7 +111476,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *599 + enterprise: *601 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -112076,9 +112136,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - forkee @@ -112224,9 +112284,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pages: description: The pages that were updated. type: array @@ -112263,7 +112323,7 @@ x-webhooks: - action - sha - html_url - repository: *602 + repository: *604 sender: *19 required: - pages @@ -112339,10 +112399,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: &620 + organization: *603 + repositories: &622 description: An array of repository objects that the installation can access. type: array @@ -112368,8 +112428,8 @@ x-webhooks: - name - full_name - private - repository: *602 - requester: *619 + repository: *604 + requester: *621 sender: *19 required: - action @@ -112444,11 +112504,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -112524,11 +112584,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -112604,10 +112664,10 @@ x-webhooks: type: string enum: - added - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories_added: &621 + organization: *603 + repositories_added: &623 description: An array of repository objects, which were added to the installation. type: array @@ -112653,15 +112713,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *602 - repository_selection: &622 + repository: *604 + repository_selection: &624 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *619 + requester: *621 sender: *19 required: - action @@ -112740,10 +112800,10 @@ x-webhooks: type: string enum: - removed - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories_added: *621 + organization: *603 + repositories_added: *623 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -112770,9 +112830,9 @@ x-webhooks: - name - full_name - private - repository: *602 - repository_selection: *622 - requester: *619 + repository: *604 + repository_selection: *624 + requester: *621 sender: *19 required: - action @@ -112851,11 +112911,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -113033,10 +113093,10 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 target_type: type: string @@ -113115,11 +113175,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -113371,8 +113431,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114513,8 +114573,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -114594,7 +114654,7 @@ x-webhooks: type: string enum: - deleted - comment: &623 + comment: &625 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -114759,8 +114819,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115899,8 +115959,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -115980,7 +116040,7 @@ x-webhooks: type: string enum: - edited - changes: &651 + changes: &653 description: The changes to the comment. type: object properties: @@ -115992,9 +116052,9 @@ x-webhooks: type: string required: - from - comment: *623 - enterprise: *599 - installation: *600 + comment: *625 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117134,8 +117194,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -117217,10 +117277,10 @@ x-webhooks: type: string enum: - assigned - assignee: *619 - enterprise: *599 - installation: *600 - issue: &626 + assignee: *621 + enterprise: *601 + installation: *602 + issue: &628 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -118124,8 +118184,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -118205,8 +118265,8 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119250,8 +119310,8 @@ x-webhooks: required: - state - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -119330,8 +119390,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -120228,8 +120288,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -120308,8 +120368,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121209,7 +121269,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &624 + milestone: &626 title: Milestone description: A collection of related issues and pull requests. type: object @@ -121347,8 +121407,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -121447,8 +121507,8 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122352,9 +122412,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *618 - organization: *601 - repository: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -122434,8 +122494,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123338,9 +123398,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *618 - organization: *601 - repository: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -123420,8 +123480,8 @@ x-webhooks: type: string enum: - locked - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124325,8 +124385,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -124405,8 +124465,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125304,9 +125364,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *624 - organization: *601 - repository: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -126753,8 +126813,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127657,8 +127717,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -127738,9 +127798,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *599 - installation: *600 - issue: &625 + enterprise: *601 + installation: *602 + issue: &627 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128637,8 +128697,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -128717,8 +128777,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129621,8 +129681,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131070,11 +131130,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *599 - installation: *600 - issue: *625 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *627 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131155,7 +131215,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &654 + assignee: &656 title: User type: object nullable: true @@ -131225,11 +131285,11 @@ x-webhooks: required: - login - id - enterprise: *599 - installation: *600 - issue: *626 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *628 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131308,12 +131368,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *599 - installation: *600 - issue: *626 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *628 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131393,8 +131453,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132296,8 +132356,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132377,11 +132437,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *599 - installation: *600 - issue: *625 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *627 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132460,11 +132520,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132542,11 +132602,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132656,11 +132716,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132742,9 +132802,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: &627 + enterprise: *601 + installation: *602 + marketplace_purchase: &629 title: Marketplace Purchase type: object required: @@ -132827,8 +132887,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *601 - previous_marketplace_purchase: &628 + organization: *603 + previous_marketplace_purchase: &630 title: Marketplace Purchase type: object properties: @@ -132908,7 +132968,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -132988,10 +133048,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133074,7 +133134,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -133156,10 +133216,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133241,7 +133301,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -133322,8 +133382,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 marketplace_purchase: title: Marketplace Purchase type: object @@ -133405,9 +133465,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *601 - previous_marketplace_purchase: *628 - repository: *602 + organization: *603 + previous_marketplace_purchase: *630 + repository: *604 sender: *19 required: - action @@ -133487,12 +133547,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 - previous_marketplace_purchase: *628 - repository: *602 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 + previous_marketplace_purchase: *630 + repository: *604 sender: *19 required: - action @@ -133594,11 +133654,11 @@ x-webhooks: type: string required: - to - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133698,11 +133758,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133781,11 +133841,11 @@ x-webhooks: type: string enum: - removed - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133863,11 +133923,11 @@ x-webhooks: type: string enum: - added - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -133943,7 +134003,7 @@ x-webhooks: required: - login - id - team: &629 + team: &631 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134133,11 +134193,11 @@ x-webhooks: type: string enum: - removed - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134214,7 +134274,7 @@ x-webhooks: required: - login - id - team: *629 + team: *631 required: - action - scope @@ -134296,8 +134356,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *600 - merge_group: &631 + installation: *602 + merge_group: &633 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -134316,15 +134376,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *630 + head_commit: *632 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134410,10 +134470,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *600 - merge_group: *631 - organization: *601 - repository: *602 + installation: *602 + merge_group: *633 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134486,7 +134546,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 + enterprise: *601 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134594,16 +134654,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *600 - organization: *601 + installation: *602 + organization: *603 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -134684,11 +134744,11 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134767,9 +134827,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - milestone: &634 + enterprise: *601 + installation: *602 + milestone: &636 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134906,8 +134966,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134986,11 +135046,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135100,11 +135160,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135184,11 +135244,11 @@ x-webhooks: type: string enum: - opened - enterprise: *599 - installation: *600 - milestone: *634 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *636 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135267,11 +135327,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *619 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + blocked_user: *621 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135350,11 +135410,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *619 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + blocked_user: *621 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135433,9 +135493,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - membership: &635 + enterprise: *601 + installation: *602 + membership: &637 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135527,8 +135587,8 @@ x-webhooks: - role - organization_url - user - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135606,11 +135666,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135689,8 +135749,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135806,10 +135866,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 - user: *619 + user: *621 required: - action - invitation @@ -135887,11 +135947,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135978,11 +136038,11 @@ x-webhooks: properties: from: type: string - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -136058,9 +136118,9 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -136559,7 +136619,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &636 + items: &638 title: Ruby Gems metadata type: object properties: @@ -136654,7 +136714,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -136730,9 +136790,9 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137085,7 +137145,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 source_url: type: string format: uri @@ -137155,7 +137215,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -137332,12 +137392,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *599 + enterprise: *601 id: type: integer - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - id @@ -137417,7 +137477,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &637 + personal_access_token_request: &639 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137551,10 +137611,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *599 - organization: *601 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137633,11 +137693,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *637 - enterprise: *599 - organization: *601 + personal_access_token_request: *639 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137715,11 +137775,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *637 - enterprise: *599 - organization: *601 + personal_access_token_request: *639 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137796,11 +137856,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *637 - organization: *601 - enterprise: *599 + personal_access_token_request: *639 + organization: *603 + enterprise: *601 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137904,7 +137964,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *638 + last_response: *640 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137936,8 +137996,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 zen: description: Random string of GitHub zen. @@ -138182,10 +138242,10 @@ x-webhooks: - from required: - note - enterprise: *599 - installation: *600 - organization: *601 - project_card: &639 + enterprise: *601 + installation: *602 + organization: *603 + project_card: &641 title: Project Card type: object properties: @@ -138304,7 +138364,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -138385,11 +138445,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project_card: *639 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *641 + repository: *604 sender: *19 required: - action @@ -138469,9 +138529,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 project_card: title: Project Card type: object @@ -138599,8 +138659,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -138694,11 +138754,11 @@ x-webhooks: - from required: - note - enterprise: *599 - installation: *600 - organization: *601 - project_card: *639 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *641 + repository: *604 sender: *19 required: - action @@ -138792,9 +138852,9 @@ x-webhooks: - from required: - column_id - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 project_card: allOf: - title: Project Card @@ -138984,7 +139044,7 @@ x-webhooks: type: string required: - after_id - repository: *602 + repository: *604 sender: *19 required: - action @@ -139064,10 +139124,10 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - organization: *601 - project: &641 + enterprise: *601 + installation: *602 + organization: *603 + project: &643 title: Project type: object properties: @@ -139191,7 +139251,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -139271,10 +139331,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project_column: &640 + enterprise: *601 + installation: *602 + organization: *603 + project_column: &642 title: Project Column type: object properties: @@ -139313,7 +139373,7 @@ x-webhooks: - name - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -139392,18 +139452,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -139493,11 +139553,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 + repository: *604 sender: *19 required: - action @@ -139577,11 +139637,11 @@ x-webhooks: type: string enum: - moved - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 + repository: *604 sender: *19 required: - action @@ -139661,11 +139721,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -139745,18 +139805,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - project: *641 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -139858,11 +139918,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -139941,11 +140001,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -140026,9 +140086,9 @@ x-webhooks: type: string enum: - closed - installation: *600 - organization: *601 - projects_v2: &642 + installation: *602 + organization: *603 + projects_v2: &644 title: Projects v2 Project description: A projects v2 project type: object @@ -140171,9 +140231,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140254,9 +140314,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140373,9 +140433,9 @@ x-webhooks: type: string to: type: string - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140458,7 +140518,7 @@ x-webhooks: type: string enum: - archived - changes: &646 + changes: &648 type: object properties: archived_at: @@ -140472,9 +140532,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *600 - organization: *601 - projects_v2_item: &643 + installation: *602 + organization: *603 + projects_v2_item: &645 title: Projects v2 Item description: An item belonging to a project type: object @@ -140608,9 +140668,9 @@ x-webhooks: nullable: true to: type: string - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140692,9 +140752,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140775,9 +140835,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140883,7 +140943,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &644 + - &646 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -140901,7 +140961,7 @@ x-webhooks: required: - id - name - - &645 + - &647 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -140924,8 +140984,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *644 - - *645 + - *646 + - *647 required: - field_value - type: object @@ -140941,9 +141001,9 @@ x-webhooks: nullable: true required: - body - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141038,9 +141098,9 @@ x-webhooks: to: type: string nullable: true - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141123,10 +141183,10 @@ x-webhooks: type: string enum: - restored - changes: *646 - installation: *600 - organization: *601 - projects_v2_item: *643 + changes: *648 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141208,9 +141268,9 @@ x-webhooks: type: string enum: - reopened - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -141291,9 +141351,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2_status_update: &647 + installation: *602 + organization: *603 + projects_v2_status_update: &649 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -141420,9 +141480,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2_status_update: *647 + installation: *602 + organization: *603 + projects_v2_status_update: *649 sender: *19 required: - action @@ -141558,9 +141618,9 @@ x-webhooks: type: string format: date nullable: true - installation: *600 - organization: *601 - projects_v2_status_update: *647 + installation: *602 + organization: *603 + projects_v2_status_update: *649 sender: *19 required: - action @@ -141631,10 +141691,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - repository @@ -141711,13 +141771,13 @@ x-webhooks: type: string enum: - assigned - assignee: *619 - enterprise: *599 - installation: *600 - number: &648 + assignee: *621 + enterprise: *601 + installation: *602 + number: &650 description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -144000,7 +144060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -144082,11 +144142,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -146364,7 +146424,7 @@ x-webhooks: - draft reason: type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -146446,11 +146506,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -148728,7 +148788,7 @@ x-webhooks: - draft reason: type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -148810,13 +148870,13 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: &649 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: &651 allOf: - - *477 + - *479 - type: object properties: allow_auto_merge: @@ -148878,7 +148938,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *602 + repository: *604 sender: *19 required: - action @@ -148959,12 +149019,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -149044,11 +149104,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *599 - milestone: *459 - number: *648 - organization: *601 - pull_request: &650 + enterprise: *601 + milestone: *461 + number: *650 + organization: *603 + pull_request: &652 title: Pull Request type: object properties: @@ -151311,7 +151371,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -151390,11 +151450,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -153676,7 +153736,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *602 + repository: *604 sender: *19 required: - action @@ -153800,12 +153860,12 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -153885,11 +153945,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -156156,7 +156216,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -156236,11 +156296,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *599 - installation: *600 - label: *618 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + label: *620 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -158522,7 +158582,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -158603,10 +158663,10 @@ x-webhooks: type: string enum: - locked - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -160886,7 +160946,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -160966,12 +161026,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *599 - milestone: *459 - number: *648 - organization: *601 - pull_request: *650 - repository: *602 + enterprise: *601 + milestone: *461 + number: *650 + organization: *603 + pull_request: *652 + repository: *604 sender: *19 required: - action @@ -161050,12 +161110,12 @@ x-webhooks: type: string enum: - opened - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161136,12 +161196,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161221,12 +161281,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161592,9 +161652,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -163764,7 +163824,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -163844,7 +163904,7 @@ x-webhooks: type: string enum: - deleted - comment: &652 + comment: &654 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -164129,9 +164189,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -166289,7 +166349,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -166369,11 +166429,11 @@ x-webhooks: type: string enum: - edited - changes: *651 - comment: *652 - enterprise: *599 - installation: *600 - organization: *601 + changes: *653 + comment: *654 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -168534,7 +168594,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -168615,9 +168675,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -170790,7 +170850,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 review: description: The review that was affected. type: object @@ -171033,9 +171093,9 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -173089,8 +173149,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 - review: &653 + repository: *604 + review: &655 description: The review that was affected. type: object properties: @@ -173319,12 +173379,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -175607,7 +175667,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_reviewer: title: User type: object @@ -175691,12 +175751,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -177986,7 +178046,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178178,12 +178238,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -180468,7 +180528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_reviewer: title: User type: object @@ -180553,12 +180613,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -182834,7 +182894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183015,9 +183075,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -185192,8 +185252,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 - review: *653 + repository: *604 + review: *655 sender: *19 required: - action @@ -185273,9 +185333,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -187345,7 +187405,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 sender: *19 thread: type: object @@ -187728,9 +187788,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -189786,7 +189846,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 sender: *19 thread: type: object @@ -190172,10 +190232,10 @@ x-webhooks: type: string before: type: string - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -192446,7 +192506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -192528,11 +192588,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *654 - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + assignee: *656 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -194815,7 +194875,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -194894,11 +194954,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *599 - installation: *600 - label: *618 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + label: *620 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -197171,7 +197231,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -197252,10 +197312,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -199520,7 +199580,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -199720,7 +199780,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *599 + enterprise: *601 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -199812,8 +199872,8 @@ x-webhooks: - url - author - committer - installation: *600 - organization: *601 + installation: *602 + organization: *603 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -200388,9 +200448,9 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -200836,7 +200896,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -200890,7 +200950,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -200968,9 +201028,9 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -201278,7 +201338,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -201327,7 +201387,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -201404,10 +201464,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - release: &655 + enterprise: *601 + installation: *602 + organization: *603 + release: &657 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -201712,7 +201772,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *602 + repository: *604 sender: *19 required: - action @@ -201789,11 +201849,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -201901,11 +201961,11 @@ x-webhooks: type: boolean required: - to - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -201983,9 +202043,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -202294,7 +202354,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *602 + repository: *604 sender: *19 required: - action @@ -202370,10 +202430,10 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - release: &656 + enterprise: *601 + installation: *602 + organization: *603 + release: &658 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202679,7 +202739,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *602 + repository: *604 sender: *19 required: - action @@ -202755,11 +202815,11 @@ x-webhooks: type: string enum: - released - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -202835,11 +202895,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *599 - installation: *600 - organization: *601 - release: *656 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *658 + repository: *604 sender: *19 required: - action @@ -202915,11 +202975,11 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - repository_advisory: *530 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + repository_advisory: *532 sender: *19 required: - action @@ -202995,11 +203055,11 @@ x-webhooks: type: string enum: - reported - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - repository_advisory: *530 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + repository_advisory: *532 sender: *19 required: - action @@ -203075,10 +203135,10 @@ x-webhooks: type: string enum: - archived - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203155,10 +203215,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203236,10 +203296,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203323,10 +203383,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203438,10 +203498,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203513,10 +203573,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 status: type: string @@ -203597,10 +203657,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203677,10 +203737,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203774,10 +203834,10 @@ x-webhooks: - name required: - repository - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203857,10 +203917,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 sender: *19 required: @@ -203939,10 +203999,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 sender: *19 required: @@ -204021,10 +204081,10 @@ x-webhooks: type: string enum: - edited - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 changes: type: object @@ -204329,10 +204389,10 @@ x-webhooks: - from required: - owner - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204410,10 +204470,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204491,7 +204551,7 @@ x-webhooks: type: string enum: - create - alert: &657 + alert: &659 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -204612,10 +204672,10 @@ x-webhooks: type: string enum: - open - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204821,10 +204881,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204902,11 +204962,11 @@ x-webhooks: type: string enum: - reopen - alert: *657 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *659 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205105,10 +205165,10 @@ x-webhooks: enum: - fixed - open - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205186,7 +205246,7 @@ x-webhooks: type: string enum: - created - alert: &658 + alert: &660 type: object properties: number: *48 @@ -205266,10 +205326,19 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + nullable: true + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205350,11 +205419,11 @@ x-webhooks: type: string enum: - created - alert: *658 - installation: *600 - location: *659 - organization: *601 - repository: *602 + alert: *660 + installation: *602 + location: *661 + organization: *603 + repository: *604 sender: *19 required: - location @@ -205378,6 +205447,8 @@ x-webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -205530,6 +205601,88 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + sender: *19 + required: + - action + - alert + - repository + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -205590,11 +205743,11 @@ x-webhooks: type: string enum: - reopened - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205672,11 +205825,11 @@ x-webhooks: type: string enum: - resolved - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205754,11 +205907,11 @@ x-webhooks: type: string enum: - validated - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205834,11 +205987,11 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - security_advisory: &660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: &662 description: The details of the security advisory, including summary, description, and severity. type: object @@ -206021,11 +206174,11 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - security_advisory: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: *662 sender: *19 required: - action @@ -206098,10 +206251,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -206286,10 +206439,10 @@ x-webhooks: type: object properties: security_and_analysis: *205 - enterprise: *599 - installation: *600 - organization: *601 - repository: *248 + enterprise: *601 + installation: *602 + organization: *603 + repository: *250 sender: *19 required: - changes @@ -206367,12 +206520,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: &661 + sponsorship: &663 type: object properties: created_at: @@ -206673,12 +206826,12 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -206766,12 +206919,12 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -206848,17 +207001,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &662 + effective_date: &664 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -206932,7 +207085,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &663 + changes: &665 type: object properties: tier: @@ -206976,13 +207129,13 @@ x-webhooks: - from required: - tier - effective_date: *662 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + effective_date: *664 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -207059,13 +207212,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *663 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + changes: *665 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -207139,10 +207292,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207225,10 +207378,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207644,15 +207797,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *599 + enterprise: *601 id: description: The unique identifier of the status. type: integer - installation: *600 + installation: *602 name: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 sha: description: The Commit SHA. @@ -207767,9 +207920,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -207859,9 +208012,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -207951,9 +208104,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -208043,9 +208196,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -208122,12 +208275,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - team: &664 + team: &666 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -208317,9 +208470,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208777,7 +208930,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -208853,9 +209006,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209313,7 +209466,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -209390,9 +209543,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209850,7 +210003,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -209994,9 +210147,9 @@ x-webhooks: - from required: - permissions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -210454,7 +210607,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - changes @@ -210532,9 +210685,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -210992,7 +211145,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -211068,10 +211221,10 @@ x-webhooks: type: string enum: - started - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -211144,16 +211297,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *599 + enterprise: *601 inputs: type: object nullable: true additionalProperties: true - installation: *600 - organization: *601 + installation: *602 + organization: *603 ref: type: string - repository: *602 + repository: *604 sender: *19 workflow: type: string @@ -211235,10 +211388,10 @@ x-webhooks: type: string enum: - completed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: allOf: @@ -211475,7 +211628,7 @@ x-webhooks: type: string required: - conclusion - deployment: *392 + deployment: *394 required: - action - repository @@ -211554,10 +211707,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: allOf: @@ -211817,7 +211970,7 @@ x-webhooks: required: - status - steps - deployment: *392 + deployment: *394 required: - action - repository @@ -211896,10 +212049,10 @@ x-webhooks: type: string enum: - queued - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: type: object @@ -212034,7 +212187,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *392 + deployment: *394 required: - action - repository @@ -212113,10 +212266,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: type: object @@ -212252,7 +212405,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *392 + deployment: *394 required: - action - repository @@ -212332,12 +212485,12 @@ x-webhooks: type: string enum: - completed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object @@ -213336,12 +213489,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object @@ -214325,12 +214478,12 @@ x-webhooks: type: string enum: - requested - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 1c954ef83f..eae5b4b4f9 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -18858,6 +18858,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -19635,6 +19655,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -19764,7 +19794,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -19850,7 +19882,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -46561,614 +46595,626 @@ "example": 10000, "nullable": true }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "example": false, - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "default-response": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#update-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Organization Full", - "description": "Organization Full", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - }, - "name": { - "type": "string", - "example": "github" - }, - "company": { - "type": "string", - "example": "GitHub" - }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" - }, - "location": { - "type": "string", - "example": "San Francisco" - }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" - }, - "total_private_repos": { - "type": "integer", - "example": 100 - }, - "owned_private_repos": { - "type": "integer", - "example": 100 - }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true - }, - "disk_usage": { + "collaborators": { "type": "integer", - "example": 10000, - "nullable": true + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "example": false, + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_push_protection_custom_link_enabled": false + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/orgs#update-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + } + } + }, + "examples": { + "default": { + "value": { + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Full", + "description": "Organization Full", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." }, "billing_email": { "type": "string", @@ -121079,6 +121125,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -121856,6 +121922,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -121985,7 +122061,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -122071,7 +122149,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -382472,6 +382552,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -382830,6 +382930,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } } @@ -382892,7 +383002,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -382911,7 +383023,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -383349,6 +383463,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -383371,7 +383495,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -383856,6 +383982,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -383897,7 +384033,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -1010181,199 +1010319,1811 @@ "content": { "application/json": { "schema": { - "title": "repository transferred event", + "title": "repository transferred event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "transferred" + ] + }, + "changes": { + "type": "object", + "properties": { + "owner": { + "type": "object", + "properties": { + "from": { + "type": "object", + "properties": { + "organization": { + "title": "Organization", + "type": "object", + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "hooks_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "type": "string", + "format": "uri" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string", + "format": "uri-template" + }, + "node_id": { + "type": "string" + }, + "public_members_url": { + "type": "string", + "format": "uri-template" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id", + "node_id", + "url", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + } + } + }, + "required": [ + "from" + ] + } + }, + "required": [ + "owner" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-unarchived": { + "post": { + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "repository unarchived event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "transferred" - ] - }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "description": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "issues_url": { - "type": "string", - "format": "uri" - }, - "login": { - "type": "string" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { - "type": "string" - }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" - ] - } - } - } - }, - "required": [ - "from" - ] - } - }, - "required": [ - "owner" + "unarchived" ] }, "enterprise": { @@ -1011882,7 +1013632,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1011908,13 +1013657,13 @@ } } }, - "repository-unarchived": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1011979,15 +1013728,181 @@ "content": { "application/json": { "schema": { - "title": "repository unarchived event", + "title": "repository_vulnerability_alert create event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unarchived" + "create" ] }, + "alert": { + "title": "Repository Vulnerability Alert Alert", + "description": "The security alert of the vulnerable dependency.", + "type": "object", + "required": [ + "affected_package_name", + "affected_range", + "created_at", + "external_identifier", + "external_reference", + "ghsa_id", + "id", + "node_id", + "number", + "severity", + "state" + ], + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "type": "string", + "format": "date-time" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "open" + ] + } + } + }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -1013494,6 +1015409,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1013509,21 +1015425,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", + "subcategory": "repository_vulnerability_alert", "supported-webhook-types": [ - "business", "repository", - "organization", - "app" + "organization" ] } } }, - "repository-vulnerability-alert-create": { + "repository-vulnerability-alert-dismiss": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1013590,13 +1015504,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert create event", + "title": "repository_vulnerability_alert dismiss event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "create" + "dismiss" ] }, "alert": { @@ -1013607,6 +1015521,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1013626,6 +1015543,10 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": "string", + "nullable": true + }, "dismiss_reason": { "type": "string" }, @@ -1013721,6 +1015642,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1013760,7 +1015684,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1015295,11 +1017219,11 @@ } } }, - "repository-vulnerability-alert-dismiss": { + "repository-vulnerability-alert-reopen": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1015366,13 +1017290,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert dismiss event", + "title": "repository_vulnerability_alert reopen event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "dismiss" + "reopen" ] }, "alert": { @@ -1015383,9 +1017307,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1015405,10 +1017326,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": "string", - "nullable": true - }, "dismiss_reason": { "type": "string" }, @@ -1015504,9 +1017421,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1015546,7 +1017460,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1017081,11 +1018995,11 @@ } } }, - "repository-vulnerability-alert-reopen": { + "repository-vulnerability-alert-resolve": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1017152,13 +1019066,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert reopen event", + "title": "repository_vulnerability_alert resolve event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "reopen" + "resolve" ] }, "alert": { @@ -1017322,6 +1019236,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1018857,13 +1020772,13 @@ } } }, - "repository-vulnerability-alert-resolve": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1018928,179 +1020843,364 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert resolve event", + "title": "secret_scanning_alert created event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "resolve" + "created" ] }, "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], "properties": { - "affected_package_name": { - "type": "string" - }, - "affected_range": { - "type": "string" + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true }, "created_at": { - "type": "string" + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true }, - "dismiss_reason": { - "type": "string" + "updated_at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", - "type": "object", + "html_url": { + "type": "string", + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "resolution": { + "type": "string", + "description": "The reason for resolving the alert.", "nullable": true, - "required": [ - "login", - "id" - ], + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited" + ] + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { - "avatar_url": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "deleted": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "email": { + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "events_url": { + "url": { "type": "string", - "format": "uri-template" + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "followers_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" }, "following_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/following{/other_user}" }, "gists_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, - "gravatar_id": { - "type": "string" + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, - "html_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" }, - "login": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { "name": { + "nullable": true, "type": "string" }, - "node_id": { + "email": { + "nullable": true, "type": "string" }, - "organizations_url": { + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "received_events_url": { + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { "type": "string", - "format": "uri" + "example": "MDQ6VXNlcjE=" }, - "repos_url": { + "avatar_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "site_admin": { - "type": "boolean" + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, "starred_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" }, "type": { "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] + "example": "User" }, - "url": { + "site_admin": { + "type": "boolean" + }, + "starred_at": { "type": "string", - "format": "uri" + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } - } - }, - "external_identifier": { - "type": "string" - }, - "external_reference": { - "type": "string", - "nullable": true, - "format": "uri" - }, - "fix_reason": { - "type": "string" + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true }, - "fixed_at": { + "push_protection_bypassed_at": { "type": "string", - "format": "date-time" - }, - "fixed_in": { - "type": "string" - }, - "ghsa_id": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "number": { - "type": "integer" + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1020611,8 +1022711,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1020626,21 +1022725,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", - "organization" + "organization", + "app" ] } } }, - "secret-scanning-alert-created": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -1020705,7 +1022805,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1021053,76 +1023153,18 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true - } - } - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "avatar_url": { - "type": "string", - "format": "uri" + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1021145,6 +1023187,314 @@ "node_id" ] }, + "location": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment" + ], + "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", + "example": "commit" + }, + "details": { + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1022561,10 +1024911,185 @@ } }, "required": [ - "action", + "location", "alert", - "repository" + "repository", + "sender" ] + }, + "examples": { + "default": { + "value": { + "action": "created", + "alert": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "updated_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", + "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, + "secret_type": "mailchimp_api_key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false + }, + "location": { + "type": "commit", + "details": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + } + }, + "repository": { + "id": 186853002, + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "name": "hello-world", + "full_name": "octocat-repo/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/octocat-repo/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octocat-repo/hello-world", + "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", + "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", + "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", + "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", + "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", + "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", + "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", + "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", + "created_at": "2019-05-15T15:19:25Z", + "updated_at": "2019-05-15T15:21:03Z", + "pushed_at": "2019-05-15T15:20:57Z", + "git_url": "git://github.com/octocat-repo/hello-world.git", + "ssh_url": "git@github.com:octocat-repo/hello-world.git", + "clone_url": "https://github.com/octocat-repo/hello-world.git", + "svn_url": "https://github.com/octocat-repo/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "is_template": false + }, + "sender": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "title": "Secret Scanning Alert Location Created Event", + "type": "object", + "properties": { + "payload": { + "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ] + }, + "examples": { + "default": { + "value": { + "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" + } + } } } } @@ -1022576,8 +1025101,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1022586,13 +1025112,13 @@ } } }, - "secret-scanning-alert-location-created": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1022657,13 +1025183,13 @@ "content": { "application/json": { "schema": { - "title": "Secret Scanning Alert Location Created Event", + "title": "secret_scanning_alert publicly leaked event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "created" + "publicly_leaked" ] }, "alert": { @@ -1023005,9 +1025531,87 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "installation": { "title": "Simple Installation", "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", @@ -1023029,314 +1025633,6 @@ "node_id" ] }, - "location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "wiki_commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "example": "commit" - }, - "details": { - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - } - }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1024753,183 +1027049,10 @@ } }, "required": [ - "location", + "action", "alert", - "repository", - "sender" - ] - }, - "examples": { - "default": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": [ - "payload" + "repository" ] - }, - "examples": { - "default": { - "value": { - "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" - } - } } } } @@ -1024941,9 +1027064,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1025371,6 +1027493,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1027323,6 +1029455,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1029275,6 +1031417,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 451cdc7c38..2970630bf9 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &221 + type: &223 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &532 + - &534 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -7724,7 +7724,7 @@ paths: enum: - development - runtime - security_advisory: &384 + security_advisory: &386 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -7985,7 +7985,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &385 + auto_dismissed_at: &387 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8687,6 +8687,24 @@ paths: required: false schema: type: string + - &219 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &220 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -8694,7 +8712,7 @@ paths: application/json: schema: type: array - items: &219 + items: &221 type: object properties: number: *48 @@ -8713,14 +8731,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &525 + state: &527 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &526 + resolution: &528 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -8785,8 +8803,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true examples: - default: &220 + default: &222 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -8906,6 +8933,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -8988,6 +9017,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *39 '404': *7 @@ -9234,7 +9265,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &433 + properties: &435 id: type: integer format: int64 @@ -9345,7 +9376,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &369 + properties: &371 url: type: string format: uri @@ -9415,7 +9446,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &370 + required: &372 - closed_issues - creator - description @@ -9556,7 +9587,7 @@ paths: - hooray - eyes - rocket - required: &434 + required: &436 - assignee - closed_at - comments @@ -9578,7 +9609,7 @@ paths: - author_association - created_at - updated_at - comment: &431 + comment: &433 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10138,7 +10169,7 @@ paths: url: type: string format: uri - user: &555 + user: &557 title: Public User description: Public User type: object @@ -13417,14 +13448,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &237 + - &239 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &238 + - &240 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13495,7 +13526,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &249 + '301': &251 description: Moved permanently content: application/json: @@ -13517,7 +13548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &462 + - &464 name: all description: If `true`, show notifications marked as read. in: query @@ -13525,7 +13556,7 @@ paths: schema: type: boolean default: false - - &463 + - &465 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -13535,7 +13566,7 @@ paths: type: boolean default: false - *62 - - &464 + - &466 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -13991,7 +14022,7 @@ paths: - url - subscription_url examples: - default: &465 + default: &467 value: - id: '1' repository: @@ -14540,7 +14571,7 @@ paths: properties: *89 required: *90 examples: - default: &573 + default: &575 value: - login: github id: 1 @@ -14705,6 +14736,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -15303,7 +15342,7 @@ paths: type: integer repository_cache_usages: type: array - items: &254 + items: &256 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -15473,7 +15512,7 @@ paths: - all - local_only - selected - selected_actions_url: &260 + selected_actions_url: &262 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -15563,7 +15602,7 @@ paths: type: array items: *55 examples: - default: &567 + default: &569 value: total_count: 1 repositories: @@ -15891,7 +15930,7 @@ paths: description: Response content: application/json: - schema: &264 + schema: &266 type: object properties: default_workflow_permissions: &104 @@ -15942,7 +15981,7 @@ paths: required: false content: application/json: - schema: &265 + schema: &267 type: object properties: default_workflow_permissions: *104 @@ -16377,7 +16416,7 @@ paths: type: array items: *110 examples: - default: &558 + default: &560 value: total_count: 1 repositories: @@ -17015,7 +17054,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 title: Runner Application description: Runner Application type: object @@ -17040,7 +17079,7 @@ paths: - download_url - filename examples: - default: &267 + default: &269 value: - os: osx architecture: x64 @@ -17126,7 +17165,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &268 + '201': &270 description: Response content: application/json: @@ -17236,7 +17275,7 @@ paths: - token - expires_at examples: - default: &269 + default: &271 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17275,7 +17314,7 @@ paths: application/json: schema: *114 examples: - default: &270 + default: &272 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17309,7 +17348,7 @@ paths: application/json: schema: *112 examples: - default: &271 + default: &273 value: id: 23 name: MBP @@ -17533,7 +17572,7 @@ paths: - *91 - *111 responses: - '200': &272 + '200': &274 description: Response content: application/json: @@ -17590,7 +17629,7 @@ paths: parameters: - *91 - *111 - - &273 + - &275 name: name description: The name of a self-hosted runner's custom label. in: path @@ -17720,7 +17759,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &287 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -17749,7 +17788,7 @@ paths: - key_id - key examples: - default: &286 + default: &288 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18160,7 +18199,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *91 - - &259 + - &261 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -18685,7 +18724,7 @@ paths: repository_id: type: integer examples: - default: &299 + default: &301 value: attestations: - bundle: @@ -18922,7 +18961,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *91 - - &325 + - &327 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -18932,7 +18971,7 @@ paths: schema: &127 type: string description: The name of the tool used to generate the code scanning analysis. - - &326 + - &328 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -18955,7 +18994,7 @@ paths: be returned. in: query required: false - schema: &328 + schema: &330 type: string description: State of a code scanning alert. enum: @@ -18978,7 +19017,7 @@ paths: be returned. in: query required: false - schema: &329 + schema: &331 type: string description: Severity of a code scanning alert. enum: @@ -19004,7 +19043,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: &330 + instances_url: &332 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19026,7 +19065,7 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: &331 + dismissed_reason: &333 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19035,13 +19074,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &332 + dismissed_comment: &334 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &333 + rule: &335 type: object properties: id: @@ -19094,7 +19133,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &334 + tool: &336 type: object properties: name: *127 @@ -19104,15 +19143,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *128 - most_recent_instance: &335 + most_recent_instance: &337 type: object properties: - ref: &327 + ref: &329 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &341 + analysis_key: &343 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19123,7 +19162,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &342 + category: &344 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20562,7 +20601,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &355 + properties: &357 name: type: string description: The name of the machine. @@ -20604,7 +20643,7 @@ paths: - ready - in_progress nullable: true - required: &356 + required: &358 - name - display_name - operating_system @@ -21472,7 +21511,7 @@ paths: - updated_at - visibility examples: - default: &357 + default: &359 value: total_count: 2 secrets: @@ -21510,7 +21549,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -21539,7 +21578,7 @@ paths: - key_id - key examples: - default: &359 + default: &361 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21571,7 +21610,7 @@ paths: application/json: schema: *135 examples: - default: &361 + default: &363 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -22598,7 +22637,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -22615,7 +22654,7 @@ paths: - key_id - key examples: - default: &389 + default: &391 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23890,7 +23929,7 @@ paths: application/json: schema: *22 examples: - default: &427 + default: &429 value: id: 1 account: @@ -24115,7 +24154,7 @@ paths: required: true content: application/json: - schema: &428 + schema: &430 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -24726,7 +24765,7 @@ paths: application/json: schema: *170 examples: - default: &354 + default: &356 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -25949,7 +25988,7 @@ paths: parameters: - *91 - *177 - - &572 + - &574 name: repo_name description: repo_name parameter in: path @@ -26920,7 +26959,7 @@ paths: - nuget - container - *91 - - &574 + - &576 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -26961,7 +27000,7 @@ paths: default: *185 '403': *29 '401': *25 - '400': &576 + '400': &578 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28297,7 +28336,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &246 + '410': &248 description: Gone content: application/json: @@ -29169,7 +29208,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &250 title: Full Repository description: Full Repository type: object @@ -29562,7 +29601,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &376 + properties: &378 url: type: string format: uri @@ -29578,7 +29617,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &377 + required: &379 - url - key - name @@ -29667,7 +29706,7 @@ paths: - network_count - subscribers_count examples: - default: &250 + default: &252 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -30188,7 +30227,7 @@ paths: - *91 - *18 - *20 - - &512 + - &514 name: targets description: | A comma-separated list of rule targets to filter by. @@ -30466,7 +30505,7 @@ paths: type: object description: A repository rule. oneOf: - - &494 + - &496 title: creation description: Only allow users with bypass permission to create matching refs. @@ -30478,7 +30517,7 @@ paths: type: string enum: - creation - - &495 + - &497 title: update description: Only allow users with bypass permission to update matching refs. @@ -30499,7 +30538,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &497 + - &499 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -30511,7 +30550,7 @@ paths: type: string enum: - deletion - - &498 + - &500 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -30523,7 +30562,7 @@ paths: type: string enum: - required_linear_history - - &499 + - &501 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -30601,7 +30640,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &500 + - &502 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -30625,7 +30664,7 @@ paths: type: string required: - required_deployment_environments - - &501 + - &503 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -30637,7 +30676,7 @@ paths: type: string enum: - required_signatures - - &502 + - &504 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -30683,7 +30722,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &503 + - &505 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -30731,7 +30770,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &504 + - &506 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -30743,7 +30782,7 @@ paths: type: string enum: - non_fast_forward - - &505 + - &507 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -30779,7 +30818,7 @@ paths: required: - operator - pattern - - &506 + - &508 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -30815,7 +30854,7 @@ paths: required: - operator - pattern - - &507 + - &509 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -30851,7 +30890,7 @@ paths: required: - operator - pattern - - &508 + - &510 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -30887,7 +30926,7 @@ paths: required: - operator - pattern - - &509 + - &511 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31013,7 +31052,7 @@ paths: maximum: 100 required: - max_file_size - - &510 + - &512 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31063,7 +31102,7 @@ paths: - repository_id required: - workflows - - &511 + - &513 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -31300,7 +31339,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *91 - - &513 + - &515 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -31316,7 +31355,7 @@ paths: in: query schema: type: integer - - &514 + - &516 name: time_period description: |- The time period to filter by. @@ -31332,14 +31371,14 @@ paths: - week - month default: day - - &515 + - &517 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &516 + - &518 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -31359,7 +31398,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &519 title: Rule Suites description: Response type: array @@ -31414,7 +31453,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &518 + default: &520 value: - id: 21 actor_id: 12 @@ -31458,7 +31497,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *91 - - &519 + - &521 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -31474,7 +31513,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: Rule Suite description: Response type: object @@ -31573,7 +31612,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &521 + default: &523 value: id: 21 actor_id: 12 @@ -31791,7 +31830,7 @@ paths: - *42 - *20 - *18 - - &523 + - &525 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -31801,7 +31840,7 @@ paths: required: false schema: type: string - - &524 + - &526 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -31812,6 +31851,8 @@ paths: schema: type: string - *218 + - *219 + - *220 responses: '200': description: Response @@ -31819,9 +31860,9 @@ paths: application/json: schema: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 headers: Link: *39 '404': *7 @@ -31891,7 +31932,7 @@ paths: application/json: schema: type: array - items: &530 + items: &532 description: A repository security advisory. type: object properties: @@ -32111,7 +32152,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 credits_detailed: type: array nullable: true @@ -32121,7 +32162,7 @@ paths: type: object properties: user: *19 - type: *221 + type: *223 state: type: string description: The state of the user's acceptance of the @@ -32182,7 +32223,7 @@ paths: - private_fork additionalProperties: false examples: - default: &531 + default: &533 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -32572,7 +32613,7 @@ paths: application/json: schema: type: array - items: &473 + items: &475 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32662,7 +32703,7 @@ paths: description: Response content: application/json: - schema: &590 + schema: &592 type: object properties: total_minutes_used: @@ -32732,7 +32773,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &591 + default: &593 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -32768,7 +32809,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &594 type: object properties: total_gigabytes_bandwidth_used: @@ -32786,7 +32827,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &593 + default: &595 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -32818,7 +32859,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &596 type: object properties: days_left_in_billing_cycle: @@ -32836,7 +32877,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &595 + default: &597 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33037,7 +33078,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -33347,7 +33388,7 @@ paths: - repos_count - organization examples: - default: &223 + default: &225 value: id: 1 node_id: MDQ6VGVhbTE= @@ -33424,9 +33465,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 x-github: githubCloudOnly: false @@ -33510,16 +33551,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '201': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 '422': *16 '403': *29 @@ -33589,7 +33630,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -33688,7 +33729,7 @@ paths: - updated_at - url examples: - default: &545 + default: &547 value: - author: login: octocat @@ -33797,9 +33838,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &225 + default: &227 value: author: login: octocat @@ -33873,7 +33914,7 @@ paths: parameters: - *91 - *178 - - &226 + - &228 name: discussion_number description: The number that identifies the discussion. in: path @@ -33885,9 +33926,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33911,7 +33952,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: false content: @@ -33934,9 +33975,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &546 + default: &548 value: author: login: octocat @@ -34008,7 +34049,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 responses: '204': description: Response @@ -34036,7 +34077,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 - *42 - *18 - *20 @@ -34047,7 +34088,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -34119,7 +34160,7 @@ paths: - updated_at - url examples: - default: &547 + default: &549 value: - author: login: octocat @@ -34189,7 +34230,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: true content: @@ -34211,9 +34252,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &228 + default: &230 value: author: login: octocat @@ -34281,8 +34322,8 @@ paths: parameters: - *91 - *178 - - *226 - - &229 + - *228 + - &231 name: comment_number description: The number that identifies the comment. in: path @@ -34294,9 +34335,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34320,8 +34361,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 requestBody: required: true content: @@ -34343,9 +34384,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &548 + default: &550 value: author: login: octocat @@ -34411,8 +34452,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 responses: '204': description: Response @@ -34440,8 +34481,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -34467,7 +34508,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -34510,7 +34551,7 @@ paths: - content - created_at examples: - default: &232 + default: &234 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -34562,8 +34603,8 @@ paths: parameters: - *91 - *178 - - *226 - - *229 + - *228 + - *231 requestBody: required: true content: @@ -34596,9 +34637,9 @@ paths: team discussion comment content: application/json: - schema: *230 + schema: *232 examples: - default: &231 + default: &233 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -34627,9 +34668,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34654,9 +34695,9 @@ paths: parameters: - *91 - *178 - - *226 - - *229 - - &233 + - *228 + - *231 + - &235 name: reaction_id description: The unique identifier of the reaction. in: path @@ -34690,7 +34731,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -34716,9 +34757,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -34746,7 +34787,7 @@ paths: parameters: - *91 - *178 - - *226 + - *228 requestBody: required: true content: @@ -34778,16 +34819,16 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34812,8 +34853,8 @@ paths: parameters: - *91 - *178 - - *226 - - *233 + - *228 + - *235 responses: '204': description: Response @@ -34934,7 +34975,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &236 title: Team Membership description: Team Membership type: object @@ -34961,7 +35002,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &549 + response-if-user-is-a-team-maintainer: &551 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -35024,9 +35065,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-users-membership-with-team-is-now-pending: &550 + response-if-users-membership-with-team-is-now-pending: &552 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -35100,7 +35141,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Team Project description: A team's access to a project. type: object @@ -35168,7 +35209,7 @@ paths: - updated_at - permissions examples: - default: &551 + default: &553 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -35231,7 +35272,7 @@ paths: parameters: - *91 - *178 - - &236 + - &238 name: project_id description: The unique identifier of the project. in: path @@ -35243,9 +35284,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &552 + default: &554 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -35307,7 +35348,7 @@ paths: parameters: - *91 - *178 - - *236 + - *238 requestBody: required: false content: @@ -35373,7 +35414,7 @@ paths: parameters: - *91 - *178 - - *236 + - *238 responses: '204': description: Response @@ -35441,14 +35482,14 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &553 + schema: &555 title: Team Repository description: A team's access to a repository. type: object @@ -36019,8 +36060,8 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -36067,8 +36108,8 @@ paths: parameters: - *91 - *178 - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -36105,7 +36146,7 @@ paths: type: array items: *166 examples: - response-if-child-teams-exist: &554 + response-if-child-teams-exist: &556 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -36229,7 +36270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &239 + - &241 name: card_id description: The unique identifier of the card. in: path @@ -36241,7 +36282,7 @@ paths: description: Response content: application/json: - schema: &240 + schema: &242 title: Project Card description: Project cards represent a scope of work. type: object @@ -36308,7 +36349,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &243 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -36358,7 +36399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *239 + - *241 requestBody: required: false content: @@ -36385,9 +36426,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '304': *37 '403': *29 '401': *25 @@ -36408,7 +36449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *239 + - *241 responses: '204': description: Response @@ -36446,7 +36487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *239 + - *241 requestBody: required: true content: @@ -36551,7 +36592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &242 + - &244 name: column_id description: The unique identifier of the column. in: path @@ -36563,7 +36604,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 title: Project Column description: Project columns contain cards of work. type: object @@ -36609,7 +36650,7 @@ paths: - created_at - updated_at examples: - default: &244 + default: &246 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -36638,7 +36679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *242 + - *244 requestBody: required: true content: @@ -36662,9 +36703,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '304': *37 '403': *29 '401': *25 @@ -36683,7 +36724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *242 + - *244 responses: '204': description: Response @@ -36706,7 +36747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *242 + - *244 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -36727,7 +36768,7 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: default: value: @@ -36780,7 +36821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *242 + - *244 requestBody: required: true content: @@ -36820,9 +36861,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *243 '304': *37 '403': *29 '401': *25 @@ -36872,7 +36913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *242 + - *244 requestBody: required: true content: @@ -36928,7 +36969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *236 + - *238 responses: '200': description: Response @@ -36936,7 +36977,7 @@ paths: application/json: schema: *197 examples: - default: &245 + default: &247 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -36989,7 +37030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *236 + - *238 requestBody: required: false content: @@ -37037,7 +37078,7 @@ paths: application/json: schema: *197 examples: - default: *245 + default: *247 '404': description: Not Found if the authenticated user does not have access to the project @@ -37058,7 +37099,7 @@ paths: items: type: string '401': *25 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -37076,7 +37117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *236 + - *238 responses: '204': description: Delete Success @@ -37097,7 +37138,7 @@ paths: items: type: string '401': *25 - '410': *246 + '410': *248 '404': *7 x-github: githubCloudOnly: false @@ -37120,7 +37161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *236 + - *238 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -37172,7 +37213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *236 + - *238 - *123 requestBody: required: false @@ -37220,7 +37261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *236 + - *238 - *123 responses: '204': @@ -37249,7 +37290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *236 + - *238 - *123 responses: '200': @@ -37317,7 +37358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *236 + - *238 - *18 - *20 responses: @@ -37327,7 +37368,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -37359,7 +37400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *236 + - *238 requestBody: required: true content: @@ -37382,7 +37423,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: value: @@ -37443,7 +37484,7 @@ paths: resources: type: object properties: - core: &247 + core: &249 title: Rate Limit type: object properties: @@ -37460,19 +37501,19 @@ paths: - remaining - reset - used - graphql: *247 - search: *247 - code_search: *247 - source_import: *247 - integration_manifest: *247 - code_scanning_upload: *247 - actions_runner_registration: *247 - scim: *247 - dependency_snapshots: *247 + graphql: *249 + search: *249 + code_search: *249 + source_import: *249 + integration_manifest: *249 + code_scanning_upload: *249 + actions_runner_registration: *249 + scim: *249 + dependency_snapshots: *249 required: - core - search - rate: *247 + rate: *249 required: - rate - resources @@ -37571,14 +37612,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: default-response: summary: Default response @@ -38079,7 +38120,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *249 + '301': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38097,8 +38138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -38334,10 +38375,10 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 - '307': &251 + default: *252 + '307': &253 description: Temporary Redirect content: application/json: @@ -38366,8 +38407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -38389,7 +38430,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *251 + '307': *253 '404': *7 x-github: githubCloudOnly: false @@ -38412,11 +38453,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - - &277 + - &279 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -38439,7 +38480,7 @@ paths: type: integer artifacts: type: array - items: &252 + items: &254 title: Artifact description: An artifact type: object @@ -38510,7 +38551,7 @@ paths: - expires_at - updated_at examples: - default: &278 + default: &280 value: total_count: 2 artifacts: @@ -38569,9 +38610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *237 - - *238 - - &253 + - *239 + - *240 + - &255 name: artifact_id description: The unique identifier of the artifact. in: path @@ -38583,7 +38624,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -38620,9 +38661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *237 - - *238 - - *253 + - *239 + - *240 + - *255 responses: '204': description: Response @@ -38646,9 +38687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *237 - - *238 - - *253 + - *239 + - *240 + - *255 - name: archive_format in: path required: true @@ -38662,7 +38703,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': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38685,14 +38726,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -38718,11 +38759,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - - &255 + - &257 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -38756,7 +38797,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &258 title: Repository actions caches description: Repository actions caches type: object @@ -38798,7 +38839,7 @@ paths: - total_count - actions_caches examples: - default: &257 + default: &259 value: total_count: 1 actions_caches: @@ -38830,23 +38871,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *237 - - *238 + - *239 + - *240 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *255 + - *257 responses: '200': description: Response content: application/json: - schema: *256 + schema: *258 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38866,8 +38907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *237 - - *238 + - *239 + - *240 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -38898,9 +38939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *237 - - *238 - - &258 + - *239 + - *240 + - &260 name: job_id description: The unique identifier of the job. in: path @@ -38912,7 +38953,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &283 title: Job description: Information of a job execution in a workflow run type: object @@ -39219,9 +39260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *237 - - *238 - - *258 + - *239 + - *240 + - *260 responses: '302': description: Response @@ -39249,9 +39290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *237 - - *238 - - *258 + - *239 + - *240 + - *260 requestBody: required: false content: @@ -39296,8 +39337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Status response @@ -39347,8 +39388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -39411,8 +39452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -39430,7 +39471,7 @@ paths: type: integer secrets: type: array - items: &283 + items: &285 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -39450,7 +39491,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &286 value: total_count: 2 secrets: @@ -39483,9 +39524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *237 - - *238 - - *259 + - *239 + - *240 + - *261 - *20 responses: '200': @@ -39502,7 +39543,7 @@ paths: type: integer variables: type: array - items: &287 + items: &289 title: Actions Variable type: object properties: @@ -39532,7 +39573,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &290 value: total_count: 2 variables: @@ -39565,8 +39606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39575,11 +39616,11 @@ paths: schema: type: object properties: - enabled: &261 + enabled: &263 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *100 - selected_actions_url: *260 + selected_actions_url: *262 required: - enabled examples: @@ -39606,8 +39647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -39618,7 +39659,7 @@ paths: schema: type: object properties: - enabled: *261 + enabled: *263 allowed_actions: *100 required: - enabled @@ -39648,14 +39689,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &262 + schema: &264 type: object properties: access_level: @@ -39672,7 +39713,7 @@ paths: required: - access_level examples: - default: &263 + default: &265 value: access_level: organization x-github: @@ -39696,15 +39737,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: application/json: - schema: *262 + schema: *264 examples: - default: *263 + default: *265 responses: '204': description: Response @@ -39728,8 +39769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39756,8 +39797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -39789,14 +39830,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: default: *106 x-github: @@ -39819,8 +39860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Success response @@ -39831,7 +39872,7 @@ paths: required: true content: application/json: - schema: *265 + schema: *267 examples: default: *106 x-github: @@ -39860,8 +39901,8 @@ paths: in: query schema: type: string - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -39905,8 +39946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -39914,9 +39955,9 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: - default: *267 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39938,8 +39979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -39982,7 +40023,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *268 + '201': *270 '404': *7 '422': *8 x-github: @@ -40012,8 +40053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -40021,7 +40062,7 @@ paths: application/json: schema: *114 examples: - default: *269 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40049,8 +40090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -40058,7 +40099,7 @@ paths: application/json: schema: *114 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40080,8 +40121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '200': @@ -40090,7 +40131,7 @@ paths: application/json: schema: *112 examples: - default: *271 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40111,8 +40152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '204': @@ -40138,8 +40179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: '200': *116 @@ -40164,8 +40205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 requestBody: required: true @@ -40214,8 +40255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 requestBody: required: true @@ -40265,11 +40306,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 responses: - '200': *272 + '200': *274 '404': *7 x-github: githubCloudOnly: false @@ -40296,10 +40337,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *111 - - *273 + - *275 responses: '200': *116 '404': *7 @@ -40327,9 +40368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *237 - - *238 - - &291 + - *239 + - *240 + - &293 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -40337,7 +40378,7 @@ paths: required: false schema: type: string - - &292 + - &294 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -40345,7 +40386,7 @@ paths: required: false schema: type: string - - &293 + - &295 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -40354,7 +40395,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -40381,7 +40422,7 @@ paths: - pending - *18 - *20 - - &295 + - &297 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -40390,7 +40431,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -40399,13 +40440,13 @@ paths: schema: type: boolean default: false - - &296 + - &298 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &297 + - &299 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -40428,7 +40469,7 @@ paths: type: integer workflow_runs: type: array - items: &275 + items: &277 title: Workflow Run description: An invocation of a workflow type: object @@ -40523,7 +40564,7 @@ paths: that triggered the run. type: array nullable: true - items: &316 + items: &318 title: Pull Request Minimal type: object properties: @@ -40642,7 +40683,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &320 + properties: &322 id: type: string description: SHA for the commit @@ -40693,7 +40734,7 @@ paths: - name - email nullable: true - required: &321 + required: &323 - id - tree_id - message @@ -40740,7 +40781,7 @@ paths: - workflow_url - pull_requests examples: - default: &298 + default: &300 value: total_count: 1 workflow_runs: @@ -40976,24 +41017,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *237 - - *238 - - &276 + - *239 + - *240 + - &278 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *274 + - *276 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &279 + default: &281 value: id: 30433642 name: Build @@ -41234,9 +41275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '204': description: Response @@ -41259,9 +41300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -41380,9 +41421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '201': description: Response @@ -41415,12 +41456,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 - *18 - *20 - - *277 + - *279 responses: '200': description: Response @@ -41436,9 +41477,9 @@ paths: type: integer artifacts: type: array - items: *252 + items: *254 examples: - default: *278 + default: *280 headers: Link: *39 x-github: @@ -41462,25 +41503,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *237 - - *238 - - *276 - - &280 + - *239 + - *240 + - *278 + - &282 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *274 + - *276 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *279 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41503,10 +41544,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *237 - - *238 - - *276 - - *280 + - *239 + - *240 + - *278 + - *282 - *18 - *20 responses: @@ -41524,9 +41565,9 @@ paths: type: integer jobs: type: array - items: *281 + items: *283 examples: - default: &282 + default: &284 value: total_count: 1 jobs: @@ -41639,10 +41680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *237 - - *238 - - *276 - - *280 + - *239 + - *240 + - *278 + - *282 responses: '302': description: Response @@ -41670,9 +41711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '202': description: Response @@ -41705,9 +41746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: true content: @@ -41774,9 +41815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '202': description: Response @@ -41809,9 +41850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -41841,9 +41882,9 @@ paths: type: integer jobs: type: array - items: *281 + items: *283 examples: - default: *282 + default: *284 headers: Link: *39 x-github: @@ -41868,9 +41909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '302': description: Response @@ -41897,9 +41938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '204': description: Response @@ -41926,9 +41967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -41988,7 +42029,7 @@ paths: items: type: object properties: - type: &397 + type: &399 type: string description: The type of reviewer. enum: @@ -42073,9 +42114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: true content: @@ -42122,7 +42163,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -42228,7 +42269,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -42284,9 +42325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: false content: @@ -42330,9 +42371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 requestBody: required: false content: @@ -42378,9 +42419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *237 - - *238 - - *276 + - *239 + - *240 + - *278 responses: '200': description: Response @@ -42517,8 +42558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -42536,9 +42577,9 @@ paths: type: integer secrets: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 headers: Link: *39 x-github: @@ -42563,16 +42604,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42594,17 +42635,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: &410 + default: &412 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42630,8 +42671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -42686,8 +42727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -42713,9 +42754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *237 - - *238 - - *259 + - *239 + - *240 + - *261 - *20 responses: '200': @@ -42732,9 +42773,9 @@ paths: type: integer variables: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: Link: *39 x-github: @@ -42757,8 +42798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -42810,17 +42851,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: &411 + default: &413 value: name: USERNAME value: octocat @@ -42846,8 +42887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 requestBody: required: true @@ -42890,8 +42931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 responses: '204': @@ -42917,8 +42958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -42936,7 +42977,7 @@ paths: type: integer workflows: type: array - items: &289 + items: &291 title: Workflow description: A GitHub Actions workflow type: object @@ -43043,9 +43084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *237 - - *238 - - &290 + - *239 + - *240 + - &292 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -43060,7 +43101,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -43093,9 +43134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43120,9 +43161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43173,9 +43214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '204': description: Response @@ -43200,19 +43241,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *237 - - *238 - - *290 - - *291 + - *239 + - *240 - *292 - *293 - *294 - - *18 - - *20 - *295 - - *274 - *296 + - *18 + - *20 - *297 + - *276 + - *298 + - *299 responses: '200': description: Response @@ -43228,9 +43269,9 @@ paths: type: integer workflow_runs: type: array - items: *275 + items: *277 examples: - default: *298 + default: *300 headers: Link: *39 x-github: @@ -43256,9 +43297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *237 - - *238 - - *290 + - *239 + - *240 + - *292 responses: '200': description: Response @@ -43319,8 +43360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *237 - - *238 + - *239 + - *240 - *42 - *18 - *43 @@ -43484,8 +43525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -43522,8 +43563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *237 - - *238 + - *239 + - *240 - name: assignee in: path required: true @@ -43559,8 +43600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -43672,8 +43713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *43 - *44 @@ -43717,7 +43758,7 @@ paths: repository_id: type: integer examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43737,8 +43778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -43746,7 +43787,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 title: Autolink reference description: An autolink reference. type: object @@ -43796,8 +43837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -43836,9 +43877,9 @@ paths: description: response content: application/json: - schema: *300 + schema: *302 examples: - default: &301 + default: &303 value: id: 1 key_prefix: TICKET- @@ -43869,9 +43910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *237 - - *238 - - &302 + - *239 + - *240 + - &304 name: autolink_id description: The unique identifier of the autolink. in: path @@ -43883,9 +43924,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 '404': *7 x-github: githubCloudOnly: false @@ -43905,9 +43946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *237 - - *238 - - *302 + - *239 + - *240 + - *304 responses: '204': description: Response @@ -43931,8 +43972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response if Dependabot is enabled @@ -43980,8 +44021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -44002,8 +44043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -44023,8 +44064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *237 - - *238 + - *239 + - *240 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -44062,7 +44103,7 @@ paths: - url protected: type: boolean - protection: &304 + protection: &306 title: Branch Protection description: Branch Protection type: object @@ -44104,7 +44145,7 @@ paths: required: - contexts - checks - enforce_admins: &307 + enforce_admins: &309 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -44119,7 +44160,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &309 + required_pull_request_reviews: &311 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -44195,7 +44236,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &306 + restrictions: &308 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -44502,9 +44543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *237 - - *238 - - &305 + - *239 + - *240 + - &307 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -44518,14 +44559,14 @@ paths: description: Response content: application/json: - schema: &315 + schema: &317 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &365 + commit: &367 title: Commit description: Commit type: object @@ -44559,7 +44600,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &303 + properties: &305 name: type: string example: '"Chris Wanstrath"' @@ -44574,7 +44615,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true message: type: string @@ -44595,7 +44636,7 @@ paths: required: - sha - url - verification: &417 + verification: &419 title: Verification type: object properties: @@ -44661,7 +44702,7 @@ paths: type: integer files: type: array - items: &380 + items: &382 title: Diff Entry description: Diff Entry type: object @@ -44744,7 +44785,7 @@ paths: - self protected: type: boolean - protection: *304 + protection: *306 protection_url: type: string format: uri @@ -44850,7 +44891,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *249 + '301': *251 '404': *7 x-github: githubCloudOnly: false @@ -44872,15 +44913,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -45074,9 +45115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -45331,7 +45372,7 @@ paths: url: type: string format: uri - required_status_checks: &312 + required_status_checks: &314 title: Status Check Policy description: Status Check Policy type: object @@ -45483,7 +45524,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *306 + restrictions: *308 required_conversation_resolution: type: object properties: @@ -45595,9 +45636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45622,17 +45663,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &308 + default: &310 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -45654,17 +45695,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45683,9 +45724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45710,17 +45751,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &310 + default: &312 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -45816,9 +45857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -45916,9 +45957,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 '422': *16 x-github: githubCloudOnly: false @@ -45939,9 +45980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -45968,17 +46009,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &311 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -46001,17 +46042,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *311 + default: *313 '404': *7 x-github: githubCloudOnly: false @@ -46031,9 +46072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46058,17 +46099,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: &313 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -46094,9 +46135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46148,9 +46189,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *7 '422': *16 x-github: @@ -46172,9 +46213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46198,9 +46239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46234,9 +46275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46303,9 +46344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46369,9 +46410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: content: application/json: @@ -46437,15 +46478,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -46536,9 +46577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '204': description: Response @@ -46561,9 +46602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46573,7 +46614,7 @@ paths: type: array items: *6 examples: - default: &314 + default: &316 value: - id: 1 slug: octoapp @@ -46630,9 +46671,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46666,7 +46707,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46687,9 +46728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46723,7 +46764,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46744,9 +46785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -46780,7 +46821,7 @@ paths: type: array items: *6 examples: - default: *314 + default: *316 '422': *16 x-github: githubCloudOnly: false @@ -46802,9 +46843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -46834,9 +46875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46895,9 +46936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: false content: @@ -46956,9 +46997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: content: application/json: @@ -47017,9 +47058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 responses: '200': description: Response @@ -47053,9 +47094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47113,9 +47154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47173,9 +47214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47235,9 +47276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 requestBody: required: true content: @@ -47259,7 +47300,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -47374,8 +47415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -47654,7 +47695,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &319 title: CheckRun description: A check performed on the code of a given code change type: object @@ -47773,8 +47814,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *316 - deployment: &604 + items: *318 + deployment: &606 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -48054,9 +48095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *237 - - *238 - - &318 + - *239 + - *240 + - &320 name: check_run_id description: The unique identifier of the check run. in: path @@ -48068,9 +48109,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &319 + default: &321 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -48170,9 +48211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 requestBody: required: true content: @@ -48412,9 +48453,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *319 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48434,9 +48475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 - *18 - *20 responses: @@ -48533,9 +48574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *237 - - *238 - - *318 + - *239 + - *240 + - *320 responses: '201': description: Response @@ -48579,8 +48620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -48602,7 +48643,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &322 + schema: &324 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -48665,7 +48706,7 @@ paths: nullable: true pull_requests: type: array - items: *316 + items: *318 nullable: true app: title: GitHub app @@ -48687,12 +48728,12 @@ paths: type: string format: date-time nullable: true - head_commit: &630 + head_commit: &632 title: Simple Commit description: A commit. type: object - properties: *320 - required: *321 + properties: *322 + required: *323 latest_check_runs_count: type: integer check_runs_url: @@ -48720,7 +48761,7 @@ paths: - check_runs_url - pull_requests examples: - default: &323 + default: &325 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -49011,9 +49052,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49032,8 +49073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -49342,9 +49383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *237 - - *238 - - &324 + - *239 + - *240 + - &326 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -49356,9 +49397,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49381,17 +49422,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *237 - - *238 - - *324 - - &373 + - *239 + - *240 + - *326 + - &375 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &374 + - &376 name: status description: Returns check runs with the specified `status`. in: query @@ -49430,9 +49471,9 @@ paths: type: integer check_runs: type: array - items: *317 + items: *319 examples: - default: &375 + default: &377 value: total_count: 1 check_runs: @@ -49534,9 +49575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *237 - - *238 - - *324 + - *239 + - *240 + - *326 responses: '201': description: Response @@ -49569,21 +49610,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *237 - - *238 - - *325 - - *326 + - *239 + - *240 + - *327 + - *328 - *20 - *18 - - &339 + - &341 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *327 - - &340 + schema: *329 + - &342 name: pr description: The number of the pull request for the results you want to list. in: query @@ -49608,13 +49649,13 @@ paths: be returned. in: query required: false - schema: *328 + schema: *330 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *329 + schema: *331 responses: '200': description: Response @@ -49630,7 +49671,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: *330 + instances_url: *332 state: *129 fixed_at: *125 dismissed_by: @@ -49641,11 +49682,11 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: *331 - dismissed_comment: *332 - rule: *333 - tool: *334 - most_recent_instance: *335 + dismissed_reason: *333 + dismissed_comment: *334 + rule: *335 + tool: *336 + most_recent_instance: *337 required: - number - created_at @@ -49761,7 +49802,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &336 + '403': &338 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -49788,9 +49829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *237 - - *238 - - &337 + - *239 + - *240 + - &339 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -49804,7 +49845,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 type: object properties: number: *48 @@ -49812,7 +49853,7 @@ paths: updated_at: *124 url: *50 html_url: *51 - instances_url: *330 + instances_url: *332 state: *129 fixed_at: *125 dismissed_by: @@ -49823,8 +49864,8 @@ paths: required: *5 nullable: true dismissed_at: *126 - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *333 + dismissed_comment: *334 rule: type: object properties: @@ -49878,8 +49919,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *334 - most_recent_instance: *335 + tool: *336 + most_recent_instance: *337 required: - number - created_at @@ -49968,7 +50009,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -49988,9 +50029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 requestBody: required: true content: @@ -50005,8 +50046,8 @@ paths: enum: - open - dismissed - dismissed_reason: *331 - dismissed_comment: *332 + dismissed_reason: *333 + dismissed_comment: *334 required: - state examples: @@ -50021,7 +50062,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -50096,7 +50137,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &345 + '403': &347 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -50123,13 +50164,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 - *20 - *18 - - *339 - - *340 + - *341 + - *342 responses: '200': description: Response @@ -50137,7 +50178,7 @@ paths: application/json: schema: type: array - items: *335 + items: *337 examples: default: value: @@ -50176,7 +50217,7 @@ paths: end_column: 50 classifications: - source - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50210,25 +50251,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *237 - - *238 - - *325 - - *326 + - *239 + - *240 + - *327 + - *328 - *20 - *18 - - *340 + - *342 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *327 + schema: *329 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &343 + schema: &345 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -50249,23 +50290,23 @@ paths: application/json: schema: type: array - items: &344 + items: &346 type: object properties: - ref: *327 - commit_sha: &353 + ref: *329 + commit_sha: &355 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *341 + analysis_key: *343 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *342 + category: *344 error: type: string example: error reading field xyz @@ -50289,8 +50330,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *343 - tool: *334 + sarif_id: *345 + tool: *336 deletable: type: boolean warning: @@ -50351,7 +50392,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50387,8 +50428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -50401,7 +50442,7 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: response: summary: application/json response @@ -50455,7 +50496,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50537,8 +50578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -50591,7 +50632,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *345 + '403': *347 '404': *7 '503': *60 x-github: @@ -50613,8 +50654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -50622,7 +50663,7 @@ paths: application/json: schema: type: array - items: &346 + items: &348 title: CodeQL Database description: A CodeQL database. type: object @@ -50733,7 +50774,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50762,8 +50803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: language in: path description: The language of the CodeQL database. @@ -50775,7 +50816,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *348 examples: default: value: @@ -50807,9 +50848,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &382 + '302': &384 description: Found - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -50837,8 +50878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -50847,7 +50888,7 @@ paths: type: object additionalProperties: false properties: - language: &347 + language: &349 type: string description: The language targeted by the CodeQL query enum: @@ -50925,7 +50966,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &351 + schema: &353 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -50935,7 +50976,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *347 + query_language: *349 query_pack_url: type: string description: The download url for the query pack. @@ -50982,7 +51023,7 @@ paths: items: type: object properties: - repository: &348 + repository: &350 title: Repository Identifier description: Repository Identifier type: object @@ -51018,7 +51059,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &352 + analysis_status: &354 type: string description: The new status of the CodeQL variant analysis repository task. @@ -51050,7 +51091,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &349 + access_mismatch_repos: &351 type: object properties: repository_count: @@ -51064,7 +51105,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *348 + items: *350 required: - repository_count - repositories @@ -51086,8 +51127,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *349 - over_limit_repos: *349 + no_codeql_db_repos: *351 + over_limit_repos: *351 required: - access_mismatch_repos - not_found_repos @@ -51103,7 +51144,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &350 + value: &352 summary: Default response value: id: 1 @@ -51255,10 +51296,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *350 + value: *352 repository_lists: summary: Response for a successful variant analysis submission - value: *350 + value: *352 '404': *7 '422': description: Unable to process variant analysis submission @@ -51286,8 +51327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *237 - - *238 + - *239 + - *240 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -51299,9 +51340,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *350 + default: *352 '404': *7 '503': *60 x-github: @@ -51324,7 +51365,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *237 + - *239 - name: repo in: path description: The name of the controller repository. @@ -51359,7 +51400,7 @@ paths: type: object properties: repository: *52 - analysis_status: *352 + analysis_status: *354 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -51484,8 +51525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -51546,7 +51587,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *336 + '403': *338 '404': *7 '503': *60 x-github: @@ -51567,8 +51608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -51638,7 +51679,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *345 + '403': *347 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -51703,8 +51744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -51712,7 +51753,7 @@ paths: schema: type: object properties: - commit_sha: *353 + commit_sha: *355 ref: type: string description: |- @@ -51770,7 +51811,7 @@ paths: schema: type: object properties: - id: *343 + id: *345 url: type: string description: The REST API URL for checking the status of the upload. @@ -51784,7 +51825,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *345 + '403': *347 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -51807,8 +51848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *237 - - *238 + - *239 + - *240 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -51854,7 +51895,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *336 + '403': *338 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -51879,8 +51920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -51957,8 +51998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -52078,8 +52119,8 @@ paths: parameters: - *18 - *20 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -52393,8 +52434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -52459,7 +52500,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -52467,7 +52508,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '400': *15 '401': *25 '403': *29 @@ -52496,8 +52537,8 @@ paths: parameters: - *18 - *20 - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -52561,8 +52602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -52597,14 +52638,14 @@ paths: type: integer machines: type: array - items: &561 + items: &563 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *355 - required: *356 + properties: *357 + required: *358 examples: - default: &562 + default: &564 value: total_count: 2 machines: @@ -52644,8 +52685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -52729,8 +52770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -52796,8 +52837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -52815,7 +52856,7 @@ paths: type: integer secrets: type: array - items: &360 + items: &362 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -52835,7 +52876,7 @@ paths: - created_at - updated_at examples: - default: *357 + default: *359 headers: Link: *39 x-github: @@ -52858,16 +52899,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52887,17 +52928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52917,8 +52958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -52971,8 +53012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -53001,8 +53042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *237 - - *238 + - *239 + - *240 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -53044,7 +53085,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &362 + properties: &364 login: type: string example: octocat @@ -53137,7 +53178,7 @@ paths: user_view_type: type: string example: public - required: &363 + required: &365 - avatar_url - events_url - followers_url @@ -53211,8 +53252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '204': @@ -53255,8 +53296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 requestBody: required: false @@ -53283,7 +53324,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &430 + schema: &432 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -53505,8 +53546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '204': @@ -53536,8 +53577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *237 - - *238 + - *239 + - *240 - *123 responses: '200': @@ -53558,8 +53599,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *362 - required: *363 + properties: *364 + required: *365 nullable: true required: - permission @@ -53614,8 +53655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -53625,7 +53666,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Commit Comment description: Commit Comment type: object @@ -53683,7 +53724,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &369 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -53742,17 +53783,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &368 + default: &370 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -53809,8 +53850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -53833,7 +53874,7 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: default: value: @@ -53884,8 +53925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -53907,8 +53948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -53935,9 +53976,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -53958,8 +53999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -53992,16 +54033,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -54023,10 +54064,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -54074,8 +54115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *237 - - *238 + - *239 + - *240 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -54131,9 +54172,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: &481 + default: &483 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -54226,9 +54267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *237 - - *238 - - &366 + - *239 + - *240 + - &368 name: commit_sha description: The SHA of the commit. in: path @@ -54300,9 +54341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 - *18 - *20 responses: @@ -54312,9 +54353,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *367 + default: *369 headers: Link: *39 x-github: @@ -54342,9 +54383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 requestBody: required: true content: @@ -54379,9 +54420,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *368 + default: *370 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -54409,9 +54450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 - *18 - *20 responses: @@ -54421,7 +54462,7 @@ paths: application/json: schema: type: array - items: &471 + items: &473 title: Pull Request Simple description: Pull Request Simple type: object @@ -54527,8 +54568,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true active_lock_reason: type: string @@ -54624,7 +54665,7 @@ paths: _links: type: object properties: - comments: &371 + comments: &373 title: Link description: Hypermedia Link type: object @@ -54633,13 +54674,13 @@ paths: type: string required: - href - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + commits: *373 + statuses: *373 + html: *373 + issue: *373 + review_comments: *373 + review_comment: *373 + self: *373 required: - comments - commits @@ -54650,7 +54691,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &474 + auto_merge: &476 title: Auto merge description: The status of auto merging a pull request. type: object @@ -54713,7 +54754,7 @@ paths: - author_association - auto_merge examples: - default: &472 + default: &474 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -55249,11 +55290,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 - - &372 + - &374 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -55268,9 +55309,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: - default: &458 + default: &460 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55382,11 +55423,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *237 - - *238 - - *372 - - *373 + - *239 + - *240 - *374 + - *375 + - *376 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -55420,9 +55461,9 @@ paths: type: integer check_runs: type: array - items: *317 + items: *319 examples: - default: *375 + default: *377 headers: Link: *39 x-github: @@ -55447,9 +55488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -55457,7 +55498,7 @@ paths: schema: type: integer example: 1 - - *373 + - *375 - *18 - *20 responses: @@ -55475,7 +55516,7 @@ paths: type: integer check_suites: type: array - items: *322 + items: *324 examples: default: value: @@ -55675,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - *18 - *20 responses: @@ -55875,9 +55916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *237 - - *238 - - *372 + - *239 + - *240 + - *374 - *18 - *20 responses: @@ -55887,7 +55928,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Status description: The status of a commit. type: object @@ -55968,7 +56009,7 @@ paths: site_admin: false headers: Link: *39 - '301': *249 + '301': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55996,8 +56037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -56026,20 +56067,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *376 - required: *377 + properties: *378 + required: *379 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &378 + properties: &380 url: type: string format: uri html_url: type: string format: uri - required: &379 + required: &381 - url - html_url nullable: true @@ -56053,26 +56094,26 @@ paths: contributing: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true readme: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true issue_template: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true pull_request_template: title: Community Health File type: object - properties: *378 - required: *379 + properties: *380 + required: *381 nullable: true required: - code_of_conduct @@ -56198,8 +56239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 - name: basehead @@ -56242,8 +56283,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *365 - merge_base_commit: *365 + base_commit: *367 + merge_base_commit: *367 status: type: string enum: @@ -56263,10 +56304,10 @@ paths: example: 6 commits: type: array - items: *365 + items: *367 files: type: array - items: *380 + items: *382 required: - url - html_url @@ -56549,8 +56590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -56691,7 +56732,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &381 + response-if-content-is-a-file: &383 summary: Response if content is a file value: type: file @@ -56823,7 +56864,7 @@ paths: - size - type - url - - &486 + - &488 title: Content File description: Content File type: object @@ -57024,7 +57065,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *381 + response-if-content-is-a-file: *383 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -57093,7 +57134,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *382 + '302': *384 '304': *37 x-github: githubCloudOnly: false @@ -57116,8 +57157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -57210,7 +57251,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: File Commit description: File Commit type: object @@ -57358,7 +57399,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: example-for-creating-a-file: value: @@ -57411,7 +57452,7 @@ paths: schema: oneOf: - *3 - - &412 + - &414 description: Repository rule violation was detected type: object properties: @@ -57432,7 +57473,7 @@ paths: items: type: object properties: - placeholder_id: &528 + placeholder_id: &530 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -57464,8 +57505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *237 - - *238 + - *239 + - *240 - name: path description: path parameter in: path @@ -57526,7 +57567,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -57580,8 +57621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *237 - - *238 + - *239 + - *240 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -57704,8 +57745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *139 - *140 - *141 @@ -57746,7 +57787,7 @@ paths: application/json: schema: type: array - items: &386 + items: &388 type: object description: A Dependabot alert. properties: @@ -57779,7 +57820,7 @@ paths: enum: - development - runtime - security_advisory: *384 + security_advisory: *386 security_vulnerability: *47 url: *50 html_url: *51 @@ -57810,7 +57851,7 @@ paths: nullable: true maxLength: 280 fixed_at: *125 - auto_dismissed_at: *385 + auto_dismissed_at: *387 required: - number - state @@ -58037,9 +58078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *237 - - *238 - - &387 + - *239 + - *240 + - &389 name: alert_number in: path description: |- @@ -58054,7 +58095,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -58164,9 +58205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *237 - - *238 - - *387 + - *239 + - *240 + - *389 requestBody: required: true content: @@ -58211,7 +58252,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -58340,8 +58381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -58359,7 +58400,7 @@ paths: type: integer secrets: type: array - items: &390 + items: &392 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -58412,16 +58453,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58441,15 +58482,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '200': description: Response content: application/json: - schema: *390 + schema: *392 examples: default: value: @@ -58475,8 +58516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 requestBody: required: true @@ -58529,8 +58570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *237 - - *238 + - *239 + - *240 - *118 responses: '204': @@ -58553,8 +58594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *237 - - *238 + - *239 + - *240 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -58714,8 +58755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -58918,8 +58959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -58994,7 +59035,7 @@ paths: - version - url additionalProperties: false - metadata: &391 + metadata: &393 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -59027,7 +59068,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *391 + metadata: *393 resolved: type: object description: A collection of resolved package dependencies. @@ -59040,7 +59081,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *391 + metadata: *393 relationship: type: string description: A notation of whether a dependency is requested @@ -59169,8 +59210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *237 - - *238 + - *239 + - *240 - name: sha description: The SHA recorded at creation time. in: query @@ -59210,9 +59251,9 @@ paths: application/json: schema: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 headers: Link: *39 x-github: @@ -59278,8 +59319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -59360,7 +59401,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: simple-example: summary: Simple example @@ -59433,9 +59474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *237 - - *238 - - &394 + - *239 + - *240 + - &396 name: deployment_id description: deployment_id parameter in: path @@ -59447,7 +59488,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -59512,9 +59553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 responses: '204': description: Response @@ -59536,9 +59577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 - *18 - *20 responses: @@ -59548,7 +59589,7 @@ paths: application/json: schema: type: array - items: &395 + items: &397 title: Deployment Status description: The status of a deployment. type: object @@ -59709,9 +59750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 requestBody: required: true content: @@ -59786,9 +59827,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &396 + default: &398 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -59844,9 +59885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *237 - - *238 - - *394 + - *239 + - *240 + - *396 - name: status_id in: path required: true @@ -59857,9 +59898,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *396 + default: *398 '404': *7 x-github: githubCloudOnly: false @@ -59884,8 +59925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -59941,8 +59982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -59959,7 +60000,7 @@ paths: type: integer environments: type: array - items: &398 + items: &400 title: Environment description: Details of a deployment environment type: object @@ -60011,7 +60052,7 @@ paths: type: type: string example: wait_timer - wait_timer: &400 + wait_timer: &402 type: integer example: 30 description: The amount of time to delay a job after @@ -60048,7 +60089,7 @@ paths: items: type: object properties: - type: *397 + type: *399 reviewer: anyOf: - *19 @@ -60072,7 +60113,7 @@ paths: - id - node_id - type - deployment_branch_policy: &401 + deployment_branch_policy: &403 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -60188,9 +60229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *237 - - *238 - - &399 + - *239 + - *240 + - &401 name: environment_name in: path required: true @@ -60203,9 +60244,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: &402 + default: &404 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -60289,9 +60330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: false content: @@ -60300,7 +60341,7 @@ paths: type: object nullable: true properties: - wait_timer: *400 + wait_timer: *402 prevent_self_review: type: boolean example: false @@ -60317,13 +60358,13 @@ paths: items: type: object properties: - type: *397 + type: *399 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *401 + deployment_branch_policy: *403 additionalProperties: false examples: default: @@ -60343,9 +60384,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: - default: *402 + default: *404 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -60369,9 +60410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 responses: '204': description: Default response @@ -60396,9 +60437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *18 - *20 responses: @@ -60416,7 +60457,7 @@ paths: example: 2 branch_policies: type: array - items: &403 + items: &405 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -60473,9 +60514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: true content: @@ -60521,9 +60562,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - example-wildcard: &404 + example-wildcard: &406 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -60565,10 +60606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - &405 + - *239 + - *240 + - *401 + - &407 name: branch_policy_id in: path required: true @@ -60580,9 +60621,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60601,10 +60642,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - *405 + - *239 + - *240 + - *401 + - *407 requestBody: required: true content: @@ -60632,9 +60673,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60653,10 +60694,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *237 - - *238 - - *399 - - *405 + - *239 + - *240 + - *401 + - *407 responses: '204': description: Response @@ -60681,9 +60722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 responses: '200': description: List of deployment protection rules @@ -60699,7 +60740,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &406 + items: &408 title: Deployment protection rule description: Deployment protection rule type: object @@ -60718,7 +60759,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &407 + app: &409 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -60817,9 +60858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 requestBody: content: application/json: @@ -60840,9 +60881,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *406 + schema: *408 examples: - default: &408 + default: &410 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -60877,9 +60918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *399 - - *238 - - *237 + - *401 + - *240 + - *239 - *20 - *18 responses: @@ -60898,7 +60939,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *407 + items: *409 examples: default: value: @@ -60933,10 +60974,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *237 - - *238 - - *399 - - &409 + - *239 + - *240 + - *401 + - &411 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -60948,9 +60989,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *408 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60971,10 +61012,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *399 - - *238 - - *237 - - *409 + - *401 + - *240 + - *239 + - *411 responses: '204': description: Response @@ -61000,9 +61041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *18 - *20 responses: @@ -61020,9 +61061,9 @@ paths: type: integer secrets: type: array - items: *283 + items: *285 examples: - default: *284 + default: *286 headers: Link: *39 x-github: @@ -61047,17 +61088,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 responses: '200': description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61079,18 +61120,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 responses: '200': description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *410 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61112,9 +61153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 requestBody: required: true @@ -61172,9 +61213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *118 responses: '204': @@ -61200,10 +61241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *237 - - *238 - - *399 - - *259 + - *239 + - *240 + - *401 + - *261 - *20 responses: '200': @@ -61220,9 +61261,9 @@ paths: type: integer variables: type: array - items: *287 + items: *289 examples: - default: *288 + default: *290 headers: Link: *39 x-github: @@ -61245,9 +61286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 requestBody: required: true content: @@ -61299,18 +61340,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *237 - - *238 - - *399 + - *239 + - *240 + - *401 - *121 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61331,10 +61372,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 - - *399 + - *401 requestBody: required: true content: @@ -61376,10 +61417,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *237 - - *238 + - *239 + - *240 - *121 - - *399 + - *401 responses: '204': description: Response @@ -61401,8 +61442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -61479,8 +61520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *237 - - *238 + - *239 + - *240 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -61639,8 +61680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -61672,9 +61713,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 '400': *15 '422': *16 '403': *29 @@ -61695,8 +61736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -61756,7 +61797,7 @@ paths: schema: oneOf: - *94 - - *412 + - *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61781,8 +61822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *237 - - *238 + - *239 + - *240 - name: file_sha in: path required: true @@ -61880,8 +61921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -61990,7 +62031,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &415 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -62198,15 +62239,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *237 - - *238 - - *366 + - *239 + - *240 + - *368 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -62261,9 +62302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *237 - - *238 - - &414 + - *239 + - *240 + - &416 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -62280,7 +62321,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Git Reference description: Git references within a repository type: object @@ -62355,17 +62396,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 responses: '200': description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &416 + default: &418 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -62394,8 +62435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62424,9 +62465,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -62452,9 +62493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 requestBody: required: true content: @@ -62483,9 +62524,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *416 + default: *418 '422': *16 '409': *131 x-github: @@ -62503,9 +62544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *237 - - *238 - - *414 + - *239 + - *240 + - *416 responses: '204': description: Response @@ -62557,8 +62598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62625,7 +62666,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: Git Tag description: Metadata for a Git tag type: object @@ -62676,7 +62717,7 @@ paths: - sha - type - url - verification: *417 + verification: *419 required: - sha - url @@ -62686,7 +62727,7 @@ paths: - tag - message examples: - default: &419 + default: &421 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -62757,8 +62798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *237 - - *238 + - *239 + - *240 - name: tag_sha in: path required: true @@ -62769,9 +62810,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *7 '409': *131 x-github: @@ -62795,8 +62836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -62869,7 +62910,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &422 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -62981,8 +63022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *237 - - *238 + - *239 + - *240 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -63005,7 +63046,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: default-response: summary: Default response @@ -63064,8 +63105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -63075,7 +63116,7 @@ paths: application/json: schema: type: array - items: &421 + items: &423 title: Webhook description: Webhooks for repositories. type: object @@ -63129,7 +63170,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &638 + last_response: &640 title: Hook Response type: object properties: @@ -63203,8 +63244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -63256,9 +63297,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &422 + default: &424 value: type: Repository id: 12345678 @@ -63306,17 +63347,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '200': description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '404': *7 x-github: githubCloudOnly: false @@ -63336,8 +63377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 requestBody: required: true @@ -63383,9 +63424,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 '422': *16 '404': *7 x-github: @@ -63403,8 +63444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63429,8 +63470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '200': @@ -63458,8 +63499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *154 requestBody: required: false @@ -63504,8 +63545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *18 - *155 @@ -63542,8 +63583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *17 responses: @@ -63572,8 +63613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 - *17 responses: @@ -63597,8 +63638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63624,8 +63665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *237 - - *238 + - *239 + - *240 - *154 responses: '204': @@ -63684,14 +63725,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &423 + schema: &425 title: Import description: A repository import from an external source. type: object @@ -63790,7 +63831,7 @@ paths: - html_url - authors_url examples: - default: &426 + default: &428 value: vcs: subversion use_lfs: true @@ -63806,7 +63847,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &424 + '503': &426 description: Unavailable due to service under maintenance. content: application/json: @@ -63835,8 +63876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -63884,7 +63925,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: default: value: @@ -63909,7 +63950,7 @@ paths: type: string '422': *16 '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63937,8 +63978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -63987,7 +64028,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: example-1: summary: Example 1 @@ -64035,7 +64076,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64058,12 +64099,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64089,9 +64130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *237 - - *238 - - &585 + - *239 + - *240 + - &587 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -64105,7 +64146,7 @@ paths: application/json: schema: type: array - items: &425 + items: &427 title: Porter Author description: Porter Author type: object @@ -64159,7 +64200,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,8 +64225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *237 - - *238 + - *239 + - *240 - name: author_id in: path required: true @@ -64215,7 +64256,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: default: value: @@ -64228,7 +64269,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64252,8 +64293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64294,7 +64335,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64322,8 +64363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -64350,11 +64391,11 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: *426 + default: *428 '422': *16 - '503': *424 + '503': *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,8 +64418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64386,8 +64427,8 @@ paths: application/json: schema: *22 examples: - default: *427 - '301': *249 + default: *429 + '301': *251 '404': *7 x-github: githubCloudOnly: false @@ -64407,8 +64448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -64421,7 +64462,7 @@ paths: properties: {} additionalProperties: false examples: - default: &429 + default: &431 value: limit: collaborators_only origin: repository @@ -64446,13 +64487,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: application/json: - schema: *428 + schema: *430 examples: default: summary: Example request body @@ -64466,7 +64507,7 @@ paths: application/json: schema: *161 examples: - default: *429 + default: *431 '409': description: Response x-github: @@ -64488,8 +64529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -64512,8 +64553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -64523,9 +64564,9 @@ paths: application/json: schema: type: array - items: *430 + items: *432 examples: - default: &578 + default: &580 value: - id: 1 repository: @@ -64656,8 +64697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *237 - - *238 + - *239 + - *240 - *165 requestBody: required: false @@ -64687,7 +64728,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -64818,8 +64859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *237 - - *238 + - *239 + - *240 - *165 responses: '204': @@ -64851,8 +64892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *237 - - *238 + - *239 + - *240 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -65065,7 +65106,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *249 + '301': *251 '422': *16 '404': *7 x-github: @@ -65094,8 +65135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -65172,7 +65213,7 @@ paths: application/json: schema: *72 examples: - default: &436 + default: &438 value: id: 1 node_id: MDU6SXNzdWUx @@ -65328,7 +65369,7 @@ paths: '422': *16 '503': *60 '404': *7 - '410': *246 + '410': *248 x-github: triggersNotification: true githubCloudOnly: false @@ -65356,8 +65397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *82 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -65378,9 +65419,9 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: &438 + default: &440 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -65438,17 +65479,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: &432 + default: &434 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -65502,8 +65543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -65526,9 +65567,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 '422': *16 x-github: githubCloudOnly: false @@ -65546,8 +65587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -65568,8 +65609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65596,9 +65637,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -65619,8 +65660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -65653,16 +65694,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -65684,10 +65725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -65707,8 +65748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -65718,7 +65759,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Issue Event description: Issue Event type: object @@ -65761,8 +65802,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *433 - required: *434 + properties: *435 + required: *436 nullable: true label: title: Issue Event Label @@ -66069,8 +66110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *237 - - *238 + - *239 + - *240 - name: event_id in: path required: true @@ -66081,7 +66122,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: default: value: @@ -66274,7 +66315,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *246 + '410': *248 '403': *29 x-github: githubCloudOnly: false @@ -66308,9 +66349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *237 - - *238 - - &437 + - *239 + - *240 + - &439 name: issue_number description: The number that identifies the issue. in: path @@ -66324,10 +66365,10 @@ paths: application/json: schema: *72 examples: - default: *436 - '301': *249 + default: *438 + '301': *251 '404': *7 - '410': *246 + '410': *248 '304': *37 x-github: githubCloudOnly: false @@ -66352,9 +66393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -66451,13 +66492,13 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 '422': *16 '503': *60 '403': *29 - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66475,9 +66516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -66505,7 +66546,7 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66521,9 +66562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: content: application/json: @@ -66550,7 +66591,7 @@ paths: application/json: schema: *72 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66572,9 +66613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: assignee in: path required: true @@ -66614,9 +66655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *62 - *18 - *20 @@ -66627,13 +66668,13 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: *438 + default: *440 headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66662,9 +66703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: true content: @@ -66686,16 +66727,16 @@ paths: description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *246 + '410': *248 '422': *16 '404': *7 x-github: @@ -66715,9 +66756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -66731,7 +66772,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &441 + - &443 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -66785,7 +66826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &444 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -66921,7 +66962,7 @@ paths: - performed_via_github_app - assignee - assigner - - &443 + - &445 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -66972,7 +67013,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &446 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -67023,7 +67064,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &447 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -67077,7 +67118,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &448 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -67124,7 +67165,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &449 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -67171,7 +67212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &450 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -67231,7 +67272,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &451 title: Locked Issue Event description: Locked Issue Event type: object @@ -67279,7 +67320,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &452 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -67345,7 +67386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &451 + - &453 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -67411,7 +67452,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &452 + - &454 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -67477,7 +67518,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &453 + - &455 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -67568,7 +67609,7 @@ paths: color: red headers: Link: *39 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67585,9 +67626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -67597,7 +67638,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -67644,7 +67685,7 @@ paths: - color - default examples: - default: &440 + default: &442 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -67662,9 +67703,9 @@ paths: default: false headers: Link: *39 - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67681,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67742,12 +67783,12 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 - '301': *249 + default: *442 + '301': *251 '404': *7 - '410': *246 + '410': *248 '422': *16 x-github: githubCloudOnly: false @@ -67764,9 +67805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67826,12 +67867,12 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 - '301': *249 + default: *442 + '301': *251 '404': *7 - '410': *246 + '410': *248 '422': *16 x-github: githubCloudOnly: false @@ -67848,15 +67889,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 responses: '204': description: Response - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67875,9 +67916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: name in: path required: true @@ -67890,7 +67931,7 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: default: value: @@ -67901,9 +67942,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *249 + '301': *251 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67923,9 +67964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: false content: @@ -67953,7 +67994,7 @@ paths: '204': description: Response '403': *29 - '410': *246 + '410': *248 '404': *7 '422': *16 x-github: @@ -67971,9 +68012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 responses: '204': description: Response @@ -67995,9 +68036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -68023,13 +68064,13 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68047,9 +68088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 requestBody: required: true content: @@ -68081,16 +68122,16 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -68112,10 +68153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *237 - - *238 - - *437 - - *233 + - *239 + - *240 + - *439 + - *235 responses: '204': description: Response @@ -68135,9 +68176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *237 - - *238 - - *437 + - *239 + - *240 + - *439 - *18 - *20 responses: @@ -68152,8 +68193,6 @@ paths: description: Timeline Event type: object anyOf: - - *441 - - *442 - *443 - *444 - *445 @@ -68165,6 +68204,8 @@ paths: - *451 - *452 - *453 + - *454 + - *455 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -68465,7 +68506,7 @@ paths: type: string comments: type: array - items: &475 + items: &477 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -68674,7 +68715,7 @@ paths: type: string comments: type: array - items: *364 + items: *366 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -68963,7 +69004,7 @@ paths: headers: Link: *39 '404': *7 - '410': *246 + '410': *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68980,8 +69021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -68991,7 +69032,7 @@ paths: application/json: schema: type: array - items: &454 + items: &456 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -69053,8 +69094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69090,9 +69131,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 key: ssh-rsa AAA... @@ -69125,9 +69166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *237 - - *238 - - &456 + - *239 + - *240 + - &458 name: key_id description: The unique identifier of the key. in: path @@ -69139,9 +69180,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '404': *7 x-github: githubCloudOnly: false @@ -69159,9 +69200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *237 - - *238 - - *456 + - *239 + - *240 + - *458 responses: '204': description: Response @@ -69181,8 +69222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -69192,9 +69233,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *39 '404': *7 @@ -69215,8 +69256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69252,9 +69293,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &457 + default: &459 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69286,8 +69327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69298,9 +69339,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *457 + default: *459 '404': *7 x-github: githubCloudOnly: false @@ -69317,8 +69358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69357,7 +69398,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -69383,8 +69424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *237 - - *238 + - *239 + - *240 - name: name in: path required: true @@ -69410,8 +69451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -69450,9 +69491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *237 - - *238 - - *339 + - *239 + - *240 + - *341 responses: '200': description: Response @@ -69597,8 +69638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69663,8 +69704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69698,9 +69739,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *365 + schema: *367 examples: - default: *458 + default: *460 '204': description: Response when already merged '404': @@ -69725,8 +69766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -69767,12 +69808,12 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 examples: default: value: @@ -69828,8 +69869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -69869,9 +69910,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &460 + default: &462 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -69930,9 +69971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *237 - - *238 - - &461 + - *239 + - *240 + - &463 name: milestone_number description: The number that identifies the milestone. in: path @@ -69944,9 +69985,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *7 x-github: githubCloudOnly: false @@ -69963,9 +70004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 requestBody: required: false content: @@ -70003,9 +70044,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70021,9 +70062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 responses: '204': description: Response @@ -70044,9 +70085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *237 - - *238 - - *461 + - *239 + - *240 + - *463 - *18 - *20 responses: @@ -70056,9 +70097,9 @@ paths: application/json: schema: type: array - items: *439 + items: *441 examples: - default: *440 + default: *442 headers: Link: *39 x-github: @@ -70077,12 +70118,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *237 - - *238 - - *462 - - *463 - - *62 + - *239 + - *240 - *464 + - *465 + - *62 + - *466 - *18 - *20 responses: @@ -70094,7 +70135,7 @@ paths: type: array items: *85 examples: - default: *465 + default: *467 headers: Link: *39 x-github: @@ -70118,8 +70159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -70177,14 +70218,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: &466 + schema: &468 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -70309,7 +70350,7 @@ paths: - custom_404 - public examples: - default: &467 + default: &469 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -70350,8 +70391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70405,9 +70446,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '422': *16 '409': *131 x-github: @@ -70430,8 +70471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70530,8 +70571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -70557,8 +70598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -70568,7 +70609,7 @@ paths: application/json: schema: type: array - items: &468 + items: &470 title: Page Build description: Page Build type: object @@ -70662,8 +70703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *237 - - *238 + - *239 + - *240 responses: '201': description: Response @@ -70708,16 +70749,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: &469 + default: &471 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -70765,8 +70806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *237 - - *238 + - *239 + - *240 - name: build_id in: path required: true @@ -70777,9 +70818,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *470 examples: - default: *469 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70799,8 +70840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -70906,9 +70947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *237 - - *238 - - &470 + - *239 + - *240 + - &472 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -70966,9 +71007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *237 - - *238 - - *470 + - *239 + - *240 + - *472 responses: '204': *134 '404': *7 @@ -70995,8 +71036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -71254,8 +71295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Private vulnerability reporting status @@ -71292,8 +71333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': *134 '422': *15 @@ -71314,8 +71355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': *134 '422': *15 @@ -71338,8 +71379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: Indicates the state of the projects to return. in: query @@ -71400,7 +71441,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -71420,8 +71461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71449,11 +71490,11 @@ paths: application/json: schema: *197 examples: - default: *245 + default: *247 '401': *25 '403': *29 '404': *7 - '410': *246 + '410': *248 '422': *8 x-github: githubCloudOnly: false @@ -71473,8 +71514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -71513,8 +71554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71576,8 +71617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *237 - - *238 + - *239 + - *240 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -71637,9 +71678,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *472 + default: *474 headers: Link: *39 '304': *37 @@ -71671,8 +71712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -71737,7 +71778,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -71848,8 +71889,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true active_lock_reason: type: string @@ -71894,7 +71935,7 @@ paths: nullable: true requested_teams: type: array - items: *473 + items: *475 nullable: true head: type: object @@ -72814,14 +72855,14 @@ paths: _links: type: object properties: - comments: *371 - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + comments: *373 + commits: *373 + statuses: *373 + html: *373 + issue: *373 + review_comments: *373 + review_comment: *373 + self: *373 required: - comments - commits @@ -72832,7 +72873,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *474 + auto_merge: *476 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -72924,7 +72965,7 @@ paths: - merged_by - review_comments examples: - default: &478 + default: &480 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -73451,8 +73492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: sort in: query required: false @@ -73481,9 +73522,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: &480 + default: &482 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73560,17 +73601,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &476 + default: &478 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -73645,8 +73686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -73669,9 +73710,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73687,8 +73728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 + - *239 + - *240 - *71 responses: '204': @@ -73710,8 +73751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -73738,9 +73779,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -73761,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *237 - - *238 + - *239 + - *240 - *71 requestBody: required: true @@ -73795,16 +73836,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -73826,10 +73867,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *237 - - *238 + - *239 + - *240 - *71 - - *233 + - *235 responses: '204': description: Response @@ -73872,9 +73913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *237 - - *238 - - &479 + - *239 + - *240 + - &481 name: pull_number description: The number that identifies the pull request. in: path @@ -73887,9 +73928,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 '304': *37 '404': *7 '406': @@ -73924,9 +73965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -73968,9 +74009,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *478 + default: *480 '422': *16 '403': *29 x-github: @@ -73992,9 +74033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -74056,7 +74097,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -74064,7 +74105,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -74094,9 +74135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *82 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -74117,9 +74158,9 @@ paths: application/json: schema: type: array - items: *475 + items: *477 examples: - default: *480 + default: *482 headers: Link: *39 x-github: @@ -74152,9 +74193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -74259,7 +74300,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: example-for-a-multi-line-comment: value: @@ -74347,9 +74388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *71 requestBody: required: true @@ -74372,7 +74413,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: default: value: @@ -74458,9 +74499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -74470,9 +74511,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *481 + default: *483 headers: Link: *39 x-github: @@ -74502,9 +74543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -74514,7 +74555,7 @@ paths: application/json: schema: type: array - items: *380 + items: *382 examples: default: value: @@ -74552,9 +74593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 responses: '204': description: Response if pull request has been merged @@ -74577,9 +74618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -74690,9 +74731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 responses: '200': description: Response @@ -74767,9 +74808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -74806,7 +74847,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -75342,9 +75383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: true content: @@ -75378,7 +75419,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -75883,9 +75924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 - *18 - *20 responses: @@ -75895,7 +75936,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -76046,9 +76087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -76134,9 +76175,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: &484 + default: &486 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76199,10 +76240,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - &483 + - *239 + - *240 + - *481 + - &485 name: review_id description: The unique identifier of the review. in: path @@ -76214,9 +76255,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: &485 + default: &487 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -76275,10 +76316,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76301,7 +76342,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -76363,18 +76404,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *484 + default: *486 '422': *8 '404': *7 x-github: @@ -76401,10 +76442,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 - *18 - *20 responses: @@ -76487,9 +76528,9 @@ paths: _links: type: object properties: - self: *371 - html: *371 - pull_request: *371 + self: *373 + html: *373 + pull_request: *373 required: - self - html @@ -76632,10 +76673,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76663,7 +76704,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -76726,10 +76767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *237 - - *238 - - *479 - - *483 + - *239 + - *240 + - *481 + - *485 requestBody: required: true content: @@ -76764,9 +76805,9 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *485 + default: *487 '404': *7 '422': *8 '403': *29 @@ -76788,9 +76829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *237 - - *238 - - *479 + - *239 + - *240 + - *481 requestBody: required: false content: @@ -76853,8 +76894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *237 - - *238 + - *239 + - *240 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -76867,9 +76908,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: &487 + default: &489 value: type: file encoding: base64 @@ -76911,8 +76952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *237 - - *238 + - *239 + - *240 - name: dir description: The alternate path to look for a README file in: path @@ -76932,9 +76973,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 '404': *7 '422': *16 x-github: @@ -76956,8 +76997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -76967,7 +77008,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Release description: A release. type: object @@ -77030,7 +77071,7 @@ paths: author: *19 assets: type: array - items: &489 + items: &491 title: Release Asset description: Data related to a release. type: object @@ -77211,8 +77252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -77288,9 +77329,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &492 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -77391,9 +77432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *237 - - *238 - - &490 + - *239 + - *240 + - &492 name: asset_id description: The unique identifier of the asset. in: path @@ -77405,9 +77446,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: &491 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -77441,7 +77482,7 @@ paths: type: User site_admin: false '404': *7 - '302': *382 + '302': *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77457,9 +77498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *237 - - *238 - - *490 + - *239 + - *240 + - *492 requestBody: required: false content: @@ -77487,9 +77528,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: - default: *491 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77505,9 +77546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *237 - - *238 - - *490 + - *239 + - *240 + - *492 responses: '204': description: Response @@ -77531,8 +77572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -77617,16 +77658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77643,8 +77684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *237 - - *238 + - *239 + - *240 - name: tag description: tag parameter in: path @@ -77657,9 +77698,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '404': *7 x-github: githubCloudOnly: false @@ -77681,9 +77722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *237 - - *238 - - &493 + - *239 + - *240 + - &495 name: release_id description: The unique identifier of the release. in: path @@ -77697,9 +77738,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '401': description: Unauthorized x-github: @@ -77717,9 +77758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 requestBody: required: false content: @@ -77783,9 +77824,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *492 + default: *494 '404': description: Not Found if the discussion category name is invalid content: @@ -77806,9 +77847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 responses: '204': description: Response @@ -77828,9 +77869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - *18 - *20 responses: @@ -77840,7 +77881,7 @@ paths: application/json: schema: type: array - items: *489 + items: *491 examples: default: value: @@ -77920,9 +77961,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - name: name in: query required: true @@ -77948,7 +77989,7 @@ paths: description: Response for successful upload content: application/json: - schema: *489 + schema: *491 examples: response-for-successful-upload: value: @@ -78002,9 +78043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -78028,9 +78069,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 '404': *7 @@ -78051,9 +78092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *237 - - *238 - - *493 + - *239 + - *240 + - *495 requestBody: required: true content: @@ -78083,16 +78124,16 @@ paths: description: Reaction exists content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '201': description: Reaction created content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 '422': *16 x-github: githubCloudOnly: false @@ -78114,10 +78155,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *237 - - *238 - - *493 - - *233 + - *239 + - *240 + - *495 + - *235 responses: '204': description: Response @@ -78141,9 +78182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *237 - - *238 - - *305 + - *239 + - *240 + - *307 - *18 - *20 responses: @@ -78159,8 +78200,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *494 - - &496 + - *496 + - &498 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -78179,54 +78220,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *495 - - *496 - allOf: - *497 - - *496 - - allOf: - *498 - - *496 - allOf: - *499 - - *496 + - *498 - allOf: - *500 - - *496 + - *498 - allOf: - *501 - - *496 + - *498 - allOf: - *502 - - *496 + - *498 - allOf: - *503 - - *496 + - *498 - allOf: - *504 - - *496 + - *498 - allOf: - *505 - - *496 + - *498 - allOf: - *506 - - *496 + - *498 - allOf: - *507 - - *496 + - *498 - allOf: - *508 - - *496 + - *498 - allOf: - *509 - - *496 + - *498 - allOf: - *510 - - *496 + - *498 - allOf: - *511 - - *496 + - *498 + - allOf: + - *512 + - *498 + - allOf: + - *513 + - *498 examples: default: value: @@ -78265,8 +78306,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 - name: includes_parents @@ -78277,7 +78318,7 @@ paths: schema: type: boolean default: true - - *512 + - *514 responses: '200': description: Response @@ -78332,8 +78373,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 requestBody: description: Request body required: true @@ -78395,7 +78436,7 @@ paths: application/json: schema: *212 examples: - default: &522 + default: &524 value: id: 42 name: super cool ruleset @@ -78442,12 +78483,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *237 - - *238 - - *513 - - *514 + - *239 + - *240 - *515 - *516 + - *517 + - *518 - *18 - *20 responses: @@ -78455,9 +78496,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *518 + default: *520 '404': *7 '500': *41 x-github: @@ -78478,17 +78519,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *237 - - *238 - - *519 + - *239 + - *240 + - *521 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *521 + default: *523 '404': *7 '500': *41 x-github: @@ -78516,8 +78557,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78539,7 +78580,7 @@ paths: application/json: schema: *212 examples: - default: *522 + default: *524 '404': *7 '500': *41 put: @@ -78557,8 +78598,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78622,7 +78663,7 @@ paths: application/json: schema: *212 examples: - default: *522 + default: *524 '404': *7 '500': *41 delete: @@ -78640,8 +78681,8 @@ paths: category: repos subcategory: rules parameters: - - *237 - - *238 + - *239 + - *240 - name: ruleset_id description: The ID of the ruleset. in: path @@ -78669,8 +78710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - *214 - *215 - *216 @@ -78678,9 +78719,11 @@ paths: - *42 - *20 - *18 - - *523 - - *524 + - *525 + - *526 - *218 + - *219 + - *220 responses: '200': description: Response @@ -78688,7 +78731,7 @@ paths: application/json: schema: type: array - items: &527 + items: &529 type: object properties: number: *48 @@ -78707,8 +78750,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *525 - resolution: *526 + state: *527 + resolution: *528 resolved_at: type: string format: date-time @@ -78762,6 +78805,15 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. + nullable: true examples: default: value: @@ -78818,6 +78870,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -78835,6 +78889,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '404': description: Repository is public or secret scanning is disabled for the repository @@ -78860,15 +78916,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -78889,6 +78945,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *37 '404': description: Repository is public, or secret scanning is disabled for the @@ -78914,9 +78972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 requestBody: required: true content: @@ -78924,8 +78982,8 @@ paths: schema: type: object properties: - state: *525 - resolution: *526 + state: *527 + resolution: *528 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -78943,7 +79001,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -78982,6 +79040,8 @@ paths: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false '400': description: Bad request, resolution comment is invalid or the resolution was not changed. @@ -79012,9 +79072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *237 - - *238 - - *337 + - *239 + - *240 + - *339 - *20 - *18 responses: @@ -79025,7 +79085,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &659 + items: &661 type: object properties: type: @@ -79384,8 +79444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -79393,14 +79453,14 @@ paths: schema: type: object properties: - reason: &529 + reason: &531 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *528 + placeholder_id: *530 required: - reason - placeholder_id @@ -79417,7 +79477,7 @@ paths: schema: type: object properties: - reason: *529 + reason: *531 expire_at: type: string format: date-time @@ -79462,8 +79522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *237 - - *238 + - *239 + - *240 - *42 - name: sort description: The property to sort the results by. @@ -79507,9 +79567,9 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: - default: *531 + default: *533 '400': *15 '404': *7 x-github: @@ -79532,8 +79592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -79606,7 +79666,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 required: - login - type @@ -79693,9 +79753,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &533 + default: &535 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -79928,8 +79988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -80033,7 +80093,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: default: value: @@ -80180,17 +80240,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *533 + default: *535 '403': *29 '404': *7 x-github: @@ -80214,9 +80274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 requestBody: required: true content: @@ -80289,7 +80349,7 @@ paths: login: type: string description: The username of the user credited. - type: *221 + type: *223 required: - login - type @@ -80375,10 +80435,10 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *533 - add_credit: *533 + default: *535 + add_credit: *535 '403': *29 '404': *7 '422': @@ -80416,9 +80476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '202': *96 '400': *15 @@ -80445,17 +80505,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *237 - - *238 - - *532 + - *239 + - *240 + - *534 responses: '202': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 '400': *15 '422': *16 '403': *29 @@ -80481,8 +80541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -80581,8 +80641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -80591,7 +80651,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -80624,8 +80684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -80701,8 +80761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -80798,8 +80858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -80953,8 +81013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -80964,7 +81024,7 @@ paths: application/json: schema: type: array - items: *534 + items: *536 examples: default: value: @@ -80997,8 +81057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *237 - - *238 + - *239 + - *240 - name: sha in: path required: true @@ -81052,7 +81112,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: default: value: @@ -81106,8 +81166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81139,14 +81199,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &536 + schema: &538 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -81214,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: false content: @@ -81241,7 +81301,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: default: value: @@ -81268,8 +81328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -81289,8 +81349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81369,8 +81429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81378,7 +81438,7 @@ paths: application/json: schema: type: array - items: &537 + items: &539 title: Tag protection description: Tag protection type: object @@ -81430,8 +81490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -81454,7 +81514,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: default: value: @@ -81485,8 +81545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -81523,8 +81583,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *237 - - *238 + - *239 + - *240 - name: ref in: path required: true @@ -81560,8 +81620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *237 - - *238 + - *239 + - *240 - *18 - *20 responses: @@ -81593,8 +81653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *237 - - *238 + - *239 + - *240 - *20 - *18 responses: @@ -81602,7 +81662,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &540 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -81614,7 +81674,7 @@ paths: required: - names examples: - default: &539 + default: &541 value: names: - octocat @@ -81637,8 +81697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -81669,9 +81729,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: *539 + default: *541 '404': *7 '422': *8 x-github: @@ -81692,9 +81752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *237 - - *238 - - &540 + - *239 + - *240 + - &542 name: per description: The time frame to display results for. in: query @@ -81723,7 +81783,7 @@ paths: example: 128 clones: type: array - items: &541 + items: &543 title: Traffic type: object properties: @@ -81810,8 +81870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81901,8 +81961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *237 - - *238 + - *239 + - *240 responses: '200': description: Response @@ -81962,9 +82022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *237 - - *238 - - *540 + - *239 + - *240 + - *542 responses: '200': description: Response @@ -81983,7 +82043,7 @@ paths: example: 3782 views: type: array - items: *541 + items: *543 required: - uniques - count @@ -82060,8 +82120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *237 - - *238 + - *239 + - *240 requestBody: required: true content: @@ -82335,8 +82395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -82359,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -82382,8 +82442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -82409,8 +82469,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *237 - - *238 + - *239 + - *240 - name: ref in: path required: true @@ -82502,9 +82562,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -82752,7 +82812,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &542 + text_matches: &544 title: Search Result Text Matches type: array items: @@ -82914,7 +82974,7 @@ paths: enum: - author-date - committer-date - - &543 + - &545 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -82985,7 +83045,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true comment_count: type: integer @@ -83005,7 +83065,7 @@ paths: url: type: string format: uri - verification: *417 + verification: *419 required: - author - committer @@ -83024,7 +83084,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *303 + properties: *305 nullable: true parents: type: array @@ -83042,7 +83102,7 @@ paths: type: number node_id: type: string - text_matches: *542 + text_matches: *544 required: - sha - node_id @@ -83234,7 +83294,7 @@ paths: - interactions - created - updated - - *543 + - *545 - *18 - *20 responses: @@ -83339,8 +83399,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *369 - required: *370 + properties: *371 + required: *372 nullable: true comments: type: integer @@ -83354,7 +83414,7 @@ paths: type: string format: date-time nullable: true - text_matches: *542 + text_matches: *544 pull_request: type: object properties: @@ -83578,7 +83638,7 @@ paths: enum: - created - updated - - *543 + - *545 - *18 - *20 responses: @@ -83622,7 +83682,7 @@ paths: nullable: true score: type: number - text_matches: *542 + text_matches: *544 required: - id - node_id @@ -83707,7 +83767,7 @@ paths: - forks - help-wanted-issues - updated - - *543 + - *545 - *18 - *20 responses: @@ -83946,7 +84006,7 @@ paths: - admin - pull - push - text_matches: *542 + text_matches: *544 temp_clone_token: type: string allow_merge_commit: @@ -84246,7 +84306,7 @@ paths: type: string format: uri nullable: true - text_matches: *542 + text_matches: *544 related: type: array nullable: true @@ -84437,7 +84497,7 @@ paths: - followers - repositories - joined - - *543 + - *545 - *18 - *20 responses: @@ -84541,7 +84601,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *542 + text_matches: *544 blog: type: string nullable: true @@ -84620,7 +84680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &544 + - &546 name: team_id description: The unique identifier of the team. in: path @@ -84632,9 +84692,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 x-github: githubCloudOnly: false @@ -84661,7 +84721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *544 + - *546 requestBody: required: true content: @@ -84724,16 +84784,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '201': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '404': *7 '422': *16 '403': *29 @@ -84761,7 +84821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *544 + - *546 responses: '204': description: Response @@ -84792,7 +84852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *544 + - *546 - *42 - *18 - *20 @@ -84803,9 +84863,9 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: - default: *545 + default: *547 headers: Link: *39 x-github: @@ -84834,7 +84894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *544 + - *546 requestBody: required: true content: @@ -84868,9 +84928,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: triggersNotification: true githubCloudOnly: false @@ -84897,16 +84957,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84931,8 +84991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: false content: @@ -84955,9 +85015,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *546 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84982,8 +85042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 responses: '204': description: Response @@ -85012,8 +85072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *544 - - *226 + - *546 + - *228 - *42 - *18 - *20 @@ -85024,9 +85084,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *547 + default: *549 headers: Link: *39 x-github: @@ -85055,8 +85115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: true content: @@ -85078,9 +85138,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: triggersNotification: true githubCloudOnly: false @@ -85107,17 +85167,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85142,9 +85202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 requestBody: required: true content: @@ -85166,9 +85226,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *548 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85193,9 +85253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 responses: '204': description: Response @@ -85224,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -85252,9 +85312,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -85283,9 +85343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *544 - - *226 - - *229 + - *546 + - *228 + - *231 requestBody: required: true content: @@ -85317,9 +85377,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,8 +85405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -85372,9 +85432,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *232 + default: *234 headers: Link: *39 x-github: @@ -85403,8 +85463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *544 - - *226 + - *546 + - *228 requestBody: required: true content: @@ -85436,9 +85496,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85462,7 +85522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -85500,7 +85560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *544 + - *546 - name: role description: Filters members returned by their role in the team. in: query @@ -85551,7 +85611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85588,7 +85648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85628,7 +85688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85665,16 +85725,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 responses: '200': description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-user-is-a-team-maintainer: *549 + response-if-user-is-a-team-maintainer: *551 '404': *7 x-github: githubCloudOnly: false @@ -85707,7 +85767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 requestBody: required: false @@ -85733,9 +85793,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *236 examples: - response-if-users-membership-with-team-is-now-pending: *550 + response-if-users-membership-with-team-is-now-pending: *552 '403': description: Forbidden if team synchronization is set up '422': @@ -85769,7 +85829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *544 + - *546 - *123 responses: '204': @@ -85799,7 +85859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -85809,9 +85869,9 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: - default: *551 + default: *553 headers: Link: *39 '404': *7 @@ -85838,16 +85898,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *544 - - *236 + - *546 + - *238 responses: '200': description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *552 + default: *554 '404': description: Not Found if project is not managed by this team x-github: @@ -85872,8 +85932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *544 - - *236 + - *546 + - *238 requestBody: required: false content: @@ -85941,8 +86001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *544 - - *236 + - *546 + - *238 responses: '204': description: Response @@ -85969,7 +86029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -86011,15 +86071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *553 + schema: *555 examples: alternative-response-with-extra-repository-information: value: @@ -86170,9 +86230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 requestBody: required: false content: @@ -86222,9 +86282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *544 - - *237 - - *238 + - *546 + - *239 + - *240 responses: '204': description: Response @@ -86249,7 +86309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *544 + - *546 - *18 - *20 responses: @@ -86261,7 +86321,7 @@ paths: type: array items: *166 examples: - response-if-child-teams-exist: *554 + response-if-child-teams-exist: *556 headers: Link: *39 '404': *7 @@ -86294,7 +86354,7 @@ paths: application/json: schema: oneOf: - - &556 + - &558 title: Private User description: Private User type: object @@ -86497,7 +86557,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *555 + - *557 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -86650,7 +86710,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: default: value: @@ -86996,7 +87056,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -87004,7 +87064,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -87048,7 +87108,7 @@ paths: type: integer secrets: type: array - items: &557 + items: &559 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -87088,7 +87148,7 @@ paths: - visibility - selected_repositories_url examples: - default: *357 + default: *359 headers: Link: *39 x-github: @@ -87164,7 +87224,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: default: value: @@ -87310,7 +87370,7 @@ paths: type: array items: *110 examples: - default: *558 + default: *560 '401': *25 '403': *29 '404': *7 @@ -87462,7 +87522,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '304': *37 '500': *41 '401': *25 @@ -87520,7 +87580,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '401': *25 '403': *29 '404': *7 @@ -87577,7 +87637,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &561 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -87618,7 +87678,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &560 + default: &562 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -87663,9 +87723,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *561 examples: - default: *560 + default: *562 '404': *7 x-github: githubCloudOnly: false @@ -87702,9 +87762,9 @@ paths: type: integer machines: type: array - items: *561 + items: *563 examples: - default: *562 + default: *564 '304': *37 '500': *41 '401': *25 @@ -87783,13 +87843,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *248 + repository: *250 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *355 - required: *356 + properties: *357 + required: *358 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -88571,7 +88631,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '304': *37 '500': *41 '400': *15 @@ -88611,7 +88671,7 @@ paths: application/json: schema: *170 examples: - default: *354 + default: *356 '500': *41 '401': *25 '403': *29 @@ -88643,7 +88703,7 @@ paths: type: array items: *184 examples: - default: &575 + default: &577 value: - id: 197 name: hello_docker @@ -88744,7 +88804,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Email description: Email type: object @@ -88809,9 +88869,9 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: - default: &577 + default: &579 value: - email: octocat@github.com verified: true @@ -88886,7 +88946,7 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: default: value: @@ -89141,7 +89201,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: GPG Key description: A unique encryption key type: object @@ -89272,7 +89332,7 @@ paths: - subkeys - revoked examples: - default: &588 + default: &590 value: - id: 3 name: Octocat's GPG Key @@ -89357,9 +89417,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: &565 + default: &567 value: id: 3 name: Octocat's GPG Key @@ -89416,7 +89476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &566 + - &568 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -89428,9 +89488,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *565 + default: *567 '404': *7 '304': *37 '403': *29 @@ -89453,7 +89513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *566 + - *568 responses: '204': description: Response @@ -89644,7 +89704,7 @@ paths: type: array items: *55 examples: - default: *567 + default: *569 headers: Link: *39 '404': *7 @@ -89758,7 +89818,7 @@ paths: required: true content: application/json: - schema: *428 + schema: *430 examples: default: value: @@ -89908,7 +89968,7 @@ paths: application/json: schema: type: array - items: &568 + items: &570 title: Key description: Key type: object @@ -90005,9 +90065,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: &569 + default: &571 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -90040,15 +90100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *456 + - *458 responses: '200': description: Response content: application/json: - schema: *568 + schema: *570 examples: - default: *569 + default: *571 '404': *7 '304': *37 '403': *29 @@ -90071,7 +90131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *456 + - *458 responses: '204': description: Response @@ -90104,7 +90164,7 @@ paths: application/json: schema: type: array - items: &570 + items: &572 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -90172,7 +90232,7 @@ paths: - account - plan examples: - default: &571 + default: &573 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -90234,9 +90294,9 @@ paths: application/json: schema: type: array - items: *570 + items: *572 examples: - default: *571 + default: *573 headers: Link: *39 '304': *37 @@ -91231,7 +91291,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *177 - - *572 + - *574 responses: '204': description: Response @@ -91301,7 +91361,7 @@ paths: type: array items: *173 examples: - default: *573 + default: *575 headers: Link: *39 '304': *37 @@ -91343,7 +91403,7 @@ paths: - docker - nuget - container - - *574 + - *576 - *20 - *18 responses: @@ -91355,8 +91415,8 @@ paths: type: array items: *184 examples: - default: *575 - '400': *576 + default: *577 + '400': *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91385,7 +91445,7 @@ paths: application/json: schema: *184 examples: - default: &589 + default: &591 value: id: 40201 name: octo-name @@ -91835,9 +91895,9 @@ paths: application/json: schema: type: array - items: *563 + items: *565 examples: - default: *577 + default: *579 headers: Link: *39 '304': *37 @@ -91950,7 +92010,7 @@ paths: type: array items: *55 examples: - default: &584 + default: &586 summary: Default response value: - id: 1296269 @@ -92252,9 +92312,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *250 + default: *252 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92292,9 +92352,9 @@ paths: application/json: schema: type: array - items: *430 + items: *432 examples: - default: *578 + default: *580 headers: Link: *39 '304': *37 @@ -92373,7 +92433,7 @@ paths: application/json: schema: type: array - items: &579 + items: &581 title: Social account description: Social media account type: object @@ -92388,7 +92448,7 @@ paths: - provider - url examples: - default: &580 + default: &582 value: - provider: twitter url: https://twitter.com/github @@ -92450,9 +92510,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *580 + default: *582 '422': *16 '304': *37 '404': *7 @@ -92539,7 +92599,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -92559,7 +92619,7 @@ paths: - title - created_at examples: - default: &596 + default: &598 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92625,9 +92685,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &582 + default: &584 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92658,7 +92718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &583 + - &585 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -92670,9 +92730,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *582 + default: *584 '404': *7 '304': *37 '403': *29 @@ -92695,7 +92755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *583 + - *585 responses: '204': description: Response @@ -92724,7 +92784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &597 + - &599 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -92749,11 +92809,11 @@ paths: type: array items: *55 examples: - default-response: *584 + default-response: *586 application/vnd.github.v3.star+json: schema: type: array - items: &598 + items: &600 title: Starred Repository description: Starred Repository type: object @@ -92909,8 +92969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response if this repository is starred by you @@ -92938,8 +92998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -92963,8 +93023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *237 - - *238 + - *239 + - *240 responses: '204': description: Response @@ -93036,7 +93096,7 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: default: value: @@ -93120,10 +93180,10 @@ paths: application/json: schema: oneOf: - - *556 - - *555 + - *558 + - *557 examples: - default-response: &586 + default-response: &588 summary: Default response value: login: octocat @@ -93158,7 +93218,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &587 + response-with-git-hub-plan-information: &589 summary: Response with GitHub plan information value: login: octocat @@ -93218,7 +93278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *585 + - *587 - *18 responses: '200': @@ -93265,11 +93325,11 @@ paths: application/json: schema: oneOf: - - *556 - - *555 + - *558 + - *557 examples: - default-response: *586 - response-with-git-hub-plan-information: *587 + default-response: *588 + response-with-git-hub-plan-information: *589 '404': *7 x-github: githubCloudOnly: false @@ -93431,7 +93491,7 @@ paths: type: array items: *184 examples: - default: *575 + default: *577 '403': *29 '401': *25 x-github: @@ -93835,9 +93895,9 @@ paths: application/json: schema: type: array - items: *564 + items: *566 examples: - default: *588 + default: *590 headers: Link: *39 x-github: @@ -93941,7 +94001,7 @@ paths: application/json: schema: *22 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94019,7 +94079,7 @@ paths: type: array items: *173 examples: - default: *573 + default: *575 headers: Link: *39 x-github: @@ -94058,7 +94118,7 @@ paths: - docker - nuget - container - - *574 + - *576 - *123 - *20 - *18 @@ -94071,10 +94131,10 @@ paths: type: array items: *184 examples: - default: *575 + default: *577 '403': *29 '401': *25 - '400': *576 + '400': *578 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94104,7 +94164,7 @@ paths: application/json: schema: *184 examples: - default: *589 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94697,9 +94757,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *592 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94727,9 +94787,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94757,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: - default: *595 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94787,9 +94847,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *580 + default: *582 headers: Link: *39 x-github: @@ -94819,9 +94879,9 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: - default: *596 + default: *598 headers: Link: *39 x-github: @@ -94846,7 +94906,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *123 - - *597 + - *599 - *42 - *18 - *20 @@ -94858,11 +94918,11 @@ paths: schema: anyOf: - type: array - items: *598 + items: *600 - type: array items: *55 examples: - default-response: *584 + default-response: *586 headers: Link: *39 x-github: @@ -95021,7 +95081,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &599 + enterprise: &601 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -95079,7 +95139,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &600 + installation: &602 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -95098,7 +95158,7 @@ x-webhooks: required: - id - node_id - organization: &601 + organization: &603 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -95158,13 +95218,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &602 + repository: &604 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &632 + properties: &634 id: description: Unique identifier of the repository example: 42 @@ -95847,7 +95907,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &633 + required: &635 - archive_url - assignees_url - blobs_url @@ -95998,10 +96058,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -96077,11 +96137,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: &603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: &605 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -96304,11 +96364,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *19 required: - action @@ -96491,11 +96551,11 @@ x-webhooks: - everyone required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - rule: *603 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + rule: *605 sender: *19 required: - action @@ -96579,7 +96639,7 @@ x-webhooks: type: string enum: - completed - check_run: &605 + check_run: &607 title: CheckRun description: A check performed on the code of a given code change type: object @@ -96642,7 +96702,7 @@ x-webhooks: type: string pull_requests: type: array - items: *316 + items: *318 repository: *110 status: example: completed @@ -96680,7 +96740,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *604 + deployment: *606 details_url: example: https://example.com type: string @@ -96730,7 +96790,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *316 + items: *318 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -96765,9 +96825,9 @@ x-webhooks: - output - app - pull_requests - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -97160,10 +97220,10 @@ x-webhooks: type: string enum: - created - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -97559,10 +97619,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 requested_action: description: The action requested by the user. type: object @@ -97967,10 +98027,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *605 - installation: *600 - organization: *601 - repository: *602 + check_run: *607 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - check_run @@ -98947,10 +99007,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -99620,10 +99680,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -100287,10 +100347,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -100590,20 +100650,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &606 + commit_oid: &608 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *599 - installation: *600 - organization: *601 - ref: &607 + enterprise: *601 + installation: *602 + organization: *603 + ref: &609 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -100921,12 +100981,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101021,7 +101081,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *332 + dismissed_comment: *334 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -101182,12 +101242,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101508,12 +101568,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -101770,16 +101830,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *602 + repository: *604 sender: *19 required: - action @@ -102005,12 +102065,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *606 - enterprise: *599 - installation: *600 - organization: *601 - ref: *607 - repository: *602 + commit_oid: *608 + enterprise: *601 + installation: *602 + organization: *603 + ref: *609 + repository: *604 sender: *19 required: - action @@ -102267,10 +102327,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -102350,18 +102410,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *601 - pusher_type: &608 + organization: *603 + pusher_type: &610 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &609 + ref: &611 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -102371,7 +102431,7 @@ x-webhooks: enum: - tag - branch - repository: *602 + repository: *604 sender: *19 required: - ref @@ -102454,9 +102514,9 @@ x-webhooks: enum: - created definition: *198 - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102540,9 +102600,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102619,9 +102679,9 @@ x-webhooks: enum: - updated definition: *198 - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 sender: *19 required: - action @@ -102697,10 +102757,10 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - repository: *602 - organization: *601 + enterprise: *601 + installation: *602 + repository: *604 + organization: *603 sender: *19 new_property_values: type: array @@ -102785,18 +102845,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - pusher_type: *608 - ref: *609 + enterprise: *601 + installation: *602 + organization: *603 + pusher_type: *610 + ref: *611 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *602 + repository: *604 sender: *19 required: - ref @@ -102880,11 +102940,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -102968,11 +103028,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103056,11 +103116,11 @@ x-webhooks: type: string enum: - created - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103142,11 +103202,11 @@ x-webhooks: type: string enum: - dismissed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103228,11 +103288,11 @@ x-webhooks: type: string enum: - fixed - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103315,11 +103375,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103401,11 +103461,11 @@ x-webhooks: type: string enum: - reopened - alert: *386 - installation: *600 - organization: *601 - enterprise: *599 - repository: *602 + alert: *388 + installation: *602 + organization: *603 + enterprise: *601 + repository: *604 sender: *19 required: - action @@ -103482,9 +103542,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - key: &610 + enterprise: *601 + installation: *602 + key: &612 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -103518,8 +103578,8 @@ x-webhooks: - verified - created_at - read_only - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -103596,11 +103656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - key: *610 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + key: *612 + organization: *603 + repository: *604 sender: *19 required: - action @@ -104161,12 +104221,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: &614 + workflow: &616 title: Workflow type: object nullable: true @@ -104892,13 +104952,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *392 + deployment: *394 pull_requests: type: array - items: *477 - repository: *602 - organization: *601 - installation: *600 + items: *479 + repository: *604 + organization: *603 + installation: *602 sender: *19 responses: '200': @@ -104969,7 +105029,7 @@ x-webhooks: type: string enum: - approved - approver: &611 + approver: &613 type: object properties: avatar_url: @@ -105012,11 +105072,11 @@ x-webhooks: type: string comment: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - reviewers: &612 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: &614 type: array items: type: object @@ -105095,7 +105155,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &613 + workflow_job_run: &615 type: object properties: conclusion: @@ -105826,18 +105886,18 @@ x-webhooks: type: string enum: - rejected - approver: *611 + approver: *613 comment: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - reviewers: *612 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + reviewers: *614 sender: *19 since: type: string - workflow_job_run: *613 + workflow_job_run: *615 workflow_job_runs: type: array items: @@ -106541,13 +106601,13 @@ x-webhooks: type: string enum: - requested - enterprise: *599 + enterprise: *601 environment: type: string - installation: *600 - organization: *601 - repository: *602 - requestor: &619 + installation: *602 + organization: *603 + repository: *604 + requestor: &621 title: User type: object nullable: true @@ -108446,12 +108506,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Deployment Workflow Run type: object @@ -109131,7 +109191,7 @@ x-webhooks: type: string enum: - answered - answer: &617 + answer: &619 type: object properties: author_association: @@ -109288,7 +109348,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &615 + discussion: &617 title: Discussion description: A Discussion in a repository. type: object @@ -109574,7 +109634,7 @@ x-webhooks: - id labels: type: array - items: *439 + items: *441 required: - repository_url - category @@ -109596,10 +109656,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109726,11 +109786,11 @@ x-webhooks: - from required: - category - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109813,11 +109873,11 @@ x-webhooks: type: string enum: - closed - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -109899,7 +109959,7 @@ x-webhooks: type: string enum: - created - comment: &616 + comment: &618 type: object properties: author_association: @@ -110056,11 +110116,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110143,12 +110203,12 @@ x-webhooks: type: string enum: - deleted - comment: *616 - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + comment: *618 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110243,12 +110303,12 @@ x-webhooks: - from required: - body - comment: *616 - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + comment: *618 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110332,11 +110392,11 @@ x-webhooks: type: string enum: - created - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110418,11 +110478,11 @@ x-webhooks: type: string enum: - deleted - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110522,11 +110582,11 @@ x-webhooks: type: string required: - from - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110608,10 +110668,10 @@ x-webhooks: type: string enum: - labeled - discussion: *615 - enterprise: *599 - installation: *600 - label: &618 + discussion: *617 + enterprise: *601 + installation: *602 + label: &620 title: Label type: object properties: @@ -110643,8 +110703,8 @@ x-webhooks: - color - default - description - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110727,11 +110787,11 @@ x-webhooks: type: string enum: - locked - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110813,11 +110873,11 @@ x-webhooks: type: string enum: - pinned - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110899,11 +110959,11 @@ x-webhooks: type: string enum: - reopened - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -110988,16 +111048,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *615 - new_repository: *602 + new_discussion: *617 + new_repository: *604 required: - new_discussion - new_repository - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111080,10 +111140,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *615 - old_answer: *617 - organization: *601 - repository: *602 + discussion: *617 + old_answer: *619 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111165,12 +111225,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *615 - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111253,11 +111313,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111339,11 +111399,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *615 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + discussion: *617 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -111416,7 +111476,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *599 + enterprise: *601 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -112076,9 +112136,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - forkee @@ -112224,9 +112284,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pages: description: The pages that were updated. type: array @@ -112263,7 +112323,7 @@ x-webhooks: - action - sha - html_url - repository: *602 + repository: *604 sender: *19 required: - pages @@ -112339,10 +112399,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: &620 + organization: *603 + repositories: &622 description: An array of repository objects that the installation can access. type: array @@ -112368,8 +112428,8 @@ x-webhooks: - name - full_name - private - repository: *602 - requester: *619 + repository: *604 + requester: *621 sender: *19 required: - action @@ -112444,11 +112504,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -112524,11 +112584,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -112604,10 +112664,10 @@ x-webhooks: type: string enum: - added - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories_added: &621 + organization: *603 + repositories_added: &623 description: An array of repository objects, which were added to the installation. type: array @@ -112653,15 +112713,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *602 - repository_selection: &622 + repository: *604 + repository_selection: &624 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *619 + requester: *621 sender: *19 required: - action @@ -112740,10 +112800,10 @@ x-webhooks: type: string enum: - removed - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories_added: *621 + organization: *603 + repositories_added: *623 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -112770,9 +112830,9 @@ x-webhooks: - name - full_name - private - repository: *602 - repository_selection: *622 - requester: *619 + repository: *604 + repository_selection: *624 + requester: *621 sender: *19 required: - action @@ -112851,11 +112911,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -113033,10 +113093,10 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 target_type: type: string @@ -113115,11 +113175,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *599 + enterprise: *601 installation: *22 - organization: *601 - repositories: *620 - repository: *602 + organization: *603 + repositories: *622 + repository: *604 requester: nullable: true sender: *19 @@ -113371,8 +113431,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -114513,8 +114573,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -114594,7 +114654,7 @@ x-webhooks: type: string enum: - deleted - comment: &623 + comment: &625 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -114759,8 +114819,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115899,8 +115959,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -115980,7 +116040,7 @@ x-webhooks: type: string enum: - edited - changes: &651 + changes: &653 description: The changes to the comment. type: object properties: @@ -115992,9 +116052,9 @@ x-webhooks: type: string required: - from - comment: *623 - enterprise: *599 - installation: *600 + comment: *625 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117134,8 +117194,8 @@ x-webhooks: - state - locked - assignee - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -117217,10 +117277,10 @@ x-webhooks: type: string enum: - assigned - assignee: *619 - enterprise: *599 - installation: *600 - issue: &626 + assignee: *621 + enterprise: *601 + installation: *602 + issue: &628 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -118124,8 +118184,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -118205,8 +118265,8 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119250,8 +119310,8 @@ x-webhooks: required: - state - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -119330,8 +119390,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -120228,8 +120288,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -120308,8 +120368,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121209,7 +121269,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &624 + milestone: &626 title: Milestone description: A collection of related issues and pull requests. type: object @@ -121347,8 +121407,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -121447,8 +121507,8 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122352,9 +122412,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *618 - organization: *601 - repository: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -122434,8 +122494,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123338,9 +123398,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *618 - organization: *601 - repository: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -123420,8 +123480,8 @@ x-webhooks: type: string enum: - locked - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124325,8 +124385,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -124405,8 +124465,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125304,9 +125364,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *624 - organization: *601 - repository: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -126753,8 +126813,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127657,8 +127717,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -127738,9 +127798,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *599 - installation: *600 - issue: &625 + enterprise: *601 + installation: *602 + issue: &627 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128637,8 +128697,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -128717,8 +128777,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129621,8 +129681,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131070,11 +131130,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *599 - installation: *600 - issue: *625 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *627 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131155,7 +131215,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &654 + assignee: &656 title: User type: object nullable: true @@ -131225,11 +131285,11 @@ x-webhooks: required: - login - id - enterprise: *599 - installation: *600 - issue: *626 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *628 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131308,12 +131368,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *599 - installation: *600 - issue: *626 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *628 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -131393,8 +131453,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132296,8 +132356,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132377,11 +132437,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *599 - installation: *600 - issue: *625 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + issue: *627 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132460,11 +132520,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132542,11 +132602,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132656,11 +132716,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - label: *618 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + label: *620 + organization: *603 + repository: *604 sender: *19 required: - action @@ -132742,9 +132802,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: &627 + enterprise: *601 + installation: *602 + marketplace_purchase: &629 title: Marketplace Purchase type: object required: @@ -132827,8 +132887,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *601 - previous_marketplace_purchase: &628 + organization: *603 + previous_marketplace_purchase: &630 title: Marketplace Purchase type: object properties: @@ -132908,7 +132968,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -132988,10 +133048,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133074,7 +133134,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -133156,10 +133216,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -133241,7 +133301,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *602 + repository: *604 sender: *19 required: - action @@ -133322,8 +133382,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 marketplace_purchase: title: Marketplace Purchase type: object @@ -133405,9 +133465,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *601 - previous_marketplace_purchase: *628 - repository: *602 + organization: *603 + previous_marketplace_purchase: *630 + repository: *604 sender: *19 required: - action @@ -133487,12 +133547,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *599 - installation: *600 - marketplace_purchase: *627 - organization: *601 - previous_marketplace_purchase: *628 - repository: *602 + enterprise: *601 + installation: *602 + marketplace_purchase: *629 + organization: *603 + previous_marketplace_purchase: *630 + repository: *604 sender: *19 required: - action @@ -133594,11 +133654,11 @@ x-webhooks: type: string required: - to - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133698,11 +133758,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133781,11 +133841,11 @@ x-webhooks: type: string enum: - removed - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 sender: *19 required: - action @@ -133863,11 +133923,11 @@ x-webhooks: type: string enum: - added - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -133943,7 +134003,7 @@ x-webhooks: required: - login - id - team: &629 + team: &631 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -134133,11 +134193,11 @@ x-webhooks: type: string enum: - removed - enterprise: *599 - installation: *600 - member: *619 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + member: *621 + organization: *603 + repository: *604 scope: description: The scope of the membership. Currently, can only be `team`. @@ -134214,7 +134274,7 @@ x-webhooks: required: - login - id - team: *629 + team: *631 required: - action - scope @@ -134296,8 +134356,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *600 - merge_group: &631 + installation: *602 + merge_group: &633 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -134316,15 +134376,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *630 + head_commit: *632 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134410,10 +134470,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *600 - merge_group: *631 - organization: *601 - repository: *602 + installation: *602 + merge_group: *633 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134486,7 +134546,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 + enterprise: *601 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -134594,16 +134654,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *600 - organization: *601 + installation: *602 + organization: *603 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -134684,11 +134744,11 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134767,9 +134827,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - milestone: &634 + enterprise: *601 + installation: *602 + milestone: &636 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134906,8 +134966,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -134986,11 +135046,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135100,11 +135160,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - milestone: *624 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *626 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135184,11 +135244,11 @@ x-webhooks: type: string enum: - opened - enterprise: *599 - installation: *600 - milestone: *634 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + milestone: *636 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135267,11 +135327,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *619 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + blocked_user: *621 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135350,11 +135410,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *619 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + blocked_user: *621 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135433,9 +135493,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - membership: &635 + enterprise: *601 + installation: *602 + membership: &637 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -135527,8 +135587,8 @@ x-webhooks: - role - organization_url - user - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135606,11 +135666,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135689,8 +135749,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -135806,10 +135866,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 - user: *619 + user: *621 required: - action - invitation @@ -135887,11 +135947,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -135978,11 +136038,11 @@ x-webhooks: properties: from: type: string - enterprise: *599 - installation: *600 - membership: *635 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + membership: *637 + organization: *603 + repository: *604 sender: *19 required: - action @@ -136058,9 +136118,9 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -136559,7 +136619,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &636 + items: &638 title: Ruby Gems metadata type: object properties: @@ -136654,7 +136714,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -136730,9 +136790,9 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 package: description: Information about the package. type: object @@ -137085,7 +137145,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 source_url: type: string format: uri @@ -137155,7 +137215,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -137332,12 +137392,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *599 + enterprise: *601 id: type: integer - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - id @@ -137417,7 +137477,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &637 + personal_access_token_request: &639 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -137551,10 +137611,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *599 - organization: *601 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137633,11 +137693,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *637 - enterprise: *599 - organization: *601 + personal_access_token_request: *639 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137715,11 +137775,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *637 - enterprise: *599 - organization: *601 + personal_access_token_request: *639 + enterprise: *601 + organization: *603 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137796,11 +137856,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *637 - organization: *601 - enterprise: *599 + personal_access_token_request: *639 + organization: *603 + enterprise: *601 sender: *19 - installation: *600 + installation: *602 required: - action - personal_access_token_request @@ -137904,7 +137964,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *638 + last_response: *640 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -137936,8 +137996,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 zen: description: Random string of GitHub zen. @@ -138182,10 +138242,10 @@ x-webhooks: - from required: - note - enterprise: *599 - installation: *600 - organization: *601 - project_card: &639 + enterprise: *601 + installation: *602 + organization: *603 + project_card: &641 title: Project Card type: object properties: @@ -138304,7 +138364,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -138385,11 +138445,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project_card: *639 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *641 + repository: *604 sender: *19 required: - action @@ -138469,9 +138529,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 project_card: title: Project Card type: object @@ -138599,8 +138659,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -138694,11 +138754,11 @@ x-webhooks: - from required: - note - enterprise: *599 - installation: *600 - organization: *601 - project_card: *639 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_card: *641 + repository: *604 sender: *19 required: - action @@ -138792,9 +138852,9 @@ x-webhooks: - from required: - column_id - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 project_card: allOf: - title: Project Card @@ -138984,7 +139044,7 @@ x-webhooks: type: string required: - after_id - repository: *602 + repository: *604 sender: *19 required: - action @@ -139064,10 +139124,10 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - organization: *601 - project: &641 + enterprise: *601 + installation: *602 + organization: *603 + project: &643 title: Project type: object properties: @@ -139191,7 +139251,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -139271,10 +139331,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project_column: &640 + enterprise: *601 + installation: *602 + organization: *603 + project_column: &642 title: Project Column type: object properties: @@ -139313,7 +139373,7 @@ x-webhooks: - name - created_at - updated_at - repository: *602 + repository: *604 sender: *19 required: - action @@ -139392,18 +139452,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -139493,11 +139553,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 + repository: *604 sender: *19 required: - action @@ -139577,11 +139637,11 @@ x-webhooks: type: string enum: - moved - enterprise: *599 - installation: *600 - organization: *601 - project_column: *640 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project_column: *642 + repository: *604 sender: *19 required: - action @@ -139661,11 +139721,11 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -139745,18 +139805,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - project: *641 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *632 - required: *633 + properties: *634 + required: *635 nullable: true sender: *19 required: @@ -139858,11 +139918,11 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -139941,11 +140001,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 - organization: *601 - project: *641 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + project: *643 + repository: *604 sender: *19 required: - action @@ -140026,9 +140086,9 @@ x-webhooks: type: string enum: - closed - installation: *600 - organization: *601 - projects_v2: &642 + installation: *602 + organization: *603 + projects_v2: &644 title: Projects v2 Project description: A projects v2 project type: object @@ -140171,9 +140231,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140254,9 +140314,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140373,9 +140433,9 @@ x-webhooks: type: string to: type: string - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -140458,7 +140518,7 @@ x-webhooks: type: string enum: - archived - changes: &646 + changes: &648 type: object properties: archived_at: @@ -140472,9 +140532,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *600 - organization: *601 - projects_v2_item: &643 + installation: *602 + organization: *603 + projects_v2_item: &645 title: Projects v2 Item description: An item belonging to a project type: object @@ -140608,9 +140668,9 @@ x-webhooks: nullable: true to: type: string - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140692,9 +140752,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140775,9 +140835,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -140883,7 +140943,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &644 + - &646 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -140901,7 +140961,7 @@ x-webhooks: required: - id - name - - &645 + - &647 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -140924,8 +140984,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *644 - - *645 + - *646 + - *647 required: - field_value - type: object @@ -140941,9 +141001,9 @@ x-webhooks: nullable: true required: - body - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141038,9 +141098,9 @@ x-webhooks: to: type: string nullable: true - installation: *600 - organization: *601 - projects_v2_item: *643 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141123,10 +141183,10 @@ x-webhooks: type: string enum: - restored - changes: *646 - installation: *600 - organization: *601 - projects_v2_item: *643 + changes: *648 + installation: *602 + organization: *603 + projects_v2_item: *645 sender: *19 required: - action @@ -141208,9 +141268,9 @@ x-webhooks: type: string enum: - reopened - installation: *600 - organization: *601 - projects_v2: *642 + installation: *602 + organization: *603 + projects_v2: *644 sender: *19 required: - action @@ -141291,9 +141351,9 @@ x-webhooks: type: string enum: - created - installation: *600 - organization: *601 - projects_v2_status_update: &647 + installation: *602 + organization: *603 + projects_v2_status_update: &649 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -141420,9 +141480,9 @@ x-webhooks: type: string enum: - deleted - installation: *600 - organization: *601 - projects_v2_status_update: *647 + installation: *602 + organization: *603 + projects_v2_status_update: *649 sender: *19 required: - action @@ -141558,9 +141618,9 @@ x-webhooks: type: string format: date nullable: true - installation: *600 - organization: *601 - projects_v2_status_update: *647 + installation: *602 + organization: *603 + projects_v2_status_update: *649 sender: *19 required: - action @@ -141631,10 +141691,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - repository @@ -141711,13 +141771,13 @@ x-webhooks: type: string enum: - assigned - assignee: *619 - enterprise: *599 - installation: *600 - number: &648 + assignee: *621 + enterprise: *601 + installation: *602 + number: &650 description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -144000,7 +144060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -144082,11 +144142,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -146364,7 +146424,7 @@ x-webhooks: - draft reason: type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -146446,11 +146506,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -148728,7 +148788,7 @@ x-webhooks: - draft reason: type: string - repository: *602 + repository: *604 sender: *19 required: - action @@ -148810,13 +148870,13 @@ x-webhooks: type: string enum: - closed - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: &649 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: &651 allOf: - - *477 + - *479 - type: object properties: allow_auto_merge: @@ -148878,7 +148938,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *602 + repository: *604 sender: *19 required: - action @@ -148959,12 +149019,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -149044,11 +149104,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *599 - milestone: *459 - number: *648 - organization: *601 - pull_request: &650 + enterprise: *601 + milestone: *461 + number: *650 + organization: *603 + pull_request: &652 title: Pull Request type: object properties: @@ -151311,7 +151371,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -151390,11 +151450,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -153676,7 +153736,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *602 + repository: *604 sender: *19 required: - action @@ -153800,12 +153860,12 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -153885,11 +153945,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -156156,7 +156216,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -156236,11 +156296,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *599 - installation: *600 - label: *618 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + label: *620 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -158522,7 +158582,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -158603,10 +158663,10 @@ x-webhooks: type: string enum: - locked - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -160886,7 +160946,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -160966,12 +161026,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *599 - milestone: *459 - number: *648 - organization: *601 - pull_request: *650 - repository: *602 + enterprise: *601 + milestone: *461 + number: *650 + organization: *603 + pull_request: *652 + repository: *604 sender: *19 required: - action @@ -161050,12 +161110,12 @@ x-webhooks: type: string enum: - opened - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161136,12 +161196,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161221,12 +161281,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *599 - installation: *600 - number: *648 - organization: *601 - pull_request: *649 - repository: *602 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 + pull_request: *651 + repository: *604 sender: *19 required: - action @@ -161592,9 +161652,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -163764,7 +163824,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -163844,7 +163904,7 @@ x-webhooks: type: string enum: - deleted - comment: &652 + comment: &654 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -164129,9 +164189,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -166289,7 +166349,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -166369,11 +166429,11 @@ x-webhooks: type: string enum: - edited - changes: *651 - comment: *652 - enterprise: *599 - installation: *600 - organization: *601 + changes: *653 + comment: *654 + enterprise: *601 + installation: *602 + organization: *603 pull_request: type: object properties: @@ -168534,7 +168594,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *602 + repository: *604 sender: *19 required: - action @@ -168615,9 +168675,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -170790,7 +170850,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 review: description: The review that was affected. type: object @@ -171033,9 +171093,9 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -173089,8 +173149,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 - review: &653 + repository: *604 + review: &655 description: The review that was affected. type: object properties: @@ -173319,12 +173379,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -175607,7 +175667,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_reviewer: title: User type: object @@ -175691,12 +175751,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -177986,7 +178046,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -178178,12 +178238,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -180468,7 +180528,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_reviewer: title: User type: object @@ -180553,12 +180613,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *599 - installation: *600 + enterprise: *601 + installation: *602 number: description: The pull request number. type: integer - organization: *601 + organization: *603 pull_request: title: Pull Request type: object @@ -182834,7 +182894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183015,9 +183075,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -185192,8 +185252,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 - review: *653 + repository: *604 + review: *655 sender: *19 required: - action @@ -185273,9 +185333,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -187345,7 +187405,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 sender: *19 thread: type: object @@ -187728,9 +187788,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 pull_request: title: Simple Pull Request type: object @@ -189786,7 +189846,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *602 + repository: *604 sender: *19 thread: type: object @@ -190172,10 +190232,10 @@ x-webhooks: type: string before: type: string - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -192446,7 +192506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -192528,11 +192588,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *654 - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + assignee: *656 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -194815,7 +194875,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -194894,11 +194954,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *599 - installation: *600 - label: *618 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + label: *620 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -197171,7 +197231,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -197252,10 +197312,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *599 - installation: *600 - number: *648 - organization: *601 + enterprise: *601 + installation: *602 + number: *650 + organization: *603 pull_request: title: Pull Request type: object @@ -199520,7 +199580,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *602 + repository: *604 sender: *19 required: - action @@ -199720,7 +199780,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *599 + enterprise: *601 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -199812,8 +199872,8 @@ x-webhooks: - url - author - committer - installation: *600 - organization: *601 + installation: *602 + organization: *603 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -200388,9 +200448,9 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -200836,7 +200896,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -200890,7 +200950,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -200968,9 +201028,9 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 registry_package: type: object properties: @@ -201278,7 +201338,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *636 + items: *638 summary: type: string tag_name: @@ -201327,7 +201387,7 @@ x-webhooks: - owner - package_version - registry - repository: *602 + repository: *604 sender: *19 required: - action @@ -201404,10 +201464,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - release: &655 + enterprise: *601 + installation: *602 + organization: *603 + release: &657 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -201712,7 +201772,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *602 + repository: *604 sender: *19 required: - action @@ -201789,11 +201849,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -201901,11 +201961,11 @@ x-webhooks: type: boolean required: - to - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -201983,9 +202043,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -202294,7 +202354,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *602 + repository: *604 sender: *19 required: - action @@ -202370,10 +202430,10 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - release: &656 + enterprise: *601 + installation: *602 + organization: *603 + release: &658 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -202679,7 +202739,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *602 + repository: *604 sender: *19 required: - action @@ -202755,11 +202815,11 @@ x-webhooks: type: string enum: - released - enterprise: *599 - installation: *600 - organization: *601 - release: *655 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *657 + repository: *604 sender: *19 required: - action @@ -202835,11 +202895,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *599 - installation: *600 - organization: *601 - release: *656 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + release: *658 + repository: *604 sender: *19 required: - action @@ -202915,11 +202975,11 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - repository_advisory: *530 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + repository_advisory: *532 sender: *19 required: - action @@ -202995,11 +203055,11 @@ x-webhooks: type: string enum: - reported - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - repository_advisory: *530 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + repository_advisory: *532 sender: *19 required: - action @@ -203075,10 +203135,10 @@ x-webhooks: type: string enum: - archived - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203155,10 +203215,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203236,10 +203296,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203323,10 +203383,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203438,10 +203498,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203513,10 +203573,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 status: type: string @@ -203597,10 +203657,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203677,10 +203737,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203774,10 +203834,10 @@ x-webhooks: - name required: - repository - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -203857,10 +203917,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 sender: *19 required: @@ -203939,10 +203999,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 sender: *19 required: @@ -204021,10 +204081,10 @@ x-webhooks: type: string enum: - edited - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 repository_ruleset: *212 changes: type: object @@ -204329,10 +204389,10 @@ x-webhooks: - from required: - owner - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204410,10 +204470,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204491,7 +204551,7 @@ x-webhooks: type: string enum: - create - alert: &657 + alert: &659 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -204612,10 +204672,10 @@ x-webhooks: type: string enum: - open - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204821,10 +204881,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -204902,11 +204962,11 @@ x-webhooks: type: string enum: - reopen - alert: *657 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *659 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205105,10 +205165,10 @@ x-webhooks: enum: - fixed - open - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205186,7 +205246,7 @@ x-webhooks: type: string enum: - created - alert: &658 + alert: &660 type: object properties: number: *48 @@ -205266,10 +205326,19 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + nullable: true + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205350,11 +205419,11 @@ x-webhooks: type: string enum: - created - alert: *658 - installation: *600 - location: *659 - organization: *601 - repository: *602 + alert: *660 + installation: *602 + location: *661 + organization: *603 + repository: *604 sender: *19 required: - location @@ -205378,6 +205447,8 @@ x-webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -205530,6 +205601,88 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + sender: *19 + required: + - action + - alert + - repository + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -205590,11 +205743,11 @@ x-webhooks: type: string enum: - reopened - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205672,11 +205825,11 @@ x-webhooks: type: string enum: - resolved - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205754,11 +205907,11 @@ x-webhooks: type: string enum: - validated - alert: *658 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + alert: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -205834,11 +205987,11 @@ x-webhooks: type: string enum: - published - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - security_advisory: &660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: &662 description: The details of the security advisory, including summary, description, and severity. type: object @@ -206021,11 +206174,11 @@ x-webhooks: type: string enum: - updated - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 - security_advisory: *660 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 + security_advisory: *662 sender: *19 required: - action @@ -206098,10 +206251,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -206286,10 +206439,10 @@ x-webhooks: type: object properties: security_and_analysis: *205 - enterprise: *599 - installation: *600 - organization: *601 - repository: *248 + enterprise: *601 + installation: *602 + organization: *603 + repository: *250 sender: *19 required: - changes @@ -206367,12 +206520,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: &661 + sponsorship: &663 type: object properties: created_at: @@ -206673,12 +206826,12 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -206766,12 +206919,12 @@ x-webhooks: type: string required: - from - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -206848,17 +207001,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &662 + effective_date: &664 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - sponsorship @@ -206932,7 +207085,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &663 + changes: &665 type: object properties: tier: @@ -206976,13 +207129,13 @@ x-webhooks: - from required: - tier - effective_date: *662 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + effective_date: *664 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -207059,13 +207212,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *663 - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + changes: *665 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - sponsorship: *661 + sponsorship: *663 required: - action - changes @@ -207139,10 +207292,10 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207225,10 +207378,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -207644,15 +207797,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *599 + enterprise: *601 id: description: The unique identifier of the status. type: integer - installation: *600 + installation: *602 name: type: string - organization: *601 - repository: *602 + organization: *603 + repository: *604 sender: *19 sha: description: The Commit SHA. @@ -207767,9 +207920,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -207859,9 +208012,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -207951,9 +208104,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -208043,9 +208196,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *600 - organization: *601 - repository: *602 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -208122,12 +208275,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - team: &664 + team: &666 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -208317,9 +208470,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -208777,7 +208930,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -208853,9 +209006,9 @@ x-webhooks: type: string enum: - created - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209313,7 +209466,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -209390,9 +209543,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -209850,7 +210003,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -209994,9 +210147,9 @@ x-webhooks: - from required: - permissions - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -210454,7 +210607,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - changes @@ -210532,9 +210685,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *599 - installation: *600 - organization: *601 + enterprise: *601 + installation: *602 + organization: *603 repository: title: Repository description: A git repository @@ -210992,7 +211145,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *664 + team: *666 required: - action - team @@ -211068,10 +211221,10 @@ x-webhooks: type: string enum: - started - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 required: - action @@ -211144,16 +211297,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *599 + enterprise: *601 inputs: type: object nullable: true additionalProperties: true - installation: *600 - organization: *601 + installation: *602 + organization: *603 ref: type: string - repository: *602 + repository: *604 sender: *19 workflow: type: string @@ -211235,10 +211388,10 @@ x-webhooks: type: string enum: - completed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: allOf: @@ -211475,7 +211628,7 @@ x-webhooks: type: string required: - conclusion - deployment: *392 + deployment: *394 required: - action - repository @@ -211554,10 +211707,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: allOf: @@ -211817,7 +211970,7 @@ x-webhooks: required: - status - steps - deployment: *392 + deployment: *394 required: - action - repository @@ -211896,10 +212049,10 @@ x-webhooks: type: string enum: - queued - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: type: object @@ -212034,7 +212187,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *392 + deployment: *394 required: - action - repository @@ -212113,10 +212266,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 workflow_job: type: object @@ -212252,7 +212405,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *392 + deployment: *394 required: - action - repository @@ -212332,12 +212485,12 @@ x-webhooks: type: string enum: - completed - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object @@ -213336,12 +213489,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object @@ -214325,12 +214478,12 @@ x-webhooks: type: string enum: - requested - enterprise: *599 - installation: *600 - organization: *601 - repository: *602 + enterprise: *601 + installation: *602 + organization: *603 + repository: *604 sender: *19 - workflow: *614 + workflow: *616 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 88fafd88a6..6679138f17 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -27450,6 +27450,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -28227,6 +28247,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -28356,7 +28386,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -28442,7 +28474,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -57015,627 +57049,639 @@ "example": 10000, "nullable": true }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "example": false, - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "default-response": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "archived_at": null, - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false, - "secret_scanning_validity_checks_enabled": false - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Organization Full", - "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - }, - "name": { - "type": "string", - "example": "github" - }, - "company": { - "type": "string", - "example": "GitHub" - }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" - }, - "location": { - "type": "string", - "example": "San Francisco" - }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" - }, - "total_private_repos": { - "type": "integer", - "example": 100 - }, - "owned_private_repos": { - "type": "integer", - "example": 100 - }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true - }, - "disk_usage": { + "collaborators": { "type": "integer", - "example": 10000, - "nullable": true + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "example": false, + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "archived_at": null, + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_validity_checks_enabled": false + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + } + } + }, + "examples": { + "default": { + "value": { + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Full", + "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." }, "billing_email": { "type": "string", @@ -136667,6 +136713,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -137444,6 +137510,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -137573,7 +137649,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -137659,7 +137737,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -399522,6 +399602,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -399880,6 +399980,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } } @@ -399942,7 +400052,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -399961,7 +400073,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -400399,6 +400513,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -400421,7 +400545,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -400906,6 +401032,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -400947,7 +401083,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -1056424,199 +1056562,1811 @@ "content": { "application/json": { "schema": { - "title": "repository transferred event", + "title": "repository transferred event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "transferred" + ] + }, + "changes": { + "type": "object", + "properties": { + "owner": { + "type": "object", + "properties": { + "from": { + "type": "object", + "properties": { + "organization": { + "title": "Organization", + "type": "object", + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "hooks_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "type": "string", + "format": "uri" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string", + "format": "uri-template" + }, + "node_id": { + "type": "string" + }, + "public_members_url": { + "type": "string", + "format": "uri-template" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id", + "node_id", + "url", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + } + } + }, + "required": [ + "from" + ] + } + }, + "required": [ + "owner" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-unarchived": { + "post": { + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "repository unarchived event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "transferred" - ] - }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "description": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "issues_url": { - "type": "string", - "format": "uri" - }, - "login": { - "type": "string" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { - "type": "string" - }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" - ] - } - } - } - }, - "required": [ - "from" - ] - } - }, - "required": [ - "owner" + "unarchived" ] }, "enterprise": { @@ -1058125,7 +1059875,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1058151,13 +1059900,13 @@ } } }, - "repository-unarchived": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1058222,15 +1059971,181 @@ "content": { "application/json": { "schema": { - "title": "repository unarchived event", + "title": "repository_vulnerability_alert create event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unarchived" + "create" ] }, + "alert": { + "title": "Repository Vulnerability Alert Alert", + "description": "The security alert of the vulnerable dependency.", + "type": "object", + "required": [ + "affected_package_name", + "affected_range", + "created_at", + "external_identifier", + "external_reference", + "ghsa_id", + "id", + "node_id", + "number", + "severity", + "state" + ], + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "type": "string", + "format": "date-time" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "open" + ] + } + } + }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -1059737,6 +1061652,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1059752,21 +1061668,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", + "subcategory": "repository_vulnerability_alert", "supported-webhook-types": [ - "business", "repository", - "organization", - "app" + "organization" ] } } }, - "repository-vulnerability-alert-create": { + "repository-vulnerability-alert-dismiss": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1059833,13 +1061747,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert create event", + "title": "repository_vulnerability_alert dismiss event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "create" + "dismiss" ] }, "alert": { @@ -1059850,6 +1061764,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1059869,6 +1061786,10 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": "string", + "nullable": true + }, "dismiss_reason": { "type": "string" }, @@ -1059964,6 +1061885,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1060003,7 +1061927,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1061538,11 +1063462,11 @@ } } }, - "repository-vulnerability-alert-dismiss": { + "repository-vulnerability-alert-reopen": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1061609,13 +1063533,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert dismiss event", + "title": "repository_vulnerability_alert reopen event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "dismiss" + "reopen" ] }, "alert": { @@ -1061626,9 +1063550,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1061648,10 +1063569,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": "string", - "nullable": true - }, "dismiss_reason": { "type": "string" }, @@ -1061747,9 +1063664,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1061789,7 +1063703,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1063324,11 +1065238,11 @@ } } }, - "repository-vulnerability-alert-reopen": { + "repository-vulnerability-alert-resolve": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1063395,13 +1065309,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert reopen event", + "title": "repository_vulnerability_alert resolve event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "reopen" + "resolve" ] }, "alert": { @@ -1063565,6 +1065479,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1065100,13 +1067015,13 @@ } } }, - "repository-vulnerability-alert-resolve": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1065171,179 +1067086,364 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert resolve event", + "title": "secret_scanning_alert created event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "resolve" + "created" ] }, "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], "properties": { - "affected_package_name": { - "type": "string" - }, - "affected_range": { - "type": "string" + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true }, "created_at": { - "type": "string" + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true }, - "dismiss_reason": { - "type": "string" + "updated_at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", - "type": "object", + "html_url": { + "type": "string", + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "resolution": { + "type": "string", + "description": "The reason for resolving the alert.", "nullable": true, - "required": [ - "login", - "id" - ], + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited" + ] + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { - "avatar_url": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "deleted": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "email": { + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "events_url": { + "url": { "type": "string", - "format": "uri-template" + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "followers_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" }, "following_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/following{/other_user}" }, "gists_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, - "gravatar_id": { - "type": "string" + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, - "html_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" }, - "login": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { "name": { + "nullable": true, "type": "string" }, - "node_id": { + "email": { + "nullable": true, "type": "string" }, - "organizations_url": { + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "received_events_url": { + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { "type": "string", - "format": "uri" + "example": "MDQ6VXNlcjE=" }, - "repos_url": { + "avatar_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "site_admin": { - "type": "boolean" + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, "starred_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" }, "type": { "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] + "example": "User" }, - "url": { + "site_admin": { + "type": "boolean" + }, + "starred_at": { "type": "string", - "format": "uri" + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } - } - }, - "external_identifier": { - "type": "string" - }, - "external_reference": { - "type": "string", - "nullable": true, - "format": "uri" - }, - "fix_reason": { - "type": "string" + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true }, - "fixed_at": { + "push_protection_bypassed_at": { "type": "string", - "format": "date-time" - }, - "fixed_in": { - "type": "string" - }, - "ghsa_id": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "number": { - "type": "integer" + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1066854,8 +1068954,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1066869,21 +1068968,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", - "organization" + "organization", + "app" ] } } }, - "secret-scanning-alert-created": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -1066948,7 +1069048,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1067296,76 +1069396,18 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true - } - } - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "avatar_url": { - "type": "string", - "format": "uri" + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1067388,6 +1069430,314 @@ "node_id" ] }, + "location": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment" + ], + "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", + "example": "commit" + }, + "details": { + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1068804,10 +1071154,185 @@ } }, "required": [ - "action", + "location", "alert", - "repository" + "repository", + "sender" ] + }, + "examples": { + "default": { + "value": { + "action": "created", + "alert": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "updated_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", + "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, + "secret_type": "mailchimp_api_key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false + }, + "location": { + "type": "commit", + "details": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + } + }, + "repository": { + "id": 186853002, + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "name": "hello-world", + "full_name": "octocat-repo/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/octocat-repo/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octocat-repo/hello-world", + "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", + "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", + "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", + "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", + "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", + "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", + "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", + "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", + "created_at": "2019-05-15T15:19:25Z", + "updated_at": "2019-05-15T15:21:03Z", + "pushed_at": "2019-05-15T15:20:57Z", + "git_url": "git://github.com/octocat-repo/hello-world.git", + "ssh_url": "git@github.com:octocat-repo/hello-world.git", + "clone_url": "https://github.com/octocat-repo/hello-world.git", + "svn_url": "https://github.com/octocat-repo/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "is_template": false + }, + "sender": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "title": "Secret Scanning Alert Location Created Event", + "type": "object", + "properties": { + "payload": { + "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ] + }, + "examples": { + "default": { + "value": { + "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" + } + } } } } @@ -1068819,8 +1071344,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1068829,13 +1071355,13 @@ } } }, - "secret-scanning-alert-location-created": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1068900,13 +1071426,13 @@ "content": { "application/json": { "schema": { - "title": "Secret Scanning Alert Location Created Event", + "title": "secret_scanning_alert publicly leaked event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "created" + "publicly_leaked" ] }, "alert": { @@ -1069248,9 +1071774,87 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "installation": { "title": "Simple Installation", "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", @@ -1069272,314 +1071876,6 @@ "node_id" ] }, - "location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "wiki_commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "example": "commit" - }, - "details": { - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - } - }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1070996,183 +1073292,10 @@ } }, "required": [ - "location", + "action", "alert", - "repository", - "sender" - ] - }, - "examples": { - "default": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": [ - "payload" + "repository" ] - }, - "examples": { - "default": { - "value": { - "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" - } - } } } } @@ -1071184,9 +1073307,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1071614,6 +1073736,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1073566,6 +1075698,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1075518,6 +1077660,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index d26cd134e8..122133a6c1 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &262 + type: &264 type: string description: The type of credit the user is receiving. enum: @@ -1012,7 +1012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &573 + - &575 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1654,7 +1654,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &583 + schema: &585 title: Scim Error description: Scim Error type: object @@ -9669,7 +9669,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &371 + instances_url: &373 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9703,7 +9703,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &372 + dismissed_reason: &374 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9712,13 +9712,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &373 + dismissed_comment: &375 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &374 + rule: &376 type: object properties: id: @@ -9771,7 +9771,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &375 + tool: &377 type: object properties: name: *68 @@ -9781,15 +9781,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &376 + most_recent_instance: &378 type: object properties: - ref: &369 + ref: &371 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &382 + analysis_key: &384 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9800,7 +9800,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &383 + category: &385 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11480,7 +11480,7 @@ paths: enum: - development - runtime - security_advisory: &425 + security_advisory: &427 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -11711,7 +11711,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &426 + auto_dismissed_at: &428 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12198,6 +12198,24 @@ paths: required: false schema: type: string + - &260 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &261 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -12205,7 +12223,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 type: object properties: number: *74 @@ -12224,14 +12242,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &566 + state: &568 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &567 + resolution: &569 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -12296,8 +12314,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true examples: - default: &261 + default: &263 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -12417,6 +12444,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -12499,6 +12528,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *39 '404': *7 @@ -12530,7 +12561,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &265 type: object properties: total_minutes_used: @@ -12600,7 +12631,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &264 + default: &266 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -12638,7 +12669,7 @@ paths: description: Success content: application/json: - schema: &265 + schema: &267 type: object properties: total_advanced_security_committers: @@ -12693,7 +12724,7 @@ paths: required: - repositories examples: - default: &266 + default: &268 value: total_advanced_security_committers: 2 total_count: 2 @@ -12936,7 +12967,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &269 type: object properties: total_gigabytes_bandwidth_used: @@ -12954,7 +12985,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &268 + default: &270 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -12986,7 +13017,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &271 type: object properties: days_left_in_billing_cycle: @@ -13004,7 +13035,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &270 + default: &272 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -13431,7 +13462,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &474 + properties: &476 id: type: integer format: int64 @@ -13542,7 +13573,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &410 + properties: &412 url: type: string format: uri @@ -13612,7 +13643,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &411 + required: &413 - closed_issues - creator - description @@ -13753,7 +13784,7 @@ paths: - hooray - eyes - rocket - required: &475 + required: &477 - assignee - closed_at - comments @@ -13775,7 +13806,7 @@ paths: - author_association - created_at - updated_at - comment: &472 + comment: &474 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14335,7 +14366,7 @@ paths: url: type: string format: uri - user: &622 + user: &624 title: Public User description: Public User type: object @@ -17614,14 +17645,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &290 + - &292 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &291 + - &293 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17692,7 +17723,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &304 + '301': &306 description: Moved permanently content: application/json: @@ -17714,7 +17745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &503 + - &505 name: all description: If `true`, show notifications marked as read. in: query @@ -17722,7 +17753,7 @@ paths: schema: type: boolean default: false - - &504 + - &506 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17732,7 +17763,7 @@ paths: type: boolean default: false - *94 - - &505 + - &507 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18196,7 +18227,7 @@ paths: - url - subscription_url examples: - default: &506 + default: &508 value: - id: '1' repository: @@ -18742,7 +18773,7 @@ paths: type: array items: *52 examples: - default: &640 + default: &642 value: - login: github id: 1 @@ -19031,6 +19062,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -19626,7 +19665,7 @@ paths: type: integer repository_cache_usages: type: array - items: &309 + items: &311 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19877,7 +19916,7 @@ paths: type: array items: *57 examples: - default: &634 + default: &636 value: total_count: 1 repositories: @@ -20642,7 +20681,7 @@ paths: type: array items: *139 examples: - default: &625 + default: &627 value: total_count: 1 repositories: @@ -21682,7 +21721,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &331 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21711,7 +21750,7 @@ paths: - key_id - key examples: - default: &330 + default: &332 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22122,7 +22161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *121 - - &314 + - &316 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22725,7 +22764,7 @@ paths: repository_id: type: integer examples: - default: &343 + default: &345 value: attestations: - bundle: @@ -23040,7 +23079,7 @@ paths: be returned. in: query required: false - schema: &370 + schema: &372 type: string description: Severity of a code scanning alert. enum: @@ -24211,7 +24250,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &396 + properties: &398 name: type: string description: The name of the machine. @@ -24253,7 +24292,7 @@ paths: - ready - in_progress nullable: true - required: &397 + required: &399 - name - display_name - operating_system @@ -25121,7 +25160,7 @@ paths: - updated_at - visibility examples: - default: &398 + default: &400 value: total_count: 2 secrets: @@ -25159,7 +25198,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &401 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25188,7 +25227,7 @@ paths: - key_id - key examples: - default: &400 + default: &402 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25220,7 +25259,7 @@ paths: application/json: schema: *171 examples: - default: &402 + default: &404 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26902,7 +26941,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &431 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -26919,7 +26958,7 @@ paths: - key_id - key examples: - default: &430 + default: &432 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27500,7 +27539,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &287 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -27581,7 +27620,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &286 + default: &288 value: group_id: '123' group_name: Octocat admins @@ -27636,7 +27675,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &285 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -27673,7 +27712,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &284 + default: &286 value: groups: - group_id: '123' @@ -28461,7 +28500,7 @@ paths: application/json: schema: *22 examples: - default: &468 + default: &470 value: id: 1 account: @@ -28686,7 +28725,7 @@ paths: required: true content: application/json: - schema: &469 + schema: &471 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -29305,7 +29344,7 @@ paths: application/json: schema: *211 examples: - default: &395 + default: &397 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30528,7 +30567,7 @@ paths: parameters: - *121 - *217 - - &639 + - &641 name: repo_name description: repo_name parameter in: path @@ -31786,7 +31825,7 @@ paths: - nuget - container - *121 - - &641 + - &643 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31827,7 +31866,7 @@ paths: default: *224 '403': *29 '401': *25 - '400': &643 + '400': &645 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33163,7 +33202,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &301 + '410': &303 description: Gone content: application/json: @@ -34037,7 +34076,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 title: Full Repository description: Full Repository type: object @@ -34430,7 +34469,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &417 + properties: &419 url: type: string format: uri @@ -34446,7 +34485,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &418 + required: &420 - url - key - name @@ -34535,7 +34574,7 @@ paths: - network_count - subscribers_count examples: - default: &305 + default: &307 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35088,7 +35127,7 @@ paths: - *121 - *18 - *20 - - &553 + - &555 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35367,7 +35406,7 @@ paths: type: object description: A repository rule. oneOf: - - &535 + - &537 title: creation description: Only allow users with bypass permission to create matching refs. @@ -35379,7 +35418,7 @@ paths: type: string enum: - creation - - &536 + - &538 title: update description: Only allow users with bypass permission to update matching refs. @@ -35400,7 +35439,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &538 + - &540 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35412,7 +35451,7 @@ paths: type: string enum: - deletion - - &539 + - &541 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35424,7 +35463,7 @@ paths: type: string enum: - required_linear_history - - &540 + - &542 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35502,7 +35541,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &541 + - &543 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35526,7 +35565,7 @@ paths: type: string required: - required_deployment_environments - - &542 + - &544 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35538,7 +35577,7 @@ paths: type: string enum: - required_signatures - - &543 + - &545 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35584,7 +35623,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &544 + - &546 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35632,7 +35671,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &545 + - &547 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35644,7 +35683,7 @@ paths: type: string enum: - non_fast_forward - - &546 + - &548 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35680,7 +35719,7 @@ paths: required: - operator - pattern - - &547 + - &549 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35716,7 +35755,7 @@ paths: required: - operator - pattern - - &548 + - &550 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35752,7 +35791,7 @@ paths: required: - operator - pattern - - &549 + - &551 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35788,7 +35827,7 @@ paths: required: - operator - pattern - - &550 + - &552 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35914,7 +35953,7 @@ paths: maximum: 100 required: - max_file_size - - &551 + - &553 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35964,7 +36003,7 @@ paths: - repository_id required: - workflows - - &552 + - &554 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36201,7 +36240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *121 - - &554 + - &556 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -36217,7 +36256,7 @@ paths: in: query schema: type: integer - - &555 + - &557 name: time_period description: |- The time period to filter by. @@ -36233,14 +36272,14 @@ paths: - week - month default: day - - &556 + - &558 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &557 + - &559 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -36260,7 +36299,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &560 title: Rule Suites description: Response type: array @@ -36315,7 +36354,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &559 + default: &561 value: - id: 21 actor_id: 12 @@ -36359,7 +36398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *121 - - &560 + - &562 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36375,7 +36414,7 @@ paths: description: Response content: application/json: - schema: &561 + schema: &563 title: Rule Suite description: Response type: object @@ -36474,7 +36513,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &562 + default: &564 value: id: 21 actor_id: 12 @@ -36692,7 +36731,7 @@ paths: - *67 - *20 - *18 - - &564 + - &566 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -36702,7 +36741,7 @@ paths: required: false schema: type: string - - &565 + - &567 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -36713,6 +36752,8 @@ paths: schema: type: string - *259 + - *260 + - *261 responses: '200': description: Response @@ -36720,9 +36761,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *261 + default: *263 headers: Link: *39 '404': *7 @@ -36792,7 +36833,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 description: A repository security advisory. type: object properties: @@ -37012,7 +37053,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 credits_detailed: type: array nullable: true @@ -37022,7 +37063,7 @@ paths: type: object properties: user: *19 - type: *262 + type: *264 state: type: string description: The state of the user's acceptance of the @@ -37083,7 +37124,7 @@ paths: - private_fork additionalProperties: false examples: - default: &572 + default: &574 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37473,7 +37514,7 @@ paths: application/json: schema: type: array - items: &514 + items: &516 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -37563,9 +37604,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37597,9 +37638,9 @@ paths: description: Success content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37627,9 +37668,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37657,9 +37698,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *271 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37695,7 +37736,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &294 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -37741,7 +37782,7 @@ paths: type: string nullable: true examples: - default: &293 + default: &295 value: groups: - group_id: '123' @@ -37953,7 +37994,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38263,7 +38304,7 @@ paths: - repos_count - organization examples: - default: &272 + default: &274 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38340,9 +38381,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 x-github: githubCloudOnly: false @@ -38426,16 +38467,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '201': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 '422': *16 '403': *29 @@ -38505,7 +38546,7 @@ paths: application/json: schema: type: array - items: &273 + items: &275 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38604,7 +38645,7 @@ paths: - updated_at - url examples: - default: &612 + default: &614 value: - author: login: octocat @@ -38713,9 +38754,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &274 + default: &276 value: author: login: octocat @@ -38789,7 +38830,7 @@ paths: parameters: - *121 - *219 - - &275 + - &277 name: discussion_number description: The number that identifies the discussion. in: path @@ -38801,9 +38842,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38827,7 +38868,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: false content: @@ -38850,9 +38891,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &613 + default: &615 value: author: login: octocat @@ -38924,7 +38965,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 responses: '204': description: Response @@ -38952,7 +38993,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 - *67 - *18 - *20 @@ -38963,7 +39004,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39035,7 +39076,7 @@ paths: - updated_at - url examples: - default: &614 + default: &616 value: - author: login: octocat @@ -39105,7 +39146,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: true content: @@ -39127,9 +39168,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &277 + default: &279 value: author: login: octocat @@ -39197,8 +39238,8 @@ paths: parameters: - *121 - *219 - - *275 - - &278 + - *277 + - &280 name: comment_number description: The number that identifies the comment. in: path @@ -39210,9 +39251,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39236,8 +39277,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 requestBody: required: true content: @@ -39259,9 +39300,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &615 + default: &617 value: author: login: octocat @@ -39327,8 +39368,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 responses: '204': description: Response @@ -39356,8 +39397,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -39383,7 +39424,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39426,7 +39467,7 @@ paths: - content - created_at examples: - default: &281 + default: &283 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39478,8 +39519,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 requestBody: required: true content: @@ -39512,9 +39553,9 @@ paths: team discussion comment content: application/json: - schema: *279 + schema: *281 examples: - default: &280 + default: &282 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39543,9 +39584,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39570,9 +39611,9 @@ paths: parameters: - *121 - *219 - - *275 - - *278 - - &282 + - *277 + - *280 + - &284 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39606,7 +39647,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -39632,9 +39673,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -39662,7 +39703,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: true content: @@ -39694,16 +39735,16 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39728,8 +39769,8 @@ paths: parameters: - *121 - *219 - - *275 - - *282 + - *277 + - *284 responses: '204': description: Response @@ -39759,9 +39800,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39804,9 +39845,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -39947,7 +39988,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &289 title: Team Membership description: Team Membership type: object @@ -39974,7 +40015,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &616 + response-if-user-is-a-team-maintainer: &618 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40037,9 +40078,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: &617 + response-if-users-membership-with-team-is-now-pending: &619 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40113,7 +40154,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Team Project description: A team's access to a project. type: object @@ -40181,7 +40222,7 @@ paths: - updated_at - permissions examples: - default: &618 + default: &620 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40244,7 +40285,7 @@ paths: parameters: - *121 - *219 - - &289 + - &291 name: project_id description: The unique identifier of the project. in: path @@ -40256,9 +40297,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &619 + default: &621 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40320,7 +40361,7 @@ paths: parameters: - *121 - *219 - - *289 + - *291 requestBody: required: false content: @@ -40386,7 +40427,7 @@ paths: parameters: - *121 - *219 - - *289 + - *291 responses: '204': description: Response @@ -40454,14 +40495,14 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &620 + schema: &622 title: Team Repository description: A team's access to a repository. type: object @@ -41032,8 +41073,8 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -41080,8 +41121,8 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -41114,9 +41155,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *293 + default: *295 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41182,7 +41223,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -41227,7 +41268,7 @@ paths: type: array items: *207 examples: - response-if-child-teams-exist: &621 + response-if-child-teams-exist: &623 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41351,7 +41392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &294 + - &296 name: card_id description: The unique identifier of the card. in: path @@ -41363,7 +41404,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &297 title: Project Card description: Project cards represent a scope of work. type: object @@ -41430,7 +41471,7 @@ paths: - created_at - updated_at examples: - default: &296 + default: &298 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41480,7 +41521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *294 + - *296 requestBody: required: false content: @@ -41507,9 +41548,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 '304': *37 '403': *29 '401': *25 @@ -41530,7 +41571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *294 + - *296 responses: '204': description: Response @@ -41568,7 +41609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *294 + - *296 requestBody: required: true content: @@ -41673,7 +41714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &297 + - &299 name: column_id description: The unique identifier of the column. in: path @@ -41685,7 +41726,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &300 title: Project Column description: Project columns contain cards of work. type: object @@ -41731,7 +41772,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &301 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41760,7 +41801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *297 + - *299 requestBody: required: true content: @@ -41784,9 +41825,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '304': *37 '403': *29 '401': *25 @@ -41805,7 +41846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *297 + - *299 responses: '204': description: Response @@ -41828,7 +41869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *297 + - *299 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41849,7 +41890,7 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: default: value: @@ -41902,7 +41943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *297 + - *299 requestBody: required: true content: @@ -41942,9 +41983,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 '304': *37 '403': *29 '401': *25 @@ -41994,7 +42035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *297 + - *299 requestBody: required: true content: @@ -42050,7 +42091,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *289 + - *291 responses: '200': description: Response @@ -42058,7 +42099,7 @@ paths: application/json: schema: *236 examples: - default: &300 + default: &302 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42111,7 +42152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *289 + - *291 requestBody: required: false content: @@ -42159,7 +42200,7 @@ paths: application/json: schema: *236 examples: - default: *300 + default: *302 '404': description: Not Found if the authenticated user does not have access to the project @@ -42180,7 +42221,7 @@ paths: items: type: string '401': *25 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -42198,7 +42239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *289 + - *291 responses: '204': description: Delete Success @@ -42219,7 +42260,7 @@ paths: items: type: string '401': *25 - '410': *301 + '410': *303 '404': *7 x-github: githubCloudOnly: false @@ -42242,7 +42283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *289 + - *291 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42294,7 +42335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *289 + - *291 - *161 requestBody: required: false @@ -42342,7 +42383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *289 + - *291 - *161 responses: '204': @@ -42371,7 +42412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *289 + - *291 - *161 responses: '200': @@ -42439,7 +42480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *289 + - *291 - *18 - *20 responses: @@ -42449,7 +42490,7 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: default: value: @@ -42481,7 +42522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *289 + - *291 requestBody: required: true content: @@ -42504,7 +42545,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -42565,7 +42606,7 @@ paths: resources: type: object properties: - core: &302 + core: &304 title: Rate Limit type: object properties: @@ -42582,19 +42623,19 @@ paths: - remaining - reset - used - graphql: *302 - search: *302 - code_search: *302 - source_import: *302 - integration_manifest: *302 - code_scanning_upload: *302 - actions_runner_registration: *302 - scim: *302 - dependency_snapshots: *302 + graphql: *304 + search: *304 + code_search: *304 + source_import: *304 + integration_manifest: *304 + code_scanning_upload: *304 + actions_runner_registration: *304 + scim: *304 + dependency_snapshots: *304 required: - core - search - rate: *302 + rate: *304 required: - rate - resources @@ -42693,14 +42734,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *303 + schema: *305 examples: default-response: summary: Default response @@ -43205,7 +43246,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *304 + '301': *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43223,8 +43264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -43470,10 +43511,10 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 - '307': &306 + default: *307 + '307': &308 description: Temporary Redirect content: application/json: @@ -43502,8 +43543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -43525,7 +43566,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *306 + '307': *308 '404': *7 x-github: githubCloudOnly: false @@ -43548,11 +43589,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - - &321 + - &323 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43575,7 +43616,7 @@ paths: type: integer artifacts: type: array - items: &307 + items: &309 title: Artifact description: An artifact type: object @@ -43646,7 +43687,7 @@ paths: - expires_at - updated_at examples: - default: &322 + default: &324 value: total_count: 2 artifacts: @@ -43705,9 +43746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *290 - - *291 - - &308 + - *292 + - *293 + - &310 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43719,7 +43760,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: default: value: @@ -43756,9 +43797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *290 - - *291 - - *308 + - *292 + - *293 + - *310 responses: '204': description: Response @@ -43782,9 +43823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *290 - - *291 - - *308 + - *292 + - *293 + - *310 - name: archive_format in: path required: true @@ -43798,7 +43839,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': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43821,14 +43862,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: default: value: @@ -43854,11 +43895,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - - &310 + - &312 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -43892,7 +43933,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &313 title: Repository actions caches description: Repository actions caches type: object @@ -43934,7 +43975,7 @@ paths: - total_count - actions_caches examples: - default: &312 + default: &314 value: total_count: 1 actions_caches: @@ -43966,23 +44007,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *290 - - *291 + - *292 + - *293 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *310 + - *312 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: *312 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44002,8 +44043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *290 - - *291 + - *292 + - *293 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44034,9 +44075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *290 - - *291 - - &313 + - *292 + - *293 + - &315 name: job_id description: The unique identifier of the job. in: path @@ -44048,7 +44089,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 title: Job description: Information of a job execution in a workflow run type: object @@ -44355,9 +44396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *290 - - *291 - - *313 + - *292 + - *293 + - *315 responses: '302': description: Response @@ -44385,9 +44426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *290 - - *291 - - *313 + - *292 + - *293 + - *315 requestBody: required: false content: @@ -44432,8 +44473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Status response @@ -44483,8 +44524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -44547,8 +44588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -44566,7 +44607,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44586,7 +44627,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &330 value: total_count: 2 secrets: @@ -44619,9 +44660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *290 - - *291 - - *314 + - *292 + - *293 + - *316 - *20 responses: '200': @@ -44638,7 +44679,7 @@ paths: type: integer variables: type: array - items: &331 + items: &333 title: Actions Variable type: object properties: @@ -44668,7 +44709,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: total_count: 2 variables: @@ -44701,8 +44742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44711,7 +44752,7 @@ paths: schema: type: object properties: - enabled: &315 + enabled: &317 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -44744,8 +44785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -44756,7 +44797,7 @@ paths: schema: type: object properties: - enabled: *315 + enabled: *317 allowed_actions: *42 required: - enabled @@ -44787,14 +44828,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &316 + schema: &318 type: object properties: access_level: @@ -44812,7 +44853,7 @@ paths: required: - access_level examples: - default: &317 + default: &319 value: access_level: organization x-github: @@ -44837,15 +44878,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 responses: '204': description: Response @@ -44869,8 +44910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44901,8 +44942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -44934,8 +44975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44964,8 +45005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Success response @@ -45005,8 +45046,8 @@ paths: in: query schema: type: string - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -45050,8 +45091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -45083,8 +45124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -45157,8 +45198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -45194,8 +45235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -45225,8 +45266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': @@ -45256,8 +45297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '204': @@ -45283,8 +45324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': *60 @@ -45309,8 +45350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 requestBody: required: true @@ -45359,8 +45400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 requestBody: required: true @@ -45410,8 +45451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': *146 @@ -45441,8 +45482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 - *147 responses: @@ -45472,9 +45513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *290 - - *291 - - &335 + - *292 + - *293 + - &337 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -45482,7 +45523,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45490,7 +45531,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45499,7 +45540,7 @@ paths: required: false schema: type: string - - &338 + - &340 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -45526,7 +45567,7 @@ paths: - pending - *18 - *20 - - &339 + - &341 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -45535,7 +45576,7 @@ paths: schema: type: string format: date-time - - &318 + - &320 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45544,13 +45585,13 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &341 + - &343 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45573,7 +45614,7 @@ paths: type: integer workflow_runs: type: array - items: &319 + items: &321 title: Workflow Run description: An invocation of a workflow type: object @@ -45668,7 +45709,7 @@ paths: that triggered the run. type: array nullable: true - items: &360 + items: &362 title: Pull Request Minimal type: object properties: @@ -45787,7 +45828,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &364 + properties: &366 id: type: string description: SHA for the commit @@ -45838,7 +45879,7 @@ paths: - name - email nullable: true - required: &365 + required: &367 - id - tree_id - message @@ -45885,7 +45926,7 @@ paths: - workflow_url - pull_requests examples: - default: &342 + default: &344 value: total_count: 1 workflow_runs: @@ -46121,24 +46162,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *290 - - *291 - - &320 + - *292 + - *293 + - &322 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &323 + default: &325 value: id: 30433642 name: Build @@ -46379,9 +46420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '204': description: Response @@ -46404,9 +46445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -46525,9 +46566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '201': description: Response @@ -46560,12 +46601,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 - *18 - *20 - - *321 + - *323 responses: '200': description: Response @@ -46581,9 +46622,9 @@ paths: type: integer artifacts: type: array - items: *307 + items: *309 examples: - default: *322 + default: *324 headers: Link: *39 x-github: @@ -46607,25 +46648,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *290 - - *291 - - *320 - - &324 + - *292 + - *293 + - *322 + - &326 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46648,10 +46689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *290 - - *291 - - *320 - - *324 + - *292 + - *293 + - *322 + - *326 - *18 - *20 responses: @@ -46669,9 +46710,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: &326 + default: &328 value: total_count: 1 jobs: @@ -46784,10 +46825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *290 - - *291 - - *320 - - *324 + - *292 + - *293 + - *322 + - *326 responses: '302': description: Response @@ -46815,9 +46856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '202': description: Response @@ -46850,9 +46891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: true content: @@ -46919,9 +46960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '202': description: Response @@ -46954,9 +46995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -46986,9 +47027,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: *326 + default: *328 headers: Link: *39 x-github: @@ -47013,9 +47054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '302': description: Response @@ -47042,9 +47083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '204': description: Response @@ -47071,9 +47112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -47133,7 +47174,7 @@ paths: items: type: object properties: - type: &438 + type: &440 type: string description: The type of reviewer. enum: @@ -47218,9 +47259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: true content: @@ -47267,7 +47308,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47373,7 +47414,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &436 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47429,9 +47470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: false content: @@ -47475,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: false content: @@ -47523,9 +47564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -47662,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -47681,9 +47722,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *39 x-github: @@ -47708,16 +47749,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47739,17 +47780,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &451 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47775,8 +47816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -47831,8 +47872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -47858,9 +47899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *290 - - *291 - - *314 + - *292 + - *293 + - *316 - *20 responses: '200': @@ -47877,9 +47918,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *39 x-github: @@ -47902,8 +47943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -47955,17 +47996,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &452 + default: &454 value: name: USERNAME value: octocat @@ -47991,8 +48032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 requestBody: required: true @@ -48035,8 +48076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 responses: '204': @@ -48062,8 +48103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -48081,7 +48122,7 @@ paths: type: integer workflows: type: array - items: &333 + items: &335 title: Workflow description: A GitHub Actions workflow type: object @@ -48188,9 +48229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *290 - - *291 - - &334 + - *292 + - *293 + - &336 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48205,7 +48246,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -48238,9 +48279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48265,9 +48306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48318,9 +48359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48345,19 +48386,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *290 - - *291 - - *334 - - *335 + - *292 + - *293 - *336 - *337 - *338 - - *18 - - *20 - *339 - - *318 - *340 + - *18 + - *20 - *341 + - *320 + - *342 + - *343 responses: '200': description: Response @@ -48373,9 +48414,9 @@ paths: type: integer workflow_runs: type: array - items: *319 + items: *321 examples: - default: *342 + default: *344 headers: Link: *39 x-github: @@ -48401,9 +48442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '200': description: Response @@ -48464,8 +48505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *290 - - *291 + - *292 + - *293 - *67 - *18 - *65 @@ -48629,8 +48670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -48667,8 +48708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *290 - - *291 + - *292 + - *293 - name: assignee in: path required: true @@ -48704,8 +48745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -48817,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *65 - *66 @@ -48862,7 +48903,7 @@ paths: repository_id: type: integer examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48882,8 +48923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -48891,7 +48932,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Autolink reference description: An autolink reference. type: object @@ -48941,8 +48982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -48981,9 +49022,9 @@ paths: description: response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 key_prefix: TICKET- @@ -49014,9 +49055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *290 - - *291 - - &346 + - *292 + - *293 + - &348 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49028,9 +49069,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *7 x-github: githubCloudOnly: false @@ -49050,9 +49091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *290 - - *291 - - *346 + - *292 + - *293 + - *348 responses: '204': description: Response @@ -49076,8 +49117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response if Dependabot is enabled @@ -49125,8 +49166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -49147,8 +49188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -49168,8 +49209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *290 - - *291 + - *292 + - *293 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49207,7 +49248,7 @@ paths: - url protected: type: boolean - protection: &348 + protection: &350 title: Branch Protection description: Branch Protection type: object @@ -49249,7 +49290,7 @@ paths: required: - contexts - checks - enforce_admins: &351 + enforce_admins: &353 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49264,7 +49305,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &353 + required_pull_request_reviews: &355 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49340,7 +49381,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &350 + restrictions: &352 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49647,9 +49688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *290 - - *291 - - &349 + - *292 + - *293 + - &351 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -49663,14 +49704,14 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &406 + commit: &408 title: Commit description: Commit type: object @@ -49704,7 +49745,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &347 + properties: &349 name: type: string example: '"Chris Wanstrath"' @@ -49719,7 +49760,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true message: type: string @@ -49740,7 +49781,7 @@ paths: required: - sha - url - verification: &458 + verification: &460 title: Verification type: object properties: @@ -49806,7 +49847,7 @@ paths: type: integer files: type: array - items: &421 + items: &423 title: Diff Entry description: Diff Entry type: object @@ -49889,7 +49930,7 @@ paths: - self protected: type: boolean - protection: *348 + protection: *350 protection_url: type: string format: uri @@ -49995,7 +50036,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *304 + '301': *306 '404': *7 x-github: githubCloudOnly: false @@ -50017,15 +50058,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50219,9 +50260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -50476,7 +50517,7 @@ paths: url: type: string format: uri - required_status_checks: &356 + required_status_checks: &358 title: Status Check Policy description: Status Check Policy type: object @@ -50628,7 +50669,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *350 + restrictions: *352 required_conversation_resolution: type: object properties: @@ -50740,9 +50781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -50767,17 +50808,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &352 + default: &354 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50799,17 +50840,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50828,9 +50869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -50855,17 +50896,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50961,9 +51002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51061,9 +51102,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 '422': *16 x-github: githubCloudOnly: false @@ -51084,9 +51125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51113,17 +51154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51146,17 +51187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 '404': *7 x-github: githubCloudOnly: false @@ -51176,9 +51217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51203,17 +51244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51239,9 +51280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51293,9 +51334,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '404': *7 '422': *16 x-github: @@ -51317,9 +51358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51343,9 +51384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51379,9 +51420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51448,9 +51489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51514,9 +51555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: content: application/json: @@ -51582,15 +51623,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -51681,9 +51722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51706,9 +51747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51718,7 +51759,7 @@ paths: type: array items: *6 examples: - default: &358 + default: &360 value: - id: 1 slug: octoapp @@ -51775,9 +51816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51811,7 +51852,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51832,9 +51873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51868,7 +51909,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51889,9 +51930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51925,7 +51966,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51947,9 +51988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51979,9 +52020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -52040,9 +52081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -52101,9 +52142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: content: application/json: @@ -52162,9 +52203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -52198,9 +52239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52258,9 +52299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52318,9 +52359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52380,9 +52421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52404,7 +52445,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -52519,8 +52560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -52799,7 +52840,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52918,8 +52959,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *360 - deployment: &672 + items: *362 + deployment: &674 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53199,9 +53240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *290 - - *291 - - &362 + - *292 + - *293 + - &364 name: check_run_id description: The unique identifier of the check run. in: path @@ -53213,9 +53254,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: &363 + default: &365 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53315,9 +53356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 requestBody: required: true content: @@ -53557,9 +53598,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53579,9 +53620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 - *18 - *20 responses: @@ -53678,9 +53719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 responses: '201': description: Response @@ -53724,8 +53765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -53747,7 +53788,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &366 + schema: &368 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53810,7 +53851,7 @@ paths: nullable: true pull_requests: type: array - items: *360 + items: *362 nullable: true app: title: GitHub app @@ -53832,12 +53873,12 @@ paths: type: string format: date-time nullable: true - head_commit: &698 + head_commit: &700 title: Simple Commit description: A commit. type: object - properties: *364 - required: *365 + properties: *366 + required: *367 latest_check_runs_count: type: integer check_runs_url: @@ -53865,7 +53906,7 @@ paths: - check_runs_url - pull_requests examples: - default: &367 + default: &369 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54156,9 +54197,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54177,8 +54218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -54487,9 +54528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *290 - - *291 - - &368 + - *292 + - *293 + - &370 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54501,9 +54542,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54526,17 +54567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *290 - - *291 - - *368 - - &414 + - *292 + - *293 + - *370 + - &416 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &415 + - &417 name: status description: Returns check runs with the specified `status`. in: query @@ -54575,9 +54616,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: &416 + default: &418 value: total_count: 1 check_runs: @@ -54679,9 +54720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *290 - - *291 - - *368 + - *292 + - *293 + - *370 responses: '201': description: Response @@ -54714,21 +54755,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *162 - *163 - *20 - *18 - - &380 + - &382 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *369 - - &381 + schema: *371 + - &383 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54759,7 +54800,7 @@ paths: be returned. in: query required: false - schema: *370 + schema: *372 responses: '200': description: Response @@ -54775,7 +54816,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *371 + instances_url: *373 state: *70 fixed_at: *83 dismissed_by: @@ -54786,11 +54827,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *372 - dismissed_comment: *373 - rule: *374 - tool: *375 - most_recent_instance: *376 + dismissed_reason: *374 + dismissed_comment: *375 + rule: *376 + tool: *377 + most_recent_instance: *378 required: - number - created_at @@ -54906,7 +54947,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &377 + '403': &379 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54933,9 +54974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *290 - - *291 - - &378 + - *292 + - *293 + - &380 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54949,7 +54990,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &381 type: object properties: number: *74 @@ -54957,7 +54998,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *371 + instances_url: *373 state: *70 fixed_at: *83 dismissed_by: @@ -54968,8 +55009,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *374 + dismissed_comment: *375 rule: type: object properties: @@ -55023,8 +55064,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *375 - most_recent_instance: *376 + tool: *377 + most_recent_instance: *378 required: - number - created_at @@ -55113,7 +55154,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55133,9 +55174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 requestBody: required: true content: @@ -55150,8 +55191,8 @@ paths: enum: - open - dismissed - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *374 + dismissed_comment: *375 required: - state examples: @@ -55166,7 +55207,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -55241,7 +55282,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &386 + '403': &388 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55268,13 +55309,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 - *20 - *18 - - *380 - - *381 + - *382 + - *383 responses: '200': description: Response @@ -55282,7 +55323,7 @@ paths: application/json: schema: type: array - items: *376 + items: *378 examples: default: value: @@ -55321,7 +55362,7 @@ paths: end_column: 50 classifications: - source - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55355,25 +55396,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *162 - *163 - *20 - *18 - - *381 + - *383 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *369 + schema: *371 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &384 + schema: &386 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55394,23 +55435,23 @@ paths: application/json: schema: type: array - items: &385 + items: &387 type: object properties: - ref: *369 - commit_sha: &394 + ref: *371 + commit_sha: &396 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *382 + analysis_key: *384 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *383 + category: *385 error: type: string example: error reading field xyz @@ -55434,8 +55475,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *384 - tool: *375 + sarif_id: *386 + tool: *377 deletable: type: boolean warning: @@ -55496,7 +55537,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55532,8 +55573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55546,7 +55587,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: response: summary: application/json response @@ -55600,7 +55641,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55682,8 +55723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55736,7 +55777,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *386 + '403': *388 '404': *7 '503': *85 x-github: @@ -55758,8 +55799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -55767,7 +55808,7 @@ paths: application/json: schema: type: array - items: &387 + items: &389 title: CodeQL Database description: A CodeQL database. type: object @@ -55878,7 +55919,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55907,8 +55948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: language in: path description: The language of the CodeQL database. @@ -55920,7 +55961,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -55952,9 +55993,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &423 + '302': &425 description: Found - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55982,8 +56023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -55992,7 +56033,7 @@ paths: type: object additionalProperties: false properties: - language: &388 + language: &390 type: string description: The language targeted by the CodeQL query enum: @@ -56070,7 +56111,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &392 + schema: &394 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56080,7 +56121,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *388 + query_language: *390 query_pack_url: type: string description: The download url for the query pack. @@ -56127,7 +56168,7 @@ paths: items: type: object properties: - repository: &389 + repository: &391 title: Repository Identifier description: Repository Identifier type: object @@ -56163,7 +56204,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &393 + analysis_status: &395 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56195,7 +56236,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &390 + access_mismatch_repos: &392 type: object properties: repository_count: @@ -56209,7 +56250,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *389 + items: *391 required: - repository_count - repositories @@ -56231,8 +56272,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *390 - over_limit_repos: *390 + no_codeql_db_repos: *392 + over_limit_repos: *392 required: - access_mismatch_repos - not_found_repos @@ -56248,7 +56289,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &391 + value: &393 summary: Default response value: id: 1 @@ -56400,10 +56441,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *391 + value: *393 repository_lists: summary: Response for a successful variant analysis submission - value: *391 + value: *393 '404': *7 '422': description: Unable to process variant analysis submission @@ -56431,8 +56472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *290 - - *291 + - *292 + - *293 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56444,9 +56485,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *391 + default: *393 '404': *7 '503': *85 x-github: @@ -56469,7 +56510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *290 + - *292 - name: repo in: path description: The name of the controller repository. @@ -56504,7 +56545,7 @@ paths: type: object properties: repository: *84 - analysis_status: *393 + analysis_status: *395 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56629,8 +56670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -56691,7 +56732,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -56712,8 +56753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -56783,7 +56824,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *386 + '403': *388 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -56848,8 +56889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -56857,7 +56898,7 @@ paths: schema: type: object properties: - commit_sha: *394 + commit_sha: *396 ref: type: string description: |- @@ -56915,7 +56956,7 @@ paths: schema: type: object properties: - id: *384 + id: *386 url: type: string description: The REST API URL for checking the status of the upload. @@ -56929,7 +56970,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *386 + '403': *388 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -56952,8 +56993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *290 - - *291 + - *292 + - *293 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56999,7 +57040,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *377 + '403': *379 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -57024,8 +57065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57102,8 +57143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -57223,8 +57264,8 @@ paths: parameters: - *18 - *20 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57538,8 +57579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -57604,7 +57645,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -57612,7 +57653,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '400': *15 '401': *25 '403': *29 @@ -57641,8 +57682,8 @@ paths: parameters: - *18 - *20 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57706,8 +57747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57742,14 +57783,14 @@ paths: type: integer machines: type: array - items: &628 + items: &630 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *396 - required: *397 + properties: *398 + required: *399 examples: - default: &629 + default: &631 value: total_count: 2 machines: @@ -57789,8 +57830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57874,8 +57915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -57941,8 +57982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -57960,7 +58001,7 @@ paths: type: integer secrets: type: array - items: &401 + items: &403 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57980,7 +58021,7 @@ paths: - created_at - updated_at examples: - default: *398 + default: *400 headers: Link: *39 x-github: @@ -58003,16 +58044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58032,17 +58073,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58062,8 +58103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -58116,8 +58157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -58146,8 +58187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *290 - - *291 + - *292 + - *293 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58189,7 +58230,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &403 + properties: &405 login: type: string example: octocat @@ -58282,7 +58323,7 @@ paths: user_view_type: type: string example: public - required: &404 + required: &406 - avatar_url - events_url - followers_url @@ -58356,8 +58397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '204': @@ -58400,8 +58441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 requestBody: required: false @@ -58428,7 +58469,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &471 + schema: &473 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58650,8 +58691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '204': @@ -58681,8 +58722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '200': @@ -58703,8 +58744,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *403 - required: *404 + properties: *405 + required: *406 nullable: true required: - permission @@ -58759,8 +58800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -58770,7 +58811,7 @@ paths: application/json: schema: type: array - items: &405 + items: &407 title: Commit Comment description: Commit Comment type: object @@ -58828,7 +58869,7 @@ paths: - created_at - updated_at examples: - default: &408 + default: &410 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58887,17 +58928,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &409 + default: &411 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58954,8 +58995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -58978,7 +59019,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -59029,8 +59070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -59052,8 +59093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -59080,9 +59121,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -59103,8 +59144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -59137,16 +59178,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -59168,10 +59209,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -59219,8 +59260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *290 - - *291 + - *292 + - *293 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59276,9 +59317,9 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: - default: &522 + default: &524 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59371,9 +59412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *290 - - *291 - - &407 + - *292 + - *293 + - &409 name: commit_sha description: The SHA of the commit. in: path @@ -59445,9 +59486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 - *18 - *20 responses: @@ -59457,9 +59498,9 @@ paths: application/json: schema: type: array - items: *405 + items: *407 examples: - default: *408 + default: *410 headers: Link: *39 x-github: @@ -59487,9 +59528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 requestBody: required: true content: @@ -59524,9 +59565,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *409 + default: *411 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59554,9 +59595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 - *18 - *20 responses: @@ -59566,7 +59607,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Pull Request Simple description: Pull Request Simple type: object @@ -59672,8 +59713,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true active_lock_reason: type: string @@ -59769,7 +59810,7 @@ paths: _links: type: object properties: - comments: &412 + comments: &414 title: Link description: Hypermedia Link type: object @@ -59778,13 +59819,13 @@ paths: type: string required: - href - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + commits: *414 + statuses: *414 + html: *414 + issue: *414 + review_comments: *414 + review_comment: *414 + self: *414 required: - comments - commits @@ -59795,7 +59836,7 @@ paths: - review_comment - self author_association: *91 - auto_merge: &515 + auto_merge: &517 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59858,7 +59899,7 @@ paths: - author_association - auto_merge examples: - default: &513 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60394,11 +60435,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 - - &413 + - &415 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -60413,9 +60454,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60527,11 +60568,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *290 - - *291 - - *413 - - *414 + - *292 + - *293 - *415 + - *416 + - *417 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60565,9 +60606,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: *416 + default: *418 headers: Link: *39 x-github: @@ -60592,9 +60633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60602,7 +60643,7 @@ paths: schema: type: integer example: 1 - - *414 + - *416 - *18 - *20 responses: @@ -60620,7 +60661,7 @@ paths: type: integer check_suites: type: array - items: *366 + items: *368 examples: default: value: @@ -60820,9 +60861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - *18 - *20 responses: @@ -61020,9 +61061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - *18 - *20 responses: @@ -61032,7 +61073,7 @@ paths: application/json: schema: type: array - items: &576 + items: &578 title: Status description: The status of a commit. type: object @@ -61113,7 +61154,7 @@ paths: site_admin: false headers: Link: *39 - '301': *304 + '301': *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61141,8 +61182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -61171,20 +61212,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *417 - required: *418 + properties: *419 + required: *420 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &419 + properties: &421 url: type: string format: uri html_url: type: string format: uri - required: &420 + required: &422 - url - html_url nullable: true @@ -61198,26 +61239,26 @@ paths: contributing: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true readme: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true issue_template: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true pull_request_template: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true required: - code_of_conduct @@ -61343,8 +61384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 - name: basehead @@ -61387,8 +61428,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *406 - merge_base_commit: *406 + base_commit: *408 + merge_base_commit: *408 status: type: string enum: @@ -61408,10 +61449,10 @@ paths: example: 6 commits: type: array - items: *406 + items: *408 files: type: array - items: *421 + items: *423 required: - url - html_url @@ -61694,8 +61735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -61836,7 +61877,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &422 + response-if-content-is-a-file: &424 summary: Response if content is a file value: type: file @@ -61968,7 +62009,7 @@ paths: - size - type - url - - &527 + - &529 title: Content File description: Content File type: object @@ -62169,7 +62210,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *422 + response-if-content-is-a-file: *424 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62238,7 +62279,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *423 + '302': *425 '304': *37 x-github: githubCloudOnly: false @@ -62261,8 +62302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -62355,7 +62396,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 title: File Commit description: File Commit type: object @@ -62503,7 +62544,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: example-for-creating-a-file: value: @@ -62556,7 +62597,7 @@ paths: schema: oneOf: - *3 - - &453 + - &455 description: Repository rule violation was detected type: object properties: @@ -62577,7 +62618,7 @@ paths: items: type: object properties: - placeholder_id: &569 + placeholder_id: &571 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62609,8 +62650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -62671,7 +62712,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -62725,8 +62766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *290 - - *291 + - *292 + - *293 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62849,8 +62890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *180 - *181 - *182 @@ -62891,7 +62932,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 type: object description: A Dependabot alert. properties: @@ -62924,7 +62965,7 @@ paths: enum: - development - runtime - security_advisory: *425 + security_advisory: *427 security_vulnerability: *77 url: *78 html_url: *79 @@ -62955,7 +62996,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *426 + auto_dismissed_at: *428 required: - number - state @@ -63182,9 +63223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *290 - - *291 - - &428 + - *292 + - *293 + - &430 name: alert_number in: path description: |- @@ -63199,7 +63240,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: default: value: @@ -63309,9 +63350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *290 - - *291 - - *428 + - *292 + - *293 + - *430 requestBody: required: true content: @@ -63356,7 +63397,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: default: value: @@ -63485,8 +63526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -63504,7 +63545,7 @@ paths: type: integer secrets: type: array - items: &431 + items: &433 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63557,16 +63598,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63586,15 +63627,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -63620,8 +63661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -63674,8 +63715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -63698,8 +63739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *290 - - *291 + - *292 + - *293 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -63859,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -64063,8 +64104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -64139,7 +64180,7 @@ paths: - version - url additionalProperties: false - metadata: &432 + metadata: &434 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64172,7 +64213,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *432 + metadata: *434 resolved: type: object description: A collection of resolved package dependencies. @@ -64185,7 +64226,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *432 + metadata: *434 relationship: type: string description: A notation of whether a dependency is requested @@ -64314,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *290 - - *291 + - *292 + - *293 - name: sha description: The SHA recorded at creation time. in: query @@ -64355,9 +64396,9 @@ paths: application/json: schema: type: array - items: *433 + items: *435 examples: - default: *434 + default: *436 headers: Link: *39 x-github: @@ -64423,8 +64464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -64505,7 +64546,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: simple-example: summary: Simple example @@ -64578,9 +64619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *290 - - *291 - - &435 + - *292 + - *293 + - &437 name: deployment_id description: deployment_id parameter in: path @@ -64592,7 +64633,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -64657,9 +64698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 responses: '204': description: Response @@ -64681,9 +64722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 - *18 - *20 responses: @@ -64693,7 +64734,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Deployment Status description: The status of a deployment. type: object @@ -64854,9 +64895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 requestBody: required: true content: @@ -64931,9 +64972,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: &437 + default: &439 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64989,9 +65030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 - name: status_id in: path required: true @@ -65002,9 +65043,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *7 x-github: githubCloudOnly: false @@ -65029,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -65086,8 +65127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -65104,7 +65145,7 @@ paths: type: integer environments: type: array - items: &439 + items: &441 title: Environment description: Details of a deployment environment type: object @@ -65156,7 +65197,7 @@ paths: type: type: string example: wait_timer - wait_timer: &441 + wait_timer: &443 type: integer example: 30 description: The amount of time to delay a job after @@ -65193,7 +65234,7 @@ paths: items: type: object properties: - type: *438 + type: *440 reviewer: anyOf: - *19 @@ -65217,7 +65258,7 @@ paths: - id - node_id - type - deployment_branch_policy: &442 + deployment_branch_policy: &444 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65333,9 +65374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *290 - - *291 - - &440 + - *292 + - *293 + - &442 name: environment_name in: path required: true @@ -65348,9 +65389,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &443 + default: &445 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65434,9 +65475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: false content: @@ -65445,7 +65486,7 @@ paths: type: object nullable: true properties: - wait_timer: *441 + wait_timer: *443 prevent_self_review: type: boolean example: false @@ -65462,13 +65503,13 @@ paths: items: type: object properties: - type: *438 + type: *440 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *442 + deployment_branch_policy: *444 additionalProperties: false examples: default: @@ -65488,9 +65529,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *443 + default: *445 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65514,9 +65555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 responses: '204': description: Default response @@ -65541,9 +65582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *18 - *20 responses: @@ -65561,7 +65602,7 @@ paths: example: 2 branch_policies: type: array - items: &444 + items: &446 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65618,9 +65659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: true content: @@ -65666,9 +65707,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - example-wildcard: &445 + example-wildcard: &447 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65710,10 +65751,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - &446 + - *292 + - *293 + - *442 + - &448 name: branch_policy_id in: path required: true @@ -65725,9 +65766,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65746,10 +65787,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - *446 + - *292 + - *293 + - *442 + - *448 requestBody: required: true content: @@ -65777,9 +65818,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65798,10 +65839,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - *446 + - *292 + - *293 + - *442 + - *448 responses: '204': description: Response @@ -65826,9 +65867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 responses: '200': description: List of deployment protection rules @@ -65844,7 +65885,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &447 + items: &449 title: Deployment protection rule description: Deployment protection rule type: object @@ -65863,7 +65904,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &448 + app: &450 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65962,9 +66003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 requestBody: content: application/json: @@ -65985,9 +66026,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *447 + schema: *449 examples: - default: &449 + default: &451 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66022,9 +66063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 - *20 - *18 responses: @@ -66043,7 +66084,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *448 + items: *450 examples: default: value: @@ -66078,10 +66119,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *290 - - *291 - - *440 - - &450 + - *292 + - *293 + - *442 + - &452 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66093,9 +66134,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66116,10 +66157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *440 - - *291 - - *290 - - *450 + - *442 + - *293 + - *292 + - *452 responses: '204': description: Response @@ -66145,9 +66186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *18 - *20 responses: @@ -66165,9 +66206,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *39 x-github: @@ -66192,17 +66233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66224,18 +66265,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66257,9 +66298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 requestBody: required: true @@ -66317,9 +66358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 responses: '204': @@ -66345,10 +66386,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *290 - - *291 - - *440 - - *314 + - *292 + - *293 + - *442 + - *316 - *20 responses: '200': @@ -66365,9 +66406,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *39 x-github: @@ -66390,9 +66431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: true content: @@ -66444,18 +66485,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *152 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66476,10 +66517,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 - - *440 + - *442 requestBody: required: true content: @@ -66521,10 +66562,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 - - *440 + - *442 responses: '204': description: Response @@ -66546,8 +66587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -66624,8 +66665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *290 - - *291 + - *292 + - *293 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66784,8 +66825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -66817,9 +66858,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 '400': *15 '422': *16 '403': *29 @@ -66840,8 +66881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -66901,7 +66942,7 @@ paths: schema: oneOf: - *124 - - *453 + - *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66926,8 +66967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *290 - - *291 + - *292 + - *293 - name: file_sha in: path required: true @@ -67025,8 +67066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67135,7 +67176,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67343,15 +67384,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: default: value: @@ -67406,9 +67447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *290 - - *291 - - &455 + - *292 + - *293 + - &457 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -67425,7 +67466,7 @@ paths: application/json: schema: type: array - items: &456 + items: &458 title: Git Reference description: Git references within a repository type: object @@ -67500,17 +67541,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 responses: '200': description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &457 + default: &459 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67539,8 +67580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67569,9 +67610,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *457 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67597,9 +67638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 requestBody: required: true content: @@ -67628,9 +67669,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *457 + default: *459 '422': *16 '409': *126 x-github: @@ -67648,9 +67689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 responses: '204': description: Response @@ -67702,8 +67743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67770,7 +67811,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: Git Tag description: Metadata for a Git tag type: object @@ -67821,7 +67862,7 @@ paths: - sha - type - url - verification: *458 + verification: *460 required: - sha - url @@ -67831,7 +67872,7 @@ paths: - tag - message examples: - default: &460 + default: &462 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67902,8 +67943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *290 - - *291 + - *292 + - *293 - name: tag_sha in: path required: true @@ -67914,9 +67955,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *7 '409': *126 x-github: @@ -67940,8 +67981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -68014,7 +68055,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &463 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68126,8 +68167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *290 - - *291 + - *292 + - *293 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68150,7 +68191,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default-response: summary: Default response @@ -68209,8 +68250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -68220,7 +68261,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Webhook description: Webhooks for repositories. type: object @@ -68274,7 +68315,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &706 + last_response: &708 title: Hook Response type: object properties: @@ -68348,8 +68389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -68401,9 +68442,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &463 + default: &465 value: type: Repository id: 12345678 @@ -68451,17 +68492,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '404': *7 x-github: githubCloudOnly: false @@ -68481,8 +68522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 requestBody: required: true @@ -68528,9 +68569,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '422': *16 '404': *7 x-github: @@ -68548,8 +68589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68574,8 +68615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '200': @@ -68603,8 +68644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *195 requestBody: required: false @@ -68649,8 +68690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *18 - *196 @@ -68687,8 +68728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *17 responses: @@ -68717,8 +68758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *17 responses: @@ -68742,8 +68783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68769,8 +68810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68829,14 +68870,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &464 + schema: &466 title: Import description: A repository import from an external source. type: object @@ -68935,7 +68976,7 @@ paths: - html_url - authors_url examples: - default: &467 + default: &469 value: vcs: subversion use_lfs: true @@ -68951,7 +68992,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &465 + '503': &467 description: Unavailable due to service under maintenance. content: application/json: @@ -68980,8 +69021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -69029,7 +69070,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -69054,7 +69095,7 @@ paths: type: string '422': *16 '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69082,8 +69123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -69132,7 +69173,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: example-1: summary: Example 1 @@ -69180,7 +69221,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69203,12 +69244,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69234,9 +69275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *290 - - *291 - - &652 + - *292 + - *293 + - &654 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69250,7 +69291,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Porter Author description: Porter Author type: object @@ -69304,7 +69345,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69329,8 +69370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *290 - - *291 + - *292 + - *293 - name: author_id in: path required: true @@ -69360,7 +69401,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -69373,7 +69414,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69397,8 +69438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69439,7 +69480,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69467,8 +69508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -69495,11 +69536,11 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *467 + default: *469 '422': *16 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69522,8 +69563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69531,8 +69572,8 @@ paths: application/json: schema: *22 examples: - default: *468 - '301': *304 + default: *470 + '301': *306 '404': *7 x-github: githubCloudOnly: false @@ -69552,8 +69593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69566,7 +69607,7 @@ paths: properties: {} additionalProperties: false examples: - default: &470 + default: &472 value: limit: collaborators_only origin: repository @@ -69591,13 +69632,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: application/json: - schema: *469 + schema: *471 examples: default: summary: Example request body @@ -69611,7 +69652,7 @@ paths: application/json: schema: *202 examples: - default: *470 + default: *472 '409': description: Response x-github: @@ -69633,8 +69674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -69657,8 +69698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -69668,9 +69709,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: &645 + default: &647 value: - id: 1 repository: @@ -69801,8 +69842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *290 - - *291 + - *292 + - *293 - *206 requestBody: required: false @@ -69832,7 +69873,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -69963,8 +70004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *290 - - *291 + - *292 + - *293 - *206 responses: '204': @@ -69996,8 +70037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *290 - - *291 + - *292 + - *293 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -70210,7 +70251,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *304 + '301': *306 '422': *16 '404': *7 x-github: @@ -70239,8 +70280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -70317,7 +70358,7 @@ paths: application/json: schema: *104 examples: - default: &477 + default: &479 value: id: 1 node_id: MDU6SXNzdWUx @@ -70473,7 +70514,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *301 + '410': *303 x-github: triggersNotification: true githubCloudOnly: false @@ -70501,8 +70542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *114 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70523,9 +70564,9 @@ paths: application/json: schema: type: array - items: *472 + items: *474 examples: - default: &479 + default: &481 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70583,17 +70624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &473 + default: &475 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70647,8 +70688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -70671,9 +70712,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 '422': *16 x-github: githubCloudOnly: false @@ -70691,8 +70732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -70713,8 +70754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -70741,9 +70782,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -70764,8 +70805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -70798,16 +70839,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -70829,10 +70870,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -70852,8 +70893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -70863,7 +70904,7 @@ paths: application/json: schema: type: array - items: &476 + items: &478 title: Issue Event description: Issue Event type: object @@ -70906,8 +70947,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *474 - required: *475 + properties: *476 + required: *477 nullable: true label: title: Issue Event Label @@ -71214,8 +71255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *290 - - *291 + - *292 + - *293 - name: event_id in: path required: true @@ -71226,7 +71267,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -71419,7 +71460,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *301 + '410': *303 '403': *29 x-github: githubCloudOnly: false @@ -71453,9 +71494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *290 - - *291 - - &478 + - *292 + - *293 + - &480 name: issue_number description: The number that identifies the issue. in: path @@ -71469,10 +71510,10 @@ paths: application/json: schema: *104 examples: - default: *477 - '301': *304 + default: *479 + '301': *306 '404': *7 - '410': *301 + '410': *303 '304': *37 x-github: githubCloudOnly: false @@ -71497,9 +71538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -71596,13 +71637,13 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 '422': *16 '503': *85 '403': *29 - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71620,9 +71661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -71650,7 +71691,7 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71666,9 +71707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: content: application/json: @@ -71695,7 +71736,7 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71717,9 +71758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: assignee in: path required: true @@ -71759,9 +71800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *94 - *18 - *20 @@ -71772,13 +71813,13 @@ paths: application/json: schema: type: array - items: *472 + items: *474 examples: - default: *479 + default: *481 headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71807,9 +71848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: true content: @@ -71831,16 +71872,16 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *301 + '410': *303 '422': *16 '404': *7 x-github: @@ -71860,9 +71901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -71876,7 +71917,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &482 + - &484 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71930,7 +71971,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &485 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72066,7 +72107,7 @@ paths: - performed_via_github_app - assignee - assigner - - &484 + - &486 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72117,7 +72158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &487 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72168,7 +72209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &488 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72222,7 +72263,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &489 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -72269,7 +72310,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &490 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72316,7 +72357,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &491 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72376,7 +72417,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &492 title: Locked Issue Event description: Locked Issue Event type: object @@ -72424,7 +72465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &493 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72490,7 +72531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &494 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72556,7 +72597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &495 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72622,7 +72663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &496 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72713,7 +72754,7 @@ paths: color: red headers: Link: *39 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72730,9 +72771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -72742,7 +72783,7 @@ paths: application/json: schema: type: array - items: &480 + items: &482 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72789,7 +72830,7 @@ paths: - color - default examples: - default: &481 + default: &483 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72807,9 +72848,9 @@ paths: default: false headers: Link: *39 - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72826,9 +72867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -72887,12 +72928,12 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 - '301': *304 + default: *483 + '301': *306 '404': *7 - '410': *301 + '410': *303 '422': *16 x-github: githubCloudOnly: false @@ -72909,9 +72950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -72971,12 +73012,12 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 - '301': *304 + default: *483 + '301': *306 '404': *7 - '410': *301 + '410': *303 '422': *16 x-github: githubCloudOnly: false @@ -72993,15 +73034,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 responses: '204': description: Response - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73020,9 +73061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: name in: path required: true @@ -73035,7 +73076,7 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: default: value: @@ -73046,9 +73087,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73068,9 +73109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -73098,7 +73139,7 @@ paths: '204': description: Response '403': *29 - '410': *301 + '410': *303 '404': *7 '422': *16 x-github: @@ -73116,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 responses: '204': description: Response @@ -73140,9 +73181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -73168,13 +73209,13 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73192,9 +73233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: true content: @@ -73226,16 +73267,16 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -73257,10 +73298,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *290 - - *291 - - *478 - - *282 + - *292 + - *293 + - *480 + - *284 responses: '204': description: Response @@ -73280,9 +73321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -73297,8 +73338,6 @@ paths: description: Timeline Event type: object anyOf: - - *482 - - *483 - *484 - *485 - *486 @@ -73310,6 +73349,8 @@ paths: - *492 - *493 - *494 + - *495 + - *496 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73610,7 +73651,7 @@ paths: type: string comments: type: array - items: &516 + items: &518 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73819,7 +73860,7 @@ paths: type: string comments: type: array - items: *405 + items: *407 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74108,7 +74149,7 @@ paths: headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74125,8 +74166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -74136,7 +74177,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74198,8 +74239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74235,9 +74276,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: id: 1 key: ssh-rsa AAA... @@ -74270,9 +74311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *290 - - *291 - - &497 + - *292 + - *293 + - &499 name: key_id description: The unique identifier of the key. in: path @@ -74284,9 +74325,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *7 x-github: githubCloudOnly: false @@ -74304,9 +74345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *290 - - *291 - - *497 + - *292 + - *293 + - *499 responses: '204': description: Response @@ -74326,8 +74367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -74337,9 +74378,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 + default: *483 headers: Link: *39 '404': *7 @@ -74360,8 +74401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74397,9 +74438,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: &498 + default: &500 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74431,8 +74472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74443,9 +74484,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *498 + default: *500 '404': *7 x-github: githubCloudOnly: false @@ -74462,8 +74503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74502,7 +74543,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -74528,8 +74569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74555,8 +74596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -74592,8 +74633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '202': *127 '403': @@ -74621,8 +74662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -74648,9 +74689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *290 - - *291 - - *380 + - *292 + - *293 + - *382 responses: '200': description: Response @@ -74795,8 +74836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74861,8 +74902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74896,9 +74937,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *406 + schema: *408 examples: - default: *499 + default: *501 '204': description: Response when already merged '404': @@ -74923,8 +74964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74965,12 +75006,12 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 examples: default: value: @@ -75026,8 +75067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75067,9 +75108,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75128,9 +75169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *290 - - *291 - - &502 + - *292 + - *293 + - &504 name: milestone_number description: The number that identifies the milestone. in: path @@ -75142,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *7 x-github: githubCloudOnly: false @@ -75161,9 +75202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 requestBody: required: false content: @@ -75201,9 +75242,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75219,9 +75260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 responses: '204': description: Response @@ -75242,9 +75283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 - *18 - *20 responses: @@ -75254,9 +75295,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 + default: *483 headers: Link: *39 x-github: @@ -75275,12 +75316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *290 - - *291 - - *503 - - *504 - - *94 + - *292 + - *293 - *505 + - *506 + - *94 + - *507 - *18 - *20 responses: @@ -75292,7 +75333,7 @@ paths: type: array items: *117 examples: - default: *506 + default: *508 headers: Link: *39 x-github: @@ -75316,8 +75357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -75375,14 +75416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &507 + schema: &509 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75507,7 +75548,7 @@ paths: - custom_404 - public examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75548,8 +75589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75603,9 +75644,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '422': *16 '409': *126 x-github: @@ -75628,8 +75669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75736,8 +75777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -75763,8 +75804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -75774,7 +75815,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Page Build description: Page Build type: object @@ -75868,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -75914,16 +75955,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75971,8 +76012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *290 - - *291 + - *292 + - *293 - name: build_id in: path required: true @@ -75983,9 +76024,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76005,8 +76046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76112,9 +76153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *290 - - *291 - - &511 + - *292 + - *293 + - &513 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76172,9 +76213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *290 - - *291 - - *511 + - *292 + - *293 + - *513 responses: '204': *170 '404': *7 @@ -76201,8 +76242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -76460,8 +76501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Private vulnerability reporting status @@ -76498,8 +76539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': *170 '422': *15 @@ -76520,8 +76561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': *170 '422': *15 @@ -76544,8 +76585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: Indicates the state of the projects to return. in: query @@ -76606,7 +76647,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -76626,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76655,11 +76696,11 @@ paths: application/json: schema: *236 examples: - default: *300 + default: *302 '401': *25 '403': *29 '404': *7 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -76679,8 +76720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -76719,8 +76760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76782,8 +76823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76843,9 +76884,9 @@ paths: application/json: schema: type: array - items: *512 + items: *514 examples: - default: *513 + default: *515 headers: Link: *39 '304': *37 @@ -76877,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76943,7 +76984,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &520 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77054,8 +77095,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true active_lock_reason: type: string @@ -77100,7 +77141,7 @@ paths: nullable: true requested_teams: type: array - items: *514 + items: *516 nullable: true head: type: object @@ -78020,14 +78061,14 @@ paths: _links: type: object properties: - comments: *412 - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + comments: *414 + commits: *414 + statuses: *414 + html: *414 + issue: *414 + review_comments: *414 + review_comment: *414 + self: *414 required: - comments - commits @@ -78038,7 +78079,7 @@ paths: - review_comment - self author_association: *91 - auto_merge: *515 + auto_merge: *517 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -78130,7 +78171,7 @@ paths: - merged_by - review_comments examples: - default: &519 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78657,8 +78698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: sort in: query required: false @@ -78687,9 +78728,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: &521 + default: &523 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78766,17 +78807,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78851,8 +78892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -78875,9 +78916,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78893,8 +78934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -78916,8 +78957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78944,9 +78985,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -78967,8 +79008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -79001,16 +79042,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -79032,10 +79073,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -79078,9 +79119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *290 - - *291 - - &520 + - *292 + - *293 + - &522 name: pull_number description: The number that identifies the pull request. in: path @@ -79093,9 +79134,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '304': *37 '404': *7 '406': @@ -79130,9 +79171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -79174,9 +79215,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '422': *16 '403': *29 x-github: @@ -79198,9 +79239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -79262,7 +79303,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79270,7 +79311,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -79300,9 +79341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *114 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79323,9 +79364,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *521 + default: *523 headers: Link: *39 x-github: @@ -79358,9 +79399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -79465,7 +79506,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: example-for-a-multi-line-comment: value: @@ -79553,9 +79594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *103 requestBody: required: true @@ -79578,7 +79619,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -79664,9 +79705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -79676,9 +79717,9 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: - default: *522 + default: *524 headers: Link: *39 x-github: @@ -79708,9 +79749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -79720,7 +79761,7 @@ paths: application/json: schema: type: array - items: *421 + items: *423 examples: default: value: @@ -79758,9 +79799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 responses: '204': description: Response if pull request has been merged @@ -79783,9 +79824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -79896,9 +79937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 responses: '200': description: Response @@ -79973,9 +80014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -80012,7 +80053,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -80548,9 +80589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -80584,7 +80625,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -81089,9 +81130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -81101,7 +81142,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81252,9 +81293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -81340,9 +81381,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &525 + default: &527 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81405,10 +81446,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - &524 + - *292 + - *293 + - *522 + - &526 name: review_id description: The unique identifier of the review. in: path @@ -81420,9 +81461,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &526 + default: &528 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81481,10 +81522,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81507,7 +81548,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -81569,18 +81610,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *525 + default: *527 '422': *8 '404': *7 x-github: @@ -81607,10 +81648,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 - *18 - *20 responses: @@ -81693,9 +81734,9 @@ paths: _links: type: object properties: - self: *412 - html: *412 - pull_request: *412 + self: *414 + html: *414 + pull_request: *414 required: - self - html @@ -81838,10 +81879,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81869,7 +81910,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -81932,10 +81973,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81970,9 +82011,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *526 + default: *528 '404': *7 '422': *8 '403': *29 @@ -81994,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -82059,8 +82100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82073,9 +82114,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: &528 + default: &530 value: type: file encoding: base64 @@ -82117,8 +82158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *290 - - *291 + - *292 + - *293 - name: dir description: The alternate path to look for a README file in: path @@ -82138,9 +82179,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 '404': *7 '422': *16 x-github: @@ -82162,8 +82203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -82173,7 +82214,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Release description: A release. type: object @@ -82236,7 +82277,7 @@ paths: author: *19 assets: type: array - items: &530 + items: &532 title: Release Asset description: Data related to a release. type: object @@ -82417,8 +82458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -82494,9 +82535,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82597,9 +82638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *290 - - *291 - - &531 + - *292 + - *293 + - &533 name: asset_id description: The unique identifier of the asset. in: path @@ -82611,9 +82652,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &532 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -82647,7 +82688,7 @@ paths: type: User site_admin: false '404': *7 - '302': *423 + '302': *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82663,9 +82704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *290 - - *291 - - *531 + - *292 + - *293 + - *533 requestBody: required: false content: @@ -82693,9 +82734,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82711,9 +82752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *290 - - *291 - - *531 + - *292 + - *293 + - *533 responses: '204': description: Response @@ -82737,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -82823,16 +82864,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82849,8 +82890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *290 - - *291 + - *292 + - *293 - name: tag description: tag parameter in: path @@ -82863,9 +82904,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '404': *7 x-github: githubCloudOnly: false @@ -82887,9 +82928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *290 - - *291 - - &534 + - *292 + - *293 + - &536 name: release_id description: The unique identifier of the release. in: path @@ -82903,9 +82944,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '401': description: Unauthorized x-github: @@ -82923,9 +82964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 requestBody: required: false content: @@ -82989,9 +83030,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '404': description: Not Found if the discussion category name is invalid content: @@ -83012,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 responses: '204': description: Response @@ -83034,9 +83075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - *18 - *20 responses: @@ -83046,7 +83087,7 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: default: value: @@ -83127,9 +83168,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - name: name in: query required: true @@ -83155,7 +83196,7 @@ paths: description: Response for successful upload content: application/json: - schema: *530 + schema: *532 examples: response-for-successful-upload: value: @@ -83209,9 +83250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -83235,9 +83276,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -83258,9 +83299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 requestBody: required: true content: @@ -83290,16 +83331,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -83321,10 +83362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *290 - - *291 - - *534 - - *282 + - *292 + - *293 + - *536 + - *284 responses: '204': description: Response @@ -83348,9 +83389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 - *18 - *20 responses: @@ -83366,8 +83407,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *535 - - &537 + - *537 + - &539 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83386,54 +83427,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *536 - - *537 - allOf: - *538 - - *537 - - allOf: - *539 - - *537 - allOf: - *540 - - *537 + - *539 - allOf: - *541 - - *537 + - *539 - allOf: - *542 - - *537 + - *539 - allOf: - *543 - - *537 + - *539 - allOf: - *544 - - *537 + - *539 - allOf: - *545 - - *537 + - *539 - allOf: - *546 - - *537 + - *539 - allOf: - *547 - - *537 + - *539 - allOf: - *548 - - *537 + - *539 - allOf: - *549 - - *537 + - *539 - allOf: - *550 - - *537 + - *539 - allOf: - *551 - - *537 + - *539 - allOf: - *552 - - *537 + - *539 + - allOf: + - *553 + - *539 + - allOf: + - *554 + - *539 examples: default: value: @@ -83472,8 +83513,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - name: includes_parents @@ -83484,7 +83525,7 @@ paths: schema: type: boolean default: true - - *553 + - *555 responses: '200': description: Response @@ -83539,8 +83580,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 requestBody: description: Request body required: true @@ -83602,7 +83643,7 @@ paths: application/json: schema: *253 examples: - default: &563 + default: &565 value: id: 42 name: super cool ruleset @@ -83649,12 +83690,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *290 - - *291 - - *554 - - *555 + - *292 + - *293 - *556 - *557 + - *558 + - *559 - *18 - *20 responses: @@ -83662,9 +83703,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *7 '500': *73 x-github: @@ -83685,17 +83726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *290 - - *291 - - *560 + - *292 + - *293 + - *562 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 '404': *7 '500': *73 x-github: @@ -83723,8 +83764,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83746,7 +83787,7 @@ paths: application/json: schema: *253 examples: - default: *563 + default: *565 '404': *7 '500': *73 put: @@ -83764,8 +83805,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83829,7 +83870,7 @@ paths: application/json: schema: *253 examples: - default: *563 + default: *565 '404': *7 '500': *73 delete: @@ -83847,8 +83888,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83876,8 +83917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *255 - *256 - *257 @@ -83885,9 +83926,11 @@ paths: - *67 - *20 - *18 - - *564 - - *565 + - *566 + - *567 - *259 + - *260 + - *261 responses: '200': description: Response @@ -83895,7 +83938,7 @@ paths: application/json: schema: type: array - items: &568 + items: &570 type: object properties: number: *74 @@ -83914,8 +83957,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *566 - resolution: *567 + state: *568 + resolution: *569 resolved_at: type: string format: date-time @@ -83969,6 +84012,15 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. + nullable: true examples: default: value: @@ -84025,6 +84077,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -84042,6 +84096,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '404': description: Repository is public or secret scanning is disabled for the repository @@ -84067,15 +84123,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 responses: '200': description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -84096,6 +84152,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *37 '404': description: Repository is public, or secret scanning is disabled for the @@ -84121,9 +84179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 requestBody: required: true content: @@ -84131,8 +84189,8 @@ paths: schema: type: object properties: - state: *566 - resolution: *567 + state: *568 + resolution: *569 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84150,7 +84208,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -84189,6 +84247,8 @@ paths: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false '400': description: Bad request, resolution comment is invalid or the resolution was not changed. @@ -84219,9 +84279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 - *20 - *18 responses: @@ -84232,7 +84292,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &727 + items: &729 type: object properties: type: @@ -84591,8 +84651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -84600,14 +84660,14 @@ paths: schema: type: object properties: - reason: &570 + reason: &572 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *569 + placeholder_id: *571 required: - reason - placeholder_id @@ -84624,7 +84684,7 @@ paths: schema: type: object properties: - reason: *570 + reason: *572 expire_at: type: string format: date-time @@ -84669,8 +84729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *290 - - *291 + - *292 + - *293 - *67 - name: sort description: The property to sort the results by. @@ -84714,9 +84774,9 @@ paths: application/json: schema: type: array - items: *571 + items: *573 examples: - default: *572 + default: *574 '400': *15 '404': *7 x-github: @@ -84739,8 +84799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -84813,7 +84873,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 required: - login - type @@ -84900,9 +84960,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: &574 + default: &576 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85135,8 +85195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -85240,7 +85300,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -85387,17 +85447,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 + default: *576 '403': *29 '404': *7 x-github: @@ -85421,9 +85481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 requestBody: required: true content: @@ -85496,7 +85556,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 required: - login - type @@ -85582,10 +85642,10 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 - add_credit: *574 + default: *576 + add_credit: *576 '403': *29 '404': *7 '422': @@ -85623,9 +85683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '202': *127 '400': *15 @@ -85652,17 +85712,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '202': description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 '400': *15 '422': *16 '403': *29 @@ -85688,8 +85748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -85788,8 +85848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85798,7 +85858,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85831,8 +85891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -85908,8 +85968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -86005,8 +86065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86160,8 +86220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86171,7 +86231,7 @@ paths: application/json: schema: type: array - items: *575 + items: *577 examples: default: value: @@ -86204,8 +86264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *290 - - *291 + - *292 + - *293 - name: sha in: path required: true @@ -86259,7 +86319,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -86313,8 +86373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86346,14 +86406,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &577 + schema: &579 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86421,8 +86481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -86448,7 +86508,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: default: value: @@ -86475,8 +86535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -86496,8 +86556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86576,8 +86636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -86585,7 +86645,7 @@ paths: application/json: schema: type: array - items: &578 + items: &580 title: Tag protection description: Tag protection type: object @@ -86637,8 +86697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -86661,7 +86721,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -86692,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86730,8 +86790,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *290 - - *291 + - *292 + - *293 - name: ref in: path required: true @@ -86767,8 +86827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86800,8 +86860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 responses: @@ -86809,7 +86869,7 @@ paths: description: Response content: application/json: - schema: &579 + schema: &581 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86821,7 +86881,7 @@ paths: required: - names examples: - default: &580 + default: &582 value: names: - octocat @@ -86844,8 +86904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -86876,9 +86936,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 '404': *7 '422': *8 x-github: @@ -86899,9 +86959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *290 - - *291 - - &581 + - *292 + - *293 + - &583 name: per description: The time frame to display results for. in: query @@ -86930,7 +86990,7 @@ paths: example: 128 clones: type: array - items: &582 + items: &584 title: Traffic type: object properties: @@ -87017,8 +87077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -87108,8 +87168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -87169,9 +87229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *290 - - *291 - - *581 + - *292 + - *293 + - *583 responses: '200': description: Response @@ -87190,7 +87250,7 @@ paths: example: 3782 views: type: array - items: *582 + items: *584 required: - uniques - count @@ -87267,8 +87327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -87542,8 +87602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87566,8 +87626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -87589,8 +87649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -87616,8 +87676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *290 - - *291 + - *292 + - *293 - name: ref in: path required: true @@ -87709,9 +87769,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87865,7 +87925,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &590 + - &592 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87874,7 +87934,7 @@ paths: schema: type: string example: members - - &595 + - &597 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87885,7 +87945,7 @@ paths: default: 1 format: int32 example: 1 - - &596 + - &598 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87927,7 +87987,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &584 + items: &586 allOf: - type: object required: @@ -88002,7 +88062,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &597 + meta: &599 type: object description: The metadata associated with the creation/updates to the user. @@ -88062,31 +88122,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &585 + '400': &587 description: Bad request content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '401': &586 + schema: *585 + '401': &588 description: Authorization failure - '403': &587 + '403': &589 description: Permission denied - '429': &588 + '429': &590 description: Too many requests content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '500': &589 + schema: *585 + '500': &591 description: Internal server error content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 + schema: *585 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88113,7 +88173,7 @@ paths: required: true content: application/json: - schema: &593 + schema: &595 type: object required: - schemas @@ -88169,9 +88229,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *584 + schema: *586 examples: - group: &591 + group: &593 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88190,13 +88250,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e - '400': *585 - '401': *586 - '403': *587 - '409': &594 + '400': *587 + '401': *588 + '403': *589 + '409': &596 description: Duplicate record detected - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88217,7 +88277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &592 + - &594 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88225,22 +88285,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *590 + - *592 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *584 + schema: *586 examples: - default: *591 - '400': *585 - '401': *586 - '403': *587 + default: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88262,13 +88322,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *592 + - *594 - *40 requestBody: required: true content: application/json: - schema: *593 + schema: *595 examples: group: summary: Group @@ -88294,17 +88354,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *584 + schema: *586 examples: - group: *591 - groupWithMembers: *591 - '400': *585 - '401': *586 - '403': *587 + group: *593 + groupWithMembers: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88331,13 +88391,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *592 + - *594 - *40 requestBody: required: true content: application/json: - schema: &604 + schema: &606 type: object required: - Operations @@ -88397,17 +88457,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *584 + schema: *586 examples: - updateGroup: *591 - addMembers: *591 - '400': *585 - '401': *586 - '403': *587 + updateGroup: *593 + addMembers: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88427,17 +88487,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *592 + - *594 - *40 responses: '204': description: Group was deleted, no content - '400': *585 - '401': *586 - '403': *587 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88474,8 +88534,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *595 - - *596 + - *597 + - *598 - *40 responses: '200': @@ -88508,7 +88568,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &599 + items: &601 allOf: - type: object required: @@ -88587,7 +88647,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &598 + roles: &600 type: array description: The roles assigned to the user. items: @@ -88643,7 +88703,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *597 + meta: *599 startIndex: type: integer description: A starting index for the returned page @@ -88680,11 +88740,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *585 - '401': *586 - '403': *587 - '429': *588 - '500': *589 + '400': *587 + '401': *588 + '403': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88711,7 +88771,7 @@ paths: required: true content: application/json: - schema: &602 + schema: &604 type: object required: - schemas @@ -88793,9 +88853,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *598 + roles: *600 examples: - user: &603 + user: &605 summary: User value: schemas: @@ -88842,9 +88902,9 @@ paths: description: User has been created content: application/scim+json: - schema: *599 + schema: *601 examples: - user: &600 + user: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88870,13 +88930,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *600 - '400': *585 - '401': *586 - '403': *587 - '409': *594 - '429': *588 - '500': *589 + enterpriseOwner: *602 + '400': *587 + '401': *588 + '403': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88897,7 +88957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &601 + - &603 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88910,15 +88970,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *599 + schema: *601 examples: - default: *600 - '400': *585 - '401': *586 - '403': *587 + default: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88943,30 +89003,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *601 + - *603 - *40 requestBody: required: true content: application/json: - schema: *602 + schema: *604 examples: - user: *603 + user: *605 responses: '200': description: User was updated content: application/scim+json: - schema: *599 + schema: *601 examples: - user: *600 - '400': *585 - '401': *586 - '403': *587 + user: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89004,13 +89064,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *601 + - *603 - *40 requestBody: required: true content: application/json: - schema: *604 + schema: *606 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -89050,18 +89110,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *599 - examples: - userMultiValuedProperties: *600 - userSingleValuedProperties: *600 - disableUser: *600 - '400': *585 - '401': *586 - '403': *587 + schema: *601 + examples: + userMultiValuedProperties: *602 + userSingleValuedProperties: *602 + disableUser: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89081,17 +89141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *601 + - *603 - *40 responses: '204': description: User was deleted, no content - '400': *585 - '401': *586 - '403': *587 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89178,7 +89238,7 @@ paths: example: 1 Resources: type: array - items: &605 + items: &607 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -89409,22 +89469,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &606 + '404': &608 description: Resource not found content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '403': &607 + schema: *585 + '403': &609 description: Forbidden content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '400': *585 - '429': *588 + schema: *585 + '400': *587 + '429': *590 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -89450,9 +89510,9 @@ paths: description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: &608 + default: &610 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -89475,17 +89535,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *606 - '403': *607 - '500': *589 + '404': *608 + '403': *609 + '500': *591 '409': description: Conflict content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '400': *585 + schema: *585 + '400': *587 requestBody: required: true content: @@ -89578,17 +89638,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 - '404': *606 - '403': *607 + default: *610 + '404': *608 + '403': *609 '304': *37 x-github: githubCloudOnly: true @@ -89612,18 +89672,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 + default: *610 '304': *37 - '404': *606 - '403': *607 + '404': *608 + '403': *609 requestBody: required: true content: @@ -89732,19 +89792,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 + default: *610 '304': *37 - '404': *606 - '403': *607 - '400': *585 + '404': *608 + '403': *609 + '400': *587 '429': description: Response content: @@ -89835,12 +89895,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *121 - - *601 + - *603 responses: '204': description: Response - '404': *606 - '403': *607 + '404': *608 + '403': *609 '304': *37 x-github: githubCloudOnly: true @@ -89973,7 +90033,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &609 + text_matches: &611 title: Search Result Text Matches type: array items: @@ -90136,7 +90196,7 @@ paths: enum: - author-date - committer-date - - &610 + - &612 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -90207,7 +90267,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true comment_count: type: integer @@ -90227,7 +90287,7 @@ paths: url: type: string format: uri - verification: *458 + verification: *460 required: - author - committer @@ -90246,7 +90306,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true parents: type: array @@ -90264,7 +90324,7 @@ paths: type: number node_id: type: string - text_matches: *609 + text_matches: *611 required: - sha - node_id @@ -90457,7 +90517,7 @@ paths: - interactions - created - updated - - *610 + - *612 - *18 - *20 responses: @@ -90562,8 +90622,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true comments: type: integer @@ -90577,7 +90637,7 @@ paths: type: string format: date-time nullable: true - text_matches: *609 + text_matches: *611 pull_request: type: object properties: @@ -90801,7 +90861,7 @@ paths: enum: - created - updated - - *610 + - *612 - *18 - *20 responses: @@ -90845,7 +90905,7 @@ paths: nullable: true score: type: number - text_matches: *609 + text_matches: *611 required: - id - node_id @@ -90931,7 +90991,7 @@ paths: - forks - help-wanted-issues - updated - - *610 + - *612 - *18 - *20 responses: @@ -91170,7 +91230,7 @@ paths: - admin - pull - push - text_matches: *609 + text_matches: *611 temp_clone_token: type: string allow_merge_commit: @@ -91471,7 +91531,7 @@ paths: type: string format: uri nullable: true - text_matches: *609 + text_matches: *611 related: type: array nullable: true @@ -91664,7 +91724,7 @@ paths: - followers - repositories - joined - - *610 + - *612 - *18 - *20 responses: @@ -91768,7 +91828,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *609 + text_matches: *611 blog: type: string nullable: true @@ -91847,7 +91907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &611 + - &613 name: team_id description: The unique identifier of the team. in: path @@ -91859,9 +91919,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 x-github: githubCloudOnly: false @@ -91888,7 +91948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -91951,16 +92011,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '201': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 '422': *16 '403': *29 @@ -91988,7 +92048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *611 + - *613 responses: '204': description: Response @@ -92019,7 +92079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *611 + - *613 - *67 - *18 - *20 @@ -92030,9 +92090,9 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: - default: *612 + default: *614 headers: Link: *39 x-github: @@ -92061,7 +92121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -92095,9 +92155,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: triggersNotification: true githubCloudOnly: false @@ -92124,16 +92184,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92158,8 +92218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: false content: @@ -92182,9 +92242,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92209,8 +92269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 responses: '204': description: Response @@ -92239,8 +92299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *611 - - *275 + - *613 + - *277 - *67 - *18 - *20 @@ -92251,9 +92311,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *614 + default: *616 headers: Link: *39 x-github: @@ -92282,8 +92342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: true content: @@ -92305,9 +92365,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: triggersNotification: true githubCloudOnly: false @@ -92334,17 +92394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92369,9 +92429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 requestBody: required: true content: @@ -92393,9 +92453,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *615 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92420,9 +92480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 responses: '204': description: Response @@ -92451,9 +92511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -92479,9 +92539,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -92510,9 +92570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 requestBody: required: true content: @@ -92544,9 +92604,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92572,8 +92632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -92599,9 +92659,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -92630,8 +92690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: true content: @@ -92663,9 +92723,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92689,7 +92749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -92727,7 +92787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *611 + - *613 - name: role description: Filters members returned by their role in the team. in: query @@ -92778,7 +92838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92815,7 +92875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92855,7 +92915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92892,16 +92952,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-user-is-a-team-maintainer: *616 + response-if-user-is-a-team-maintainer: *618 '404': *7 x-github: githubCloudOnly: false @@ -92934,7 +92994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 requestBody: required: false @@ -92960,9 +93020,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: *617 + response-if-users-membership-with-team-is-now-pending: *619 '403': description: Forbidden if team synchronization is set up '422': @@ -92996,7 +93056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -93026,7 +93086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93036,9 +93096,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *618 + default: *620 headers: Link: *39 '404': *7 @@ -93065,16 +93125,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *611 - - *289 + - *613 + - *291 responses: '200': description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *619 + default: *621 '404': description: Not Found if project is not managed by this team x-github: @@ -93099,8 +93159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *611 - - *289 + - *613 + - *291 requestBody: required: false content: @@ -93168,8 +93228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *611 - - *289 + - *613 + - *291 responses: '204': description: Response @@ -93196,7 +93256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93238,15 +93298,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *620 + schema: *622 examples: alternative-response-with-extra-repository-information: value: @@ -93397,9 +93457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 requestBody: required: false content: @@ -93449,9 +93509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 responses: '204': description: Response @@ -93480,15 +93540,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *611 + - *613 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *293 + default: *295 '403': *29 '404': *7 x-github: @@ -93515,7 +93575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -93572,7 +93632,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -93603,7 +93663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93615,7 +93675,7 @@ paths: type: array items: *207 examples: - response-if-child-teams-exist: *621 + response-if-child-teams-exist: *623 headers: Link: *39 '404': *7 @@ -93648,7 +93708,7 @@ paths: application/json: schema: oneOf: - - &623 + - &625 title: Private User description: Private User type: object @@ -93851,7 +93911,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *622 + - *624 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -94004,7 +94064,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -94350,7 +94410,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94358,7 +94418,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -94402,7 +94462,7 @@ paths: type: integer secrets: type: array - items: &624 + items: &626 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94442,7 +94502,7 @@ paths: - visibility - selected_repositories_url examples: - default: *398 + default: *400 headers: Link: *39 x-github: @@ -94518,7 +94578,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: default: value: @@ -94664,7 +94724,7 @@ paths: type: array items: *139 examples: - default: *625 + default: *627 '401': *25 '403': *29 '404': *7 @@ -94816,7 +94876,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '304': *37 '500': *73 '401': *25 @@ -94874,7 +94934,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -94931,7 +94991,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &628 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94972,7 +95032,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &627 + default: &629 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -95017,9 +95077,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *627 + default: *629 '404': *7 x-github: githubCloudOnly: false @@ -95056,9 +95116,9 @@ paths: type: integer machines: type: array - items: *628 + items: *630 examples: - default: *629 + default: *631 '304': *37 '500': *73 '401': *25 @@ -95137,13 +95197,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *303 + repository: *305 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *396 - required: *397 + properties: *398 + required: *399 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95925,7 +95985,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '304': *37 '500': *73 '400': *15 @@ -95965,7 +96025,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '500': *73 '401': *25 '403': *29 @@ -95997,7 +96057,7 @@ paths: type: array items: *223 examples: - default: &642 + default: &644 value: - id: 197 name: hello_docker @@ -96098,7 +96158,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Email description: Email type: object @@ -96163,9 +96223,9 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: - default: &644 + default: &646 value: - email: octocat@github.com verified: true @@ -96240,7 +96300,7 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: default: value: @@ -96495,7 +96555,7 @@ paths: application/json: schema: type: array - items: &631 + items: &633 title: GPG Key description: A unique encryption key type: object @@ -96626,7 +96686,7 @@ paths: - subkeys - revoked examples: - default: &655 + default: &657 value: - id: 3 name: Octocat's GPG Key @@ -96711,9 +96771,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: - default: &632 + default: &634 value: id: 3 name: Octocat's GPG Key @@ -96770,7 +96830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &633 + - &635 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96782,9 +96842,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: - default: *632 + default: *634 '404': *7 '304': *37 '403': *29 @@ -96807,7 +96867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *633 + - *635 responses: '204': description: Response @@ -96998,7 +97058,7 @@ paths: type: array items: *57 examples: - default: *634 + default: *636 headers: Link: *39 '404': *7 @@ -97112,7 +97172,7 @@ paths: required: true content: application/json: - schema: *469 + schema: *471 examples: default: value: @@ -97262,7 +97322,7 @@ paths: application/json: schema: type: array - items: &635 + items: &637 title: Key description: Key type: object @@ -97359,9 +97419,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: &636 + default: &638 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97394,15 +97454,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *497 + - *499 responses: '200': description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: *636 + default: *638 '404': *7 '304': *37 '403': *29 @@ -97425,7 +97485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *497 + - *499 responses: '204': description: Response @@ -97458,7 +97518,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97526,7 +97586,7 @@ paths: - account - plan examples: - default: &638 + default: &640 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97588,9 +97648,9 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: - default: *638 + default: *640 headers: Link: *39 '304': *37 @@ -98585,7 +98645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *217 - - *639 + - *641 responses: '204': description: Response @@ -98655,7 +98715,7 @@ paths: type: array items: *52 examples: - default: *640 + default: *642 headers: Link: *39 '304': *37 @@ -98697,7 +98757,7 @@ paths: - docker - nuget - container - - *641 + - *643 - *20 - *18 responses: @@ -98709,8 +98769,8 @@ paths: type: array items: *223 examples: - default: *642 - '400': *643 + default: *644 + '400': *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98739,7 +98799,7 @@ paths: application/json: schema: *223 examples: - default: &656 + default: &658 value: id: 40201 name: octo-name @@ -99189,9 +99249,9 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: - default: *644 + default: *646 headers: Link: *39 '304': *37 @@ -99304,7 +99364,7 @@ paths: type: array items: *57 examples: - default: &651 + default: &653 summary: Default response value: - id: 1296269 @@ -99606,9 +99666,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99646,9 +99706,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *645 + default: *647 headers: Link: *39 '304': *37 @@ -99727,7 +99787,7 @@ paths: application/json: schema: type: array - items: &646 + items: &648 title: Social account description: Social media account type: object @@ -99742,7 +99802,7 @@ paths: - provider - url examples: - default: &647 + default: &649 value: - provider: twitter url: https://twitter.com/github @@ -99804,9 +99864,9 @@ paths: application/json: schema: type: array - items: *646 + items: *648 examples: - default: *647 + default: *649 '422': *16 '304': *37 '404': *7 @@ -99893,7 +99953,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99913,7 +99973,7 @@ paths: - title - created_at examples: - default: &657 + default: &659 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99979,9 +100039,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100012,7 +100072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &650 + - &652 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100024,9 +100084,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *7 '304': *37 '403': *29 @@ -100049,7 +100109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *650 + - *652 responses: '204': description: Response @@ -100078,7 +100138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &658 + - &660 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -100103,11 +100163,11 @@ paths: type: array items: *57 examples: - default-response: *651 + default-response: *653 application/vnd.github.v3.star+json: schema: type: array - items: &659 + items: &661 title: Starred Repository description: Starred Repository type: object @@ -100263,8 +100323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response if this repository is starred by you @@ -100292,8 +100352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -100317,8 +100377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -100390,7 +100450,7 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: default: value: @@ -100474,10 +100534,10 @@ paths: application/json: schema: oneOf: - - *623 - - *622 + - *625 + - *624 examples: - default-response: &653 + default-response: &655 summary: Default response value: login: octocat @@ -100512,7 +100572,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &654 + response-with-git-hub-plan-information: &656 summary: Response with GitHub plan information value: login: octocat @@ -100572,7 +100632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *652 + - *654 - *18 responses: '200': @@ -100619,11 +100679,11 @@ paths: application/json: schema: oneOf: - - *623 - - *622 + - *625 + - *624 examples: - default-response: *653 - response-with-git-hub-plan-information: *654 + default-response: *655 + response-with-git-hub-plan-information: *656 '404': *7 x-github: githubCloudOnly: false @@ -100785,7 +100845,7 @@ paths: type: array items: *223 examples: - default: *642 + default: *644 '403': *29 '401': *25 x-github: @@ -101189,9 +101249,9 @@ paths: application/json: schema: type: array - items: *631 + items: *633 examples: - default: *655 + default: *657 headers: Link: *39 x-github: @@ -101295,7 +101355,7 @@ paths: application/json: schema: *22 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101373,7 +101433,7 @@ paths: type: array items: *52 examples: - default: *640 + default: *642 headers: Link: *39 x-github: @@ -101412,7 +101472,7 @@ paths: - docker - nuget - container - - *641 + - *643 - *161 - *20 - *18 @@ -101425,10 +101485,10 @@ paths: type: array items: *223 examples: - default: *642 + default: *644 '403': *29 '401': *25 - '400': *643 + '400': *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101458,7 +101518,7 @@ paths: application/json: schema: *223 examples: - default: *656 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102051,9 +102111,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102081,9 +102141,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102111,9 +102171,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *271 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102141,9 +102201,9 @@ paths: application/json: schema: type: array - items: *646 + items: *648 examples: - default: *647 + default: *649 headers: Link: *39 x-github: @@ -102173,9 +102233,9 @@ paths: application/json: schema: type: array - items: *648 + items: *650 examples: - default: *657 + default: *659 headers: Link: *39 x-github: @@ -102200,7 +102260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *161 - - *658 + - *660 - *67 - *18 - *20 @@ -102212,11 +102272,11 @@ paths: schema: anyOf: - type: array - items: *659 + items: *661 - type: array items: *57 examples: - default-response: *651 + default-response: *653 headers: Link: *39 x-github: @@ -102375,7 +102435,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &660 + enterprise: &662 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102433,7 +102493,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &661 + installation: &663 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102452,7 +102512,7 @@ x-webhooks: required: - id - node_id - organization: &662 + organization: &664 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102512,13 +102572,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &663 + repository: &665 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &700 + properties: &702 id: description: Unique identifier of the repository example: 42 @@ -103201,7 +103261,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &701 + required: &703 - archive_url - assignees_url - blobs_url @@ -103352,10 +103412,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -103431,11 +103491,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: &664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: &666 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -103658,11 +103718,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: *664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: *666 sender: *19 required: - action @@ -103845,11 +103905,11 @@ x-webhooks: - everyone required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: *664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: *666 sender: *19 required: - action @@ -103922,7 +103982,7 @@ x-webhooks: required: true content: application/json: - schema: &667 + schema: &669 title: Exemption request cancellation event type: object properties: @@ -103930,11 +103990,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: &665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: &667 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -104070,7 +104130,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &666 + items: &668 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -104175,7 +104235,7 @@ x-webhooks: required: true content: application/json: - schema: &668 + schema: &670 title: Exemption request completed event type: object properties: @@ -104183,11 +104243,11 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 sender: *19 required: - action @@ -104259,7 +104319,7 @@ x-webhooks: required: true content: application/json: - schema: &669 + schema: &671 title: Exemption request created event type: object properties: @@ -104267,11 +104327,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 sender: *19 required: - action @@ -104343,7 +104403,7 @@ x-webhooks: required: true content: application/json: - schema: &670 + schema: &672 title: Exemption response dismissed event type: object properties: @@ -104351,12 +104411,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 - exemption_response: *666 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 + exemption_response: *668 sender: *19 required: - action @@ -104430,7 +104490,7 @@ x-webhooks: required: true content: application/json: - schema: &671 + schema: &673 title: Exemption response submitted event type: object properties: @@ -104438,12 +104498,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 - exemption_response: *666 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 + exemption_response: *668 sender: *19 required: - action @@ -104516,7 +104576,7 @@ x-webhooks: required: true content: application/json: - schema: *667 + schema: *669 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104583,7 +104643,7 @@ x-webhooks: required: true content: application/json: - schema: *668 + schema: *670 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104650,7 +104710,7 @@ x-webhooks: required: true content: application/json: - schema: *669 + schema: *671 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104717,7 +104777,7 @@ x-webhooks: required: true content: application/json: - schema: *670 + schema: *672 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104785,7 +104845,7 @@ x-webhooks: required: true content: application/json: - schema: *671 + schema: *673 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104863,7 +104923,7 @@ x-webhooks: type: string enum: - completed - check_run: &673 + check_run: &675 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104926,7 +104986,7 @@ x-webhooks: type: string pull_requests: type: array - items: *360 + items: *362 repository: *139 status: example: completed @@ -104964,7 +105024,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *672 + deployment: *674 details_url: example: https://example.com type: string @@ -105014,7 +105074,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *360 + items: *362 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105049,9 +105109,9 @@ x-webhooks: - output - app - pull_requests - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -105444,10 +105504,10 @@ x-webhooks: type: string enum: - created - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -105843,10 +105903,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 requested_action: description: The action requested by the user. type: object @@ -106251,10 +106311,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -107231,10 +107291,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -107904,10 +107964,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -108571,10 +108631,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -108874,20 +108934,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &674 + commit_oid: &676 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *660 - installation: *661 - organization: *662 - ref: &675 + enterprise: *662 + installation: *663 + organization: *664 + ref: &677 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -109205,12 +109265,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -109305,7 +109365,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *375 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109466,12 +109526,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -109792,12 +109852,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -110054,16 +110114,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *663 + repository: *665 sender: *19 required: - action @@ -110289,12 +110349,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -110551,10 +110611,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -110634,18 +110694,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *662 - pusher_type: &676 + organization: *664 + pusher_type: &678 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &677 + ref: &679 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -110655,7 +110715,7 @@ x-webhooks: enum: - tag - branch - repository: *663 + repository: *665 sender: *19 required: - ref @@ -110738,9 +110798,9 @@ x-webhooks: enum: - created definition: *237 - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110824,9 +110884,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110903,9 +110963,9 @@ x-webhooks: enum: - updated definition: *237 - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110981,10 +111041,10 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - repository: *663 - organization: *662 + enterprise: *662 + installation: *663 + repository: *665 + organization: *664 sender: *19 new_property_values: type: array @@ -111069,18 +111129,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - pusher_type: *676 - ref: *677 + enterprise: *662 + installation: *663 + organization: *664 + pusher_type: *678 + ref: *679 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *663 + repository: *665 sender: *19 required: - ref @@ -111164,11 +111224,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111252,11 +111312,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111340,11 +111400,11 @@ x-webhooks: type: string enum: - created - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111426,11 +111486,11 @@ x-webhooks: type: string enum: - dismissed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111512,11 +111572,11 @@ x-webhooks: type: string enum: - fixed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111599,11 +111659,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111685,11 +111745,11 @@ x-webhooks: type: string enum: - reopened - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111766,9 +111826,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - key: &678 + enterprise: *662 + installation: *663 + key: &680 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111802,8 +111862,8 @@ x-webhooks: - verified - created_at - read_only - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -111880,11 +111940,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - key: *678 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + key: *680 + organization: *664 + repository: *665 sender: *19 required: - action @@ -112445,12 +112505,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: &682 + workflow: &684 title: Workflow type: object nullable: true @@ -113176,13 +113236,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *433 + deployment: *435 pull_requests: type: array - items: *518 - repository: *663 - organization: *662 - installation: *661 + items: *520 + repository: *665 + organization: *664 + installation: *663 sender: *19 responses: '200': @@ -113253,7 +113313,7 @@ x-webhooks: type: string enum: - approved - approver: &679 + approver: &681 type: object properties: avatar_url: @@ -113296,11 +113356,11 @@ x-webhooks: type: string comment: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - reviewers: &680 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + reviewers: &682 type: array items: type: object @@ -113379,7 +113439,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &681 + workflow_job_run: &683 type: object properties: conclusion: @@ -114110,18 +114170,18 @@ x-webhooks: type: string enum: - rejected - approver: *679 + approver: *681 comment: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - reviewers: *680 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + reviewers: *682 sender: *19 since: type: string - workflow_job_run: *681 + workflow_job_run: *683 workflow_job_runs: type: array items: @@ -114825,13 +114885,13 @@ x-webhooks: type: string enum: - requested - enterprise: *660 + enterprise: *662 environment: type: string - installation: *661 - organization: *662 - repository: *663 - requestor: &687 + installation: *663 + organization: *664 + repository: *665 + requestor: &689 title: User type: object nullable: true @@ -116730,12 +116790,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Deployment Workflow Run type: object @@ -117415,7 +117475,7 @@ x-webhooks: type: string enum: - answered - answer: &685 + answer: &687 type: object properties: author_association: @@ -117572,7 +117632,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &683 + discussion: &685 title: Discussion description: A Discussion in a repository. type: object @@ -117858,7 +117918,7 @@ x-webhooks: - id labels: type: array - items: *480 + items: *482 required: - repository_url - category @@ -117880,10 +117940,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118010,11 +118070,11 @@ x-webhooks: - from required: - category - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118097,11 +118157,11 @@ x-webhooks: type: string enum: - closed - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118183,7 +118243,7 @@ x-webhooks: type: string enum: - created - comment: &684 + comment: &686 type: object properties: author_association: @@ -118340,11 +118400,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118427,12 +118487,12 @@ x-webhooks: type: string enum: - deleted - comment: *684 - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + comment: *686 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118527,12 +118587,12 @@ x-webhooks: - from required: - body - comment: *684 - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + comment: *686 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118616,11 +118676,11 @@ x-webhooks: type: string enum: - created - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118702,11 +118762,11 @@ x-webhooks: type: string enum: - deleted - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118806,11 +118866,11 @@ x-webhooks: type: string required: - from - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118892,10 +118952,10 @@ x-webhooks: type: string enum: - labeled - discussion: *683 - enterprise: *660 - installation: *661 - label: &686 + discussion: *685 + enterprise: *662 + installation: *663 + label: &688 title: Label type: object properties: @@ -118927,8 +118987,8 @@ x-webhooks: - color - default - description - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119011,11 +119071,11 @@ x-webhooks: type: string enum: - locked - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119097,11 +119157,11 @@ x-webhooks: type: string enum: - pinned - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119183,11 +119243,11 @@ x-webhooks: type: string enum: - reopened - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119272,16 +119332,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *683 - new_repository: *663 + new_discussion: *685 + new_repository: *665 required: - new_discussion - new_repository - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119364,10 +119424,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *683 - old_answer: *685 - organization: *662 - repository: *663 + discussion: *685 + old_answer: *687 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119449,12 +119509,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *683 - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119537,11 +119597,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119623,11 +119683,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119700,7 +119760,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *660 + enterprise: *662 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -120360,9 +120420,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - forkee @@ -120508,9 +120568,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pages: description: The pages that were updated. type: array @@ -120547,7 +120607,7 @@ x-webhooks: - action - sha - html_url - repository: *663 + repository: *665 sender: *19 required: - pages @@ -120623,10 +120683,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: &688 + organization: *664 + repositories: &690 description: An array of repository objects that the installation can access. type: array @@ -120652,8 +120712,8 @@ x-webhooks: - name - full_name - private - repository: *663 - requester: *687 + repository: *665 + requester: *689 sender: *19 required: - action @@ -120728,11 +120788,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -120808,11 +120868,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -120888,10 +120948,10 @@ x-webhooks: type: string enum: - added - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories_added: &689 + organization: *664 + repositories_added: &691 description: An array of repository objects, which were added to the installation. type: array @@ -120937,15 +120997,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *663 - repository_selection: &690 + repository: *665 + repository_selection: &692 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *687 + requester: *689 sender: *19 required: - action @@ -121024,10 +121084,10 @@ x-webhooks: type: string enum: - removed - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories_added: *689 + organization: *664 + repositories_added: *691 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -121054,9 +121114,9 @@ x-webhooks: - name - full_name - private - repository: *663 - repository_selection: *690 - requester: *687 + repository: *665 + repository_selection: *692 + requester: *689 sender: *19 required: - action @@ -121135,11 +121195,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -121318,10 +121378,10 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 target_type: type: string @@ -121400,11 +121460,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -121656,8 +121716,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -122798,8 +122858,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -122879,7 +122939,7 @@ x-webhooks: type: string enum: - deleted - comment: &691 + comment: &693 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -123044,8 +123104,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124184,8 +124244,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -124265,7 +124325,7 @@ x-webhooks: type: string enum: - edited - changes: &719 + changes: &721 description: The changes to the comment. type: object properties: @@ -124277,9 +124337,9 @@ x-webhooks: type: string required: - from - comment: *691 - enterprise: *660 - installation: *661 + comment: *693 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125419,8 +125479,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -125502,10 +125562,10 @@ x-webhooks: type: string enum: - assigned - assignee: *687 - enterprise: *660 - installation: *661 - issue: &694 + assignee: *689 + enterprise: *662 + installation: *663 + issue: &696 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -126409,8 +126469,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -126490,8 +126550,8 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127535,8 +127595,8 @@ x-webhooks: required: - state - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -127615,8 +127675,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -128513,8 +128573,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -128593,8 +128653,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129494,7 +129554,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &692 + milestone: &694 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129632,8 +129692,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -129732,8 +129792,8 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130637,9 +130697,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *686 - organization: *662 - repository: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -130719,8 +130779,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131623,9 +131683,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *686 - organization: *662 - repository: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -131705,8 +131765,8 @@ x-webhooks: type: string enum: - locked - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132610,8 +132670,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -132690,8 +132750,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133589,9 +133649,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *692 - organization: *662 - repository: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -135038,8 +135098,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135942,8 +136002,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -136023,9 +136083,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *660 - installation: *661 - issue: &693 + enterprise: *662 + installation: *663 + issue: &695 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136922,8 +136982,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -137002,8 +137062,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137906,8 +137966,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139355,11 +139415,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *660 - installation: *661 - issue: *693 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *695 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139440,7 +139500,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &722 + assignee: &724 title: User type: object nullable: true @@ -139510,11 +139570,11 @@ x-webhooks: required: - login - id - enterprise: *660 - installation: *661 - issue: *694 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *696 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139593,12 +139653,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *660 - installation: *661 - issue: *694 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *696 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139678,8 +139738,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140581,8 +140641,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140662,11 +140722,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *660 - installation: *661 - issue: *693 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *695 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140745,11 +140805,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140827,11 +140887,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140941,11 +141001,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -141027,9 +141087,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: &695 + enterprise: *662 + installation: *663 + marketplace_purchase: &697 title: Marketplace Purchase type: object required: @@ -141112,8 +141172,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *662 - previous_marketplace_purchase: &696 + organization: *664 + previous_marketplace_purchase: &698 title: Marketplace Purchase type: object properties: @@ -141193,7 +141253,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141273,10 +141333,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141359,7 +141419,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141441,10 +141501,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141526,7 +141586,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141607,8 +141667,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 marketplace_purchase: title: Marketplace Purchase type: object @@ -141690,9 +141750,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *662 - previous_marketplace_purchase: *696 - repository: *663 + organization: *664 + previous_marketplace_purchase: *698 + repository: *665 sender: *19 required: - action @@ -141772,12 +141832,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 - previous_marketplace_purchase: *696 - repository: *663 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 + previous_marketplace_purchase: *698 + repository: *665 sender: *19 required: - action @@ -141879,11 +141939,11 @@ x-webhooks: type: string required: - to - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -141983,11 +142043,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142066,11 +142126,11 @@ x-webhooks: type: string enum: - removed - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142148,11 +142208,11 @@ x-webhooks: type: string enum: - added - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142228,7 +142288,7 @@ x-webhooks: required: - login - id - team: &697 + team: &699 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142418,11 +142478,11 @@ x-webhooks: type: string enum: - removed - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142499,7 +142559,7 @@ x-webhooks: required: - login - id - team: *697 + team: *699 required: - action - scope @@ -142581,8 +142641,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *661 - merge_group: &699 + installation: *663 + merge_group: &701 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142601,15 +142661,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *698 + head_commit: *700 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142695,10 +142755,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *661 - merge_group: *699 - organization: *662 - repository: *663 + installation: *663 + merge_group: *701 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142771,7 +142831,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 + enterprise: *662 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142879,16 +142939,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *661 - organization: *662 + installation: *663 + organization: *664 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -142969,11 +143029,11 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143052,9 +143112,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - milestone: &702 + enterprise: *662 + installation: *663 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143191,8 +143251,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143271,11 +143331,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143385,11 +143445,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143469,11 +143529,11 @@ x-webhooks: type: string enum: - opened - enterprise: *660 - installation: *661 - milestone: *702 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *704 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143552,11 +143612,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *687 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + blocked_user: *689 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143635,11 +143695,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *687 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + blocked_user: *689 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143718,9 +143778,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - membership: &703 + enterprise: *662 + installation: *663 + membership: &705 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143812,8 +143872,8 @@ x-webhooks: - role - organization_url - user - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143891,11 +143951,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143974,8 +144034,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144091,10 +144151,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 - user: *687 + user: *689 required: - action - invitation @@ -144172,11 +144232,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -144263,11 +144323,11 @@ x-webhooks: properties: from: type: string - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -144343,9 +144403,9 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 package: description: Information about the package. type: object @@ -144844,7 +144904,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &704 + items: &706 title: Ruby Gems metadata type: object properties: @@ -144939,7 +144999,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -145015,9 +145075,9 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 package: description: Information about the package. type: object @@ -145370,7 +145430,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *704 + items: *706 source_url: type: string format: uri @@ -145440,7 +145500,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -145617,12 +145677,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *660 + enterprise: *662 id: type: integer - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - id @@ -145702,7 +145762,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &705 + personal_access_token_request: &707 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145836,10 +145896,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *660 - organization: *662 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -145918,11 +145978,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *705 - enterprise: *660 - organization: *662 + personal_access_token_request: *707 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146000,11 +146060,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *705 - enterprise: *660 - organization: *662 + personal_access_token_request: *707 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146081,11 +146141,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *705 - organization: *662 - enterprise: *660 + personal_access_token_request: *707 + organization: *664 + enterprise: *662 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146189,7 +146249,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *706 + last_response: *708 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146221,8 +146281,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 zen: description: Random string of GitHub zen. @@ -146467,10 +146527,10 @@ x-webhooks: - from required: - note - enterprise: *660 - installation: *661 - organization: *662 - project_card: &707 + enterprise: *662 + installation: *663 + organization: *664 + project_card: &709 title: Project Card type: object properties: @@ -146589,7 +146649,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -146670,11 +146730,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project_card: *707 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_card: *709 + repository: *665 sender: *19 required: - action @@ -146754,9 +146814,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 project_card: title: Project Card type: object @@ -146884,8 +146944,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -146979,11 +147039,11 @@ x-webhooks: - from required: - note - enterprise: *660 - installation: *661 - organization: *662 - project_card: *707 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_card: *709 + repository: *665 sender: *19 required: - action @@ -147077,9 +147137,9 @@ x-webhooks: - from required: - column_id - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 project_card: allOf: - title: Project Card @@ -147269,7 +147329,7 @@ x-webhooks: type: string required: - after_id - repository: *663 + repository: *665 sender: *19 required: - action @@ -147349,10 +147409,10 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - organization: *662 - project: &709 + enterprise: *662 + installation: *663 + organization: *664 + project: &711 title: Project type: object properties: @@ -147476,7 +147536,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -147556,10 +147616,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project_column: &708 + enterprise: *662 + installation: *663 + organization: *664 + project_column: &710 title: Project Column type: object properties: @@ -147598,7 +147658,7 @@ x-webhooks: - name - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -147677,18 +147737,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -147778,11 +147838,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 + repository: *665 sender: *19 required: - action @@ -147862,11 +147922,11 @@ x-webhooks: type: string enum: - moved - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 + repository: *665 sender: *19 required: - action @@ -147946,11 +148006,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148030,18 +148090,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - project: *709 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -148143,11 +148203,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148226,11 +148286,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148311,9 +148371,9 @@ x-webhooks: type: string enum: - closed - installation: *661 - organization: *662 - projects_v2: &710 + installation: *663 + organization: *664 + projects_v2: &712 title: Projects v2 Project description: A projects v2 project type: object @@ -148456,9 +148516,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148539,9 +148599,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148658,9 +148718,9 @@ x-webhooks: type: string to: type: string - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148743,7 +148803,7 @@ x-webhooks: type: string enum: - archived - changes: &714 + changes: &716 type: object properties: archived_at: @@ -148757,9 +148817,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *661 - organization: *662 - projects_v2_item: &711 + installation: *663 + organization: *664 + projects_v2_item: &713 title: Projects v2 Item description: An item belonging to a project type: object @@ -148893,9 +148953,9 @@ x-webhooks: nullable: true to: type: string - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -148977,9 +149037,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149060,9 +149120,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149168,7 +149228,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &712 + - &714 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149186,7 +149246,7 @@ x-webhooks: required: - id - name - - &713 + - &715 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149209,8 +149269,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *712 - - *713 + - *714 + - *715 required: - field_value - type: object @@ -149226,9 +149286,9 @@ x-webhooks: nullable: true required: - body - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149323,9 +149383,9 @@ x-webhooks: to: type: string nullable: true - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149408,10 +149468,10 @@ x-webhooks: type: string enum: - restored - changes: *714 - installation: *661 - organization: *662 - projects_v2_item: *711 + changes: *716 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149493,9 +149553,9 @@ x-webhooks: type: string enum: - reopened - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -149576,9 +149636,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2_status_update: &715 + installation: *663 + organization: *664 + projects_v2_status_update: &717 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149705,9 +149765,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2_status_update: *715 + installation: *663 + organization: *664 + projects_v2_status_update: *717 sender: *19 required: - action @@ -149843,9 +149903,9 @@ x-webhooks: type: string format: date nullable: true - installation: *661 - organization: *662 - projects_v2_status_update: *715 + installation: *663 + organization: *664 + projects_v2_status_update: *717 sender: *19 required: - action @@ -149916,10 +149976,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - repository @@ -149996,13 +150056,13 @@ x-webhooks: type: string enum: - assigned - assignee: *687 - enterprise: *660 - installation: *661 - number: &716 + assignee: *689 + enterprise: *662 + installation: *663 + number: &718 description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -152285,7 +152345,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -152367,11 +152427,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -154649,7 +154709,7 @@ x-webhooks: - draft reason: type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -154731,11 +154791,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -157013,7 +157073,7 @@ x-webhooks: - draft reason: type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -157095,13 +157155,13 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: &717 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: &719 allOf: - - *518 + - *520 - type: object properties: allow_auto_merge: @@ -157163,7 +157223,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *663 + repository: *665 sender: *19 required: - action @@ -157244,12 +157304,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -157329,11 +157389,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *660 - milestone: *500 - number: *716 - organization: *662 - pull_request: &718 + enterprise: *662 + milestone: *502 + number: *718 + organization: *664 + pull_request: &720 title: Pull Request type: object properties: @@ -159596,7 +159656,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -159675,11 +159735,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -161961,7 +162021,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *663 + repository: *665 sender: *19 required: - action @@ -162085,12 +162145,12 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -162170,11 +162230,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -164441,7 +164501,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -164521,11 +164581,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *660 - installation: *661 - label: *686 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + label: *688 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -166807,7 +166867,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -166888,10 +166948,10 @@ x-webhooks: type: string enum: - locked - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -169171,7 +169231,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -169251,12 +169311,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *660 - milestone: *500 - number: *716 - organization: *662 - pull_request: *718 - repository: *663 + enterprise: *662 + milestone: *502 + number: *718 + organization: *664 + pull_request: *720 + repository: *665 sender: *19 required: - action @@ -169335,12 +169395,12 @@ x-webhooks: type: string enum: - opened - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169421,12 +169481,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169506,12 +169566,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169877,9 +169937,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -172049,7 +172109,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -172129,7 +172189,7 @@ x-webhooks: type: string enum: - deleted - comment: &720 + comment: &722 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172414,9 +172474,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -174574,7 +174634,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -174654,11 +174714,11 @@ x-webhooks: type: string enum: - edited - changes: *719 - comment: *720 - enterprise: *660 - installation: *661 - organization: *662 + changes: *721 + comment: *722 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -176819,7 +176879,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -176900,9 +176960,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -179075,7 +179135,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 review: description: The review that was affected. type: object @@ -179318,9 +179378,9 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -181374,8 +181434,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 - review: &721 + repository: *665 + review: &723 description: The review that was affected. type: object properties: @@ -181604,12 +181664,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -183892,7 +183952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_reviewer: title: User type: object @@ -183976,12 +184036,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -186271,7 +186331,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186463,12 +186523,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -188753,7 +188813,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_reviewer: title: User type: object @@ -188838,12 +188898,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -191119,7 +191179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191300,9 +191360,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -193477,8 +193537,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 - review: *721 + repository: *665 + review: *723 sender: *19 required: - action @@ -193558,9 +193618,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -195630,7 +195690,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 sender: *19 thread: type: object @@ -196013,9 +196073,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -198071,7 +198131,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 sender: *19 thread: type: object @@ -198457,10 +198517,10 @@ x-webhooks: type: string before: type: string - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -200731,7 +200791,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -200813,11 +200873,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *722 - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + assignee: *724 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -203100,7 +203160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -203179,11 +203239,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *660 - installation: *661 - label: *686 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + label: *688 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -205456,7 +205516,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -205537,10 +205597,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -207805,7 +207865,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -208005,7 +208065,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *660 + enterprise: *662 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208097,8 +208157,8 @@ x-webhooks: - url - author - committer - installation: *661 - organization: *662 + installation: *663 + organization: *664 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208673,9 +208733,9 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 registry_package: type: object properties: @@ -209121,7 +209181,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *704 + items: *706 summary: type: string tag_name: @@ -209175,7 +209235,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -209253,9 +209313,9 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 registry_package: type: object properties: @@ -209563,7 +209623,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *704 + items: *706 summary: type: string tag_name: @@ -209612,7 +209672,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -209689,10 +209749,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - release: &723 + enterprise: *662 + installation: *663 + organization: *664 + release: &725 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -209997,7 +210057,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *663 + repository: *665 sender: *19 required: - action @@ -210074,11 +210134,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -210186,11 +210246,11 @@ x-webhooks: type: boolean required: - to - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -210268,9 +210328,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -210579,7 +210639,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *663 + repository: *665 sender: *19 required: - action @@ -210655,10 +210715,10 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - release: &724 + enterprise: *662 + installation: *663 + organization: *664 + release: &726 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210964,7 +211024,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *663 + repository: *665 sender: *19 required: - action @@ -211040,11 +211100,11 @@ x-webhooks: type: string enum: - released - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -211120,11 +211180,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *660 - installation: *661 - organization: *662 - release: *724 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *726 + repository: *665 sender: *19 required: - action @@ -211200,11 +211260,11 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - repository_advisory: *571 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + repository_advisory: *573 sender: *19 required: - action @@ -211280,11 +211340,11 @@ x-webhooks: type: string enum: - reported - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - repository_advisory: *571 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + repository_advisory: *573 sender: *19 required: - action @@ -211360,10 +211420,10 @@ x-webhooks: type: string enum: - archived - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211440,10 +211500,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211521,10 +211581,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211608,10 +211668,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211723,10 +211783,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211798,10 +211858,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 status: type: string @@ -211882,10 +211942,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211962,10 +212022,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212059,10 +212119,10 @@ x-webhooks: - name required: - repository - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212142,10 +212202,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 sender: *19 required: @@ -212224,10 +212284,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 sender: *19 required: @@ -212306,10 +212366,10 @@ x-webhooks: type: string enum: - edited - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 changes: type: object @@ -212614,10 +212674,10 @@ x-webhooks: - from required: - owner - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212695,10 +212755,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212776,7 +212836,7 @@ x-webhooks: type: string enum: - create - alert: &725 + alert: &727 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212897,10 +212957,10 @@ x-webhooks: type: string enum: - open - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213106,10 +213166,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213187,11 +213247,11 @@ x-webhooks: type: string enum: - reopen - alert: *725 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *727 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213390,10 +213450,10 @@ x-webhooks: enum: - fixed - open - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213471,7 +213531,7 @@ x-webhooks: type: string enum: - created - alert: &726 + alert: &728 type: object properties: number: *74 @@ -213551,10 +213611,19 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + nullable: true + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213635,11 +213704,11 @@ x-webhooks: type: string enum: - created - alert: *726 - installation: *661 - location: *727 - organization: *662 - repository: *663 + alert: *728 + installation: *663 + location: *729 + organization: *664 + repository: *665 sender: *19 required: - location @@ -213663,6 +213732,8 @@ x-webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -213815,6 +213886,88 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + sender: *19 + required: + - action + - alert + - repository + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -213875,11 +214028,11 @@ x-webhooks: type: string enum: - reopened - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213957,11 +214110,11 @@ x-webhooks: type: string enum: - resolved - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -214039,11 +214192,11 @@ x-webhooks: type: string enum: - validated - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -214119,11 +214272,11 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - security_advisory: &728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + security_advisory: &730 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214306,11 +214459,11 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - security_advisory: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + security_advisory: *730 sender: *19 required: - action @@ -214383,10 +214536,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214571,10 +214724,10 @@ x-webhooks: type: object properties: security_and_analysis: *244 - enterprise: *660 - installation: *661 - organization: *662 - repository: *303 + enterprise: *662 + installation: *663 + organization: *664 + repository: *305 sender: *19 required: - changes @@ -214652,12 +214805,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: &729 + sponsorship: &731 type: object properties: created_at: @@ -214958,12 +215111,12 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - sponsorship @@ -215051,12 +215204,12 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215133,17 +215286,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &730 + effective_date: &732 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - sponsorship @@ -215217,7 +215370,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &731 + changes: &733 type: object properties: tier: @@ -215261,13 +215414,13 @@ x-webhooks: - from required: - tier - effective_date: *730 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + effective_date: *732 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215344,13 +215497,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *731 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + changes: *733 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215424,10 +215577,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215510,10 +215663,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215929,15 +216082,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *660 + enterprise: *662 id: description: The unique identifier of the status. type: integer - installation: *661 + installation: *663 name: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 sha: description: The Commit SHA. @@ -216052,9 +216205,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216144,9 +216297,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216236,9 +216389,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216328,9 +216481,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216407,12 +216560,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - team: &732 + team: &734 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216602,9 +216755,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -217062,7 +217215,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -217138,9 +217291,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -217598,7 +217751,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -217675,9 +217828,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -218135,7 +218288,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -218279,9 +218432,9 @@ x-webhooks: - from required: - permissions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -218739,7 +218892,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - changes @@ -218817,9 +218970,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -219277,7 +219430,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -219353,10 +219506,10 @@ x-webhooks: type: string enum: - started - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -219429,16 +219582,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *660 + enterprise: *662 inputs: type: object nullable: true additionalProperties: true - installation: *661 - organization: *662 + installation: *663 + organization: *664 ref: type: string - repository: *663 + repository: *665 sender: *19 workflow: type: string @@ -219520,10 +219673,10 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: allOf: @@ -219760,7 +219913,7 @@ x-webhooks: type: string required: - conclusion - deployment: *433 + deployment: *435 required: - action - repository @@ -219839,10 +219992,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: allOf: @@ -220102,7 +220255,7 @@ x-webhooks: required: - status - steps - deployment: *433 + deployment: *435 required: - action - repository @@ -220181,10 +220334,10 @@ x-webhooks: type: string enum: - queued - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: type: object @@ -220319,7 +220472,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *435 required: - action - repository @@ -220398,10 +220551,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: type: object @@ -220537,7 +220690,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *435 required: - action - repository @@ -220617,12 +220770,12 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object @@ -221621,12 +221774,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object @@ -222610,12 +222763,12 @@ x-webhooks: type: string enum: - requested - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 88fafd88a6..6679138f17 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -27450,6 +27450,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -28227,6 +28247,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -28356,7 +28386,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -28442,7 +28474,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -57015,627 +57049,639 @@ "example": 10000, "nullable": true }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "example": false, - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "examples": { - "default-response": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "archived_at": null, - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false, - "secret_scanning_validity_checks_enabled": false - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", - "tags": [ - "orgs" - ], - "operationId": "orgs/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Organization Full", - "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - }, - "name": { - "type": "string", - "example": "github" - }, - "company": { - "type": "string", - "example": "GitHub" - }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" - }, - "location": { - "type": "string", - "example": "San Francisco" - }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" - }, - "total_private_repos": { - "type": "integer", - "example": 100 - }, - "owned_private_repos": { - "type": "integer", - "example": 100 - }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true - }, - "disk_usage": { + "collaborators": { "type": "integer", - "example": 10000, - "nullable": true + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "example": false, + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "archived_at": null, + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_validity_checks_enabled": false + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "tags": [ + "orgs" + ], + "operationId": "orgs/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + } + } + }, + "examples": { + "default": { + "value": { + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Full", + "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." }, "billing_email": { "type": "string", @@ -136667,6 +136713,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -137444,6 +137510,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } } @@ -137573,7 +137649,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -137659,7 +137737,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -399522,6 +399602,26 @@ "schema": { "type": "string" } + }, + { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } } ], "responses": { @@ -399880,6 +399980,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } } @@ -399942,7 +400052,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -399961,7 +400073,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -400399,6 +400513,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -400421,7 +400545,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -400906,6 +401032,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -400947,7 +401083,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } @@ -1056424,199 +1056562,1811 @@ "content": { "application/json": { "schema": { - "title": "repository transferred event", + "title": "repository transferred event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "transferred" + ] + }, + "changes": { + "type": "object", + "properties": { + "owner": { + "type": "object", + "properties": { + "from": { + "type": "object", + "properties": { + "organization": { + "title": "Organization", + "type": "object", + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "description": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "hooks_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "issues_url": { + "type": "string", + "format": "uri" + }, + "login": { + "type": "string" + }, + "members_url": { + "type": "string", + "format": "uri-template" + }, + "node_id": { + "type": "string" + }, + "public_members_url": { + "type": "string", + "format": "uri-template" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "login", + "id", + "node_id", + "url", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "user": { + "title": "User", + "type": "object", + "nullable": true, + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "login", + "id" + ] + } + } + } + }, + "required": [ + "from" + ] + } + }, + "required": [ + "owner" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "example": "MDQ6VXNlcjU4MzIzMQ==" + } + }, + "required": [ + "id", + "node_id" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "example": 42, + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + }, + "license": { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "mit" + }, + "name": { + "type": "string", + "example": "MIT License" + }, + "url": { + "type": "string", + "nullable": true, + "format": "uri", + "example": "https://api.github.com/licenses/mit" + }, + "spdx_id": { + "type": "string", + "nullable": true, + "example": "MIT" + }, + "node_id": { + "type": "string", + "example": "MDc6TGljZW5zZW1pdA==" + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ], + "nullable": true + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World" + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World" + }, + "archive_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + }, + "assignees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + }, + "blobs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + }, + "branches_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + }, + "collaborators_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + }, + "comments_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + }, + "commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + }, + "compare_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + }, + "contents_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/contributors" + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/deployments" + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/downloads" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/events" + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/forks" + }, + "git_commits_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + }, + "git_refs_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + }, + "git_tags_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + }, + "git_url": { + "type": "string", + "example": "git:github.com/octocat/Hello-World.git" + }, + "issue_comment_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + }, + "issue_events_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + }, + "issues_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + }, + "keys_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + }, + "labels_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/languages" + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/merges" + }, + "milestones_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + }, + "notifications_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + }, + "pulls_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + }, + "releases_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + }, + "ssh_url": { + "type": "string", + "example": "git@github.com:octocat/Hello-World.git" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/stargazers" + }, + "statuses_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscribers" + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/subscription" + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/tags" + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/teams" + }, + "trees_url": { + "type": "string", + "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + }, + "clone_url": { + "type": "string", + "example": "https://github.com/octocat/Hello-World.git" + }, + "mirror_url": { + "type": "string", + "format": "uri", + "example": "git:git.example.com/octocat/Hello-World", + "nullable": true + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "http://api.github.com/repos/octocat/Hello-World/hooks" + }, + "svn_url": { + "type": "string", + "format": "uri", + "example": "https://svn.github.com/octocat/Hello-World" + }, + "homepage": { + "type": "string", + "format": "uri", + "example": "https://github.com", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "forks_count": { + "type": "integer", + "example": 9 + }, + "stargazers_count": { + "type": "integer", + "example": 80 + }, + "watchers_count": { + "type": "integer", + "example": 80 + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "example": 108 + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "example": "master" + }, + "open_issues_count": { + "type": "integer", + "example": 0 + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "example": true + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "example": true + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "example": true + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:06:43Z", + "nullable": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:01:12Z", + "nullable": true + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-01-26T19:14:43Z", + "nullable": true + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "template_repository": { + "nullable": true, + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "full_name": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "gravatar_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "followers_url": { + "type": "string" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string" + }, + "organizations_url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + } + } + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "archive_url": { + "type": "string" + }, + "assignees_url": { + "type": "string" + }, + "blobs_url": { + "type": "string" + }, + "branches_url": { + "type": "string" + }, + "collaborators_url": { + "type": "string" + }, + "comments_url": { + "type": "string" + }, + "commits_url": { + "type": "string" + }, + "compare_url": { + "type": "string" + }, + "contents_url": { + "type": "string" + }, + "contributors_url": { + "type": "string" + }, + "deployments_url": { + "type": "string" + }, + "downloads_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "forks_url": { + "type": "string" + }, + "git_commits_url": { + "type": "string" + }, + "git_refs_url": { + "type": "string" + }, + "git_tags_url": { + "type": "string" + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string" + }, + "issue_events_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "keys_url": { + "type": "string" + }, + "labels_url": { + "type": "string" + }, + "languages_url": { + "type": "string" + }, + "merges_url": { + "type": "string" + }, + "milestones_url": { + "type": "string" + }, + "notifications_url": { + "type": "string" + }, + "pulls_url": { + "type": "string" + }, + "releases_url": { + "type": "string" + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string" + }, + "statuses_url": { + "type": "string" + }, + "subscribers_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "tags_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "trees_url": { + "type": "string" + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "language": { + "type": "string" + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "allow_rebase_merge": { + "type": "boolean" + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "type": "boolean" + }, + "allow_auto_merge": { + "type": "boolean" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "allow_update_branch": { + "type": "boolean" + }, + "use_squash_pr_title_as_default": { + "type": "boolean" + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + } + } + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "example": false + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "example": false + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "example": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "example": true + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "changes", + "repository", + "sender" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "repository-unarchived": { + "post": { + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "repository unarchived event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "transferred" - ] - }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "description": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "issues_url": { - "type": "string", - "format": "uri" - }, - "login": { - "type": "string" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { - "type": "string" - }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "url": { - "type": "string", - "format": "uri" - } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": "object", - "nullable": true, - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": "string", - "nullable": true - }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { - "type": "string" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer", - "format": "int64" - }, - "login": { - "type": "string" - }, - "name": { - "type": "string" - }, - "node_id": { - "type": "string" - }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { - "type": "boolean" - }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "user_view_type": { - "type": "string" - } - }, - "required": [ - "login", - "id" - ] - } - } - } - }, - "required": [ - "from" - ] - } - }, - "required": [ - "owner" + "unarchived" ] }, "enterprise": { @@ -1058125,7 +1059875,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1058151,13 +1059900,13 @@ } } }, - "repository-unarchived": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -1058222,15 +1059971,181 @@ "content": { "application/json": { "schema": { - "title": "repository unarchived event", + "title": "repository_vulnerability_alert create event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "unarchived" + "create" ] }, + "alert": { + "title": "Repository Vulnerability Alert Alert", + "description": "The security alert of the vulnerable dependency.", + "type": "object", + "required": [ + "affected_package_name", + "affected_range", + "created_at", + "external_identifier", + "external_reference", + "ghsa_id", + "id", + "node_id", + "number", + "severity", + "state" + ], + "properties": { + "affected_package_name": { + "type": "string" + }, + "affected_range": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "dismiss_reason": { + "type": "string" + }, + "dismissed_at": { + "type": "string" + }, + "dismisser": { + "title": "User", + "type": "object", + "nullable": true, + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": "string", + "nullable": true + }, + "events_url": { + "type": "string", + "format": "uri-template" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string", + "format": "uri-template" + }, + "gists_url": { + "type": "string", + "format": "uri-template" + }, + "gravatar_id": { + "type": "string" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "id": { + "type": "integer" + }, + "login": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "site_admin": { + "type": "boolean" + }, + "starred_url": { + "type": "string", + "format": "uri-template" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + "url": { + "type": "string", + "format": "uri" + } + } + }, + "external_identifier": { + "type": "string" + }, + "external_reference": { + "type": "string", + "nullable": true, + "format": "uri" + }, + "fix_reason": { + "type": "string" + }, + "fixed_at": { + "type": "string", + "format": "date-time" + }, + "fixed_in": { + "type": "string" + }, + "ghsa_id": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "number": { + "type": "integer" + }, + "severity": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "open" + ] + } + } + }, "enterprise": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -1059737,6 +1061652,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1059752,21 +1061668,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", + "subcategory": "repository_vulnerability_alert", "supported-webhook-types": [ - "business", "repository", - "organization", - "app" + "organization" ] } } }, - "repository-vulnerability-alert-create": { + "repository-vulnerability-alert-dismiss": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1059833,13 +1061747,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert create event", + "title": "repository_vulnerability_alert dismiss event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "create" + "dismiss" ] }, "alert": { @@ -1059850,6 +1061764,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1059869,6 +1061786,10 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": "string", + "nullable": true + }, "dismiss_reason": { "type": "string" }, @@ -1059964,6 +1061885,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1060003,7 +1061927,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1061538,11 +1063462,11 @@ } } }, - "repository-vulnerability-alert-dismiss": { + "repository-vulnerability-alert-reopen": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1061609,13 +1063533,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert dismiss event", + "title": "repository_vulnerability_alert reopen event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "dismiss" + "reopen" ] }, "alert": { @@ -1061626,9 +1063550,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1061648,10 +1063569,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": "string", - "nullable": true - }, "dismiss_reason": { "type": "string" }, @@ -1061747,9 +1063664,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1061789,7 +1063703,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1063324,11 +1065238,11 @@ } } }, - "repository-vulnerability-alert-reopen": { + "repository-vulnerability-alert-resolve": { "post": { "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, @@ -1063395,13 +1065309,13 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert reopen event", + "title": "repository_vulnerability_alert resolve event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "reopen" + "resolve" ] }, "alert": { @@ -1063565,6 +1065479,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1065100,13 +1067015,13 @@ } } }, - "repository-vulnerability-alert-resolve": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1065171,179 +1067086,364 @@ "content": { "application/json": { "schema": { - "title": "repository_vulnerability_alert resolve event", + "title": "secret_scanning_alert created event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "resolve" + "created" ] }, "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], "properties": { - "affected_package_name": { - "type": "string" - }, - "affected_range": { - "type": "string" + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true }, "created_at": { - "type": "string" + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true }, - "dismiss_reason": { - "type": "string" + "updated_at": { + "type": "string", + "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true, + "nullable": true }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", - "type": "object", + "html_url": { + "type": "string", + "description": "The GitHub URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "resolution": { + "type": "string", + "description": "The reason for resolving the alert.", "nullable": true, - "required": [ - "login", - "id" - ], + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited" + ] + }, + "resolved_at": { + "type": "string", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", "properties": { - "avatar_url": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "deleted": { - "type": "boolean" + "id": { + "type": "integer", + "format": "int64", + "example": 1 }, - "email": { + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "events_url": { + "url": { "type": "string", - "format": "uri-template" + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "followers_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" }, "following_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/following{/other_user}" }, "gists_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, - "gravatar_id": { - "type": "string" + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, - "html_url": { + "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" }, - "id": { - "type": "integer" + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" }, - "login": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "An optional comment to resolve an alert.", + "nullable": true + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "push_protection_bypassed": { + "type": "boolean", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { "name": { + "nullable": true, "type": "string" }, - "node_id": { + "email": { + "nullable": true, "type": "string" }, - "organizations_url": { + "login": { "type": "string", - "format": "uri" + "example": "octocat" }, - "received_events_url": { + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { "type": "string", - "format": "uri" + "example": "MDQ6VXNlcjE=" }, - "repos_url": { + "avatar_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" }, - "site_admin": { - "type": "boolean" + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" }, "starred_url": { "type": "string", - "format": "uri-template" + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" }, "subscriptions_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" }, "type": { "type": "string", - "enum": [ - "Bot", - "User", - "Organization" - ] + "example": "User" }, - "url": { + "site_admin": { + "type": "boolean" + }, + "starred_at": { "type": "string", - "format": "uri" + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" } - } - }, - "external_identifier": { - "type": "string" - }, - "external_reference": { - "type": "string", - "nullable": true, - "format": "uri" - }, - "fix_reason": { - "type": "string" + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true }, - "fixed_at": { + "push_protection_bypassed_at": { "type": "string", - "format": "date-time" - }, - "fixed_in": { - "type": "string" - }, - "ghsa_id": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "number": { - "type": "integer" + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1066854,8 +1068954,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1066869,21 +1068968,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", - "organization" + "organization", + "app" ] } } }, - "secret-scanning-alert-created": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -1066948,7 +1069048,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1067296,76 +1069396,18 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true - } - } - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": "string", - "nullable": true - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/enterprises/octo-business" - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": "string", - "nullable": true, - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "example": 42, - "type": "integer" - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "example": "Octo Business" }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "example": "octo-business" - }, - "created_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:01:12Z" - }, - "updated_at": { - "type": "string", - "nullable": true, - "format": "date-time", - "example": "2019-01-26T19:14:43Z" + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true }, - "avatar_url": { - "type": "string", - "format": "uri" + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1067388,6 +1069430,314 @@ "node_id" ] }, + "location": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "commit", + "wiki_commit", + "issue_title", + "issue_body", + "issue_comment", + "discussion_title", + "discussion_body", + "discussion_comment", + "pull_request_title", + "pull_request_body", + "pull_request_comment", + "pull_request_review", + "pull_request_review_comment" + ], + "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", + "example": "commit" + }, + "details": { + "oneOf": [ + { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "example": "/example/secrets.txt" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "example": "/example/Home.md" + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_title_url" + ] + }, + { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + } + }, + "required": [ + "issue_body_url" + ] + }, + { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "issue_comment_url" + ] + }, + { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082" + } + }, + "required": [ + "discussion_title_url" + ] + }, + { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussion-4566270" + } + }, + "required": [ + "discussion_body_url" + ] + }, + { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + } + }, + "required": [ + "discussion_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_title_url" + ] + }, + { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" + } + }, + "required": [ + "pull_request_body_url" + ] + }, + { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + } + }, + "required": [ + "pull_request_review_url" + ] + }, + { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + } + ] + } + } + }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1068804,10 +1071154,185 @@ } }, "required": [ - "action", + "location", "alert", - "repository" + "repository", + "sender" ] + }, + "examples": { + "default": { + "value": { + "action": "created", + "alert": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "updated_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", + "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, + "secret_type": "mailchimp_api_key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false + }, + "location": { + "type": "commit", + "details": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + } + }, + "repository": { + "id": 186853002, + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "name": "hello-world", + "full_name": "octocat-repo/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/octocat-repo/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octocat-repo/hello-world", + "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", + "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", + "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", + "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", + "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", + "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", + "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", + "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", + "created_at": "2019-05-15T15:19:25Z", + "updated_at": "2019-05-15T15:21:03Z", + "pushed_at": "2019-05-15T15:20:57Z", + "git_url": "git://github.com/octocat-repo/hello-world.git", + "ssh_url": "git@github.com:octocat-repo/hello-world.git", + "clone_url": "https://github.com/octocat-repo/hello-world.git", + "svn_url": "https://github.com/octocat-repo/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master", + "is_template": false + }, + "sender": { + "login": "octocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + } + } + }, + "application/x-www-form-urlencoded": { + "schema": { + "title": "Secret Scanning Alert Location Created Event", + "type": "object", + "properties": { + "payload": { + "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", + "type": "string" + } + }, + "required": [ + "payload" + ] + }, + "examples": { + "default": { + "value": { + "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" + } + } } } } @@ -1068819,8 +1071344,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1068829,13 +1071355,13 @@ } } }, - "secret-scanning-alert-location-created": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -1068900,13 +1071426,13 @@ "content": { "application/json": { "schema": { - "title": "Secret Scanning Alert Location Created Event", + "title": "secret_scanning_alert publicly leaked event", "type": "object", "properties": { "action": { "type": "string", "enum": [ - "created" + "publicly_leaked" ] }, "alert": { @@ -1069248,9 +1071774,87 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, "installation": { "title": "Simple Installation", "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", @@ -1069272,314 +1071876,6 @@ "node_id" ] }, - "location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "wiki_commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "example": "commit" - }, - "details": { - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "example": "/example/secrets.txt" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "example": "/example/Home.md" - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082" - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "example": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pull/2846" - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - } - }, "organization": { "title": "Organization Simple", "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", @@ -1070996,183 +1073292,10 @@ } }, "required": [ - "location", + "action", "alert", - "repository", - "sender" - ] - }, - "examples": { - "default": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": [ - "payload" + "repository" ] - }, - "examples": { - "default": { - "value": { - "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" - } - } } } } @@ -1071184,9 +1073307,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1071614,6 +1073736,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1073566,6 +1075698,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -1075518,6 +1077660,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index d26cd134e8..122133a6c1 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &262 + type: &264 type: string description: The type of credit the user is receiving. enum: @@ -1012,7 +1012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &573 + - &575 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1654,7 +1654,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &583 + schema: &585 title: Scim Error description: Scim Error type: object @@ -9669,7 +9669,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &371 + instances_url: &373 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -9703,7 +9703,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &372 + dismissed_reason: &374 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -9712,13 +9712,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &373 + dismissed_comment: &375 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &374 + rule: &376 type: object properties: id: @@ -9771,7 +9771,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &375 + tool: &377 type: object properties: name: *68 @@ -9781,15 +9781,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *69 - most_recent_instance: &376 + most_recent_instance: &378 type: object properties: - ref: &369 + ref: &371 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &382 + analysis_key: &384 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -9800,7 +9800,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &383 + category: &385 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11480,7 +11480,7 @@ paths: enum: - development - runtime - security_advisory: &425 + security_advisory: &427 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -11711,7 +11711,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: &426 + auto_dismissed_at: &428 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12198,6 +12198,24 @@ paths: required: false schema: type: string + - &260 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &261 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -12205,7 +12223,7 @@ paths: application/json: schema: type: array - items: &260 + items: &262 type: object properties: number: *74 @@ -12224,14 +12242,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &566 + state: &568 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &567 + resolution: &569 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -12296,8 +12314,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true examples: - default: &261 + default: &263 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -12417,6 +12444,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -12499,6 +12528,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *39 '404': *7 @@ -12530,7 +12561,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &265 type: object properties: total_minutes_used: @@ -12600,7 +12631,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &264 + default: &266 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -12638,7 +12669,7 @@ paths: description: Success content: application/json: - schema: &265 + schema: &267 type: object properties: total_advanced_security_committers: @@ -12693,7 +12724,7 @@ paths: required: - repositories examples: - default: &266 + default: &268 value: total_advanced_security_committers: 2 total_count: 2 @@ -12936,7 +12967,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &269 type: object properties: total_gigabytes_bandwidth_used: @@ -12954,7 +12985,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &268 + default: &270 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -12986,7 +13017,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &271 type: object properties: days_left_in_billing_cycle: @@ -13004,7 +13035,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &270 + default: &272 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -13431,7 +13462,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &474 + properties: &476 id: type: integer format: int64 @@ -13542,7 +13573,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &410 + properties: &412 url: type: string format: uri @@ -13612,7 +13643,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &411 + required: &413 - closed_issues - creator - description @@ -13753,7 +13784,7 @@ paths: - hooray - eyes - rocket - required: &475 + required: &477 - assignee - closed_at - comments @@ -13775,7 +13806,7 @@ paths: - author_association - created_at - updated_at - comment: &472 + comment: &474 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14335,7 +14366,7 @@ paths: url: type: string format: uri - user: &622 + user: &624 title: Public User description: Public User type: object @@ -17614,14 +17645,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &290 + - &292 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &291 + - &293 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -17692,7 +17723,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &304 + '301': &306 description: Moved permanently content: application/json: @@ -17714,7 +17745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &503 + - &505 name: all description: If `true`, show notifications marked as read. in: query @@ -17722,7 +17753,7 @@ paths: schema: type: boolean default: false - - &504 + - &506 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -17732,7 +17763,7 @@ paths: type: boolean default: false - *94 - - &505 + - &507 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -18196,7 +18227,7 @@ paths: - url - subscription_url examples: - default: &506 + default: &508 value: - id: '1' repository: @@ -18742,7 +18773,7 @@ paths: type: array items: *52 examples: - default: &640 + default: &642 value: - login: github id: 1 @@ -19031,6 +19062,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -19626,7 +19665,7 @@ paths: type: integer repository_cache_usages: type: array - items: &309 + items: &311 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19877,7 +19916,7 @@ paths: type: array items: *57 examples: - default: &634 + default: &636 value: total_count: 1 repositories: @@ -20642,7 +20681,7 @@ paths: type: array items: *139 examples: - default: &625 + default: &627 value: total_count: 1 repositories: @@ -21682,7 +21721,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &331 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21711,7 +21750,7 @@ paths: - key_id - key examples: - default: &330 + default: &332 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22122,7 +22161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *121 - - &314 + - &316 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22725,7 +22764,7 @@ paths: repository_id: type: integer examples: - default: &343 + default: &345 value: attestations: - bundle: @@ -23040,7 +23079,7 @@ paths: be returned. in: query required: false - schema: &370 + schema: &372 type: string description: Severity of a code scanning alert. enum: @@ -24211,7 +24250,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &396 + properties: &398 name: type: string description: The name of the machine. @@ -24253,7 +24292,7 @@ paths: - ready - in_progress nullable: true - required: &397 + required: &399 - name - display_name - operating_system @@ -25121,7 +25160,7 @@ paths: - updated_at - visibility examples: - default: &398 + default: &400 value: total_count: 2 secrets: @@ -25159,7 +25198,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &401 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25188,7 +25227,7 @@ paths: - key_id - key examples: - default: &400 + default: &402 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25220,7 +25259,7 @@ paths: application/json: schema: *171 examples: - default: &402 + default: &404 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26902,7 +26941,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &431 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -26919,7 +26958,7 @@ paths: - key_id - key examples: - default: &430 + default: &432 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27500,7 +27539,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &287 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -27581,7 +27620,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &286 + default: &288 value: group_id: '123' group_name: Octocat admins @@ -27636,7 +27675,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &285 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -27673,7 +27712,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &284 + default: &286 value: groups: - group_id: '123' @@ -28461,7 +28500,7 @@ paths: application/json: schema: *22 examples: - default: &468 + default: &470 value: id: 1 account: @@ -28686,7 +28725,7 @@ paths: required: true content: application/json: - schema: &469 + schema: &471 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -29305,7 +29344,7 @@ paths: application/json: schema: *211 examples: - default: &395 + default: &397 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30528,7 +30567,7 @@ paths: parameters: - *121 - *217 - - &639 + - &641 name: repo_name description: repo_name parameter in: path @@ -31786,7 +31825,7 @@ paths: - nuget - container - *121 - - &641 + - &643 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -31827,7 +31866,7 @@ paths: default: *224 '403': *29 '401': *25 - '400': &643 + '400': &645 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33163,7 +33202,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &301 + '410': &303 description: Gone content: application/json: @@ -34037,7 +34076,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 title: Full Repository description: Full Repository type: object @@ -34430,7 +34469,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &417 + properties: &419 url: type: string format: uri @@ -34446,7 +34485,7 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &418 + required: &420 - url - key - name @@ -34535,7 +34574,7 @@ paths: - network_count - subscribers_count examples: - default: &305 + default: &307 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -35088,7 +35127,7 @@ paths: - *121 - *18 - *20 - - &553 + - &555 name: targets description: | A comma-separated list of rule targets to filter by. @@ -35367,7 +35406,7 @@ paths: type: object description: A repository rule. oneOf: - - &535 + - &537 title: creation description: Only allow users with bypass permission to create matching refs. @@ -35379,7 +35418,7 @@ paths: type: string enum: - creation - - &536 + - &538 title: update description: Only allow users with bypass permission to update matching refs. @@ -35400,7 +35439,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &538 + - &540 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35412,7 +35451,7 @@ paths: type: string enum: - deletion - - &539 + - &541 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35424,7 +35463,7 @@ paths: type: string enum: - required_linear_history - - &540 + - &542 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35502,7 +35541,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &541 + - &543 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35526,7 +35565,7 @@ paths: type: string required: - required_deployment_environments - - &542 + - &544 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35538,7 +35577,7 @@ paths: type: string enum: - required_signatures - - &543 + - &545 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35584,7 +35623,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &544 + - &546 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35632,7 +35671,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &545 + - &547 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35644,7 +35683,7 @@ paths: type: string enum: - non_fast_forward - - &546 + - &548 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35680,7 +35719,7 @@ paths: required: - operator - pattern - - &547 + - &549 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -35716,7 +35755,7 @@ paths: required: - operator - pattern - - &548 + - &550 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -35752,7 +35791,7 @@ paths: required: - operator - pattern - - &549 + - &551 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -35788,7 +35827,7 @@ paths: required: - operator - pattern - - &550 + - &552 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35914,7 +35953,7 @@ paths: maximum: 100 required: - max_file_size - - &551 + - &553 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35964,7 +36003,7 @@ paths: - repository_id required: - workflows - - &552 + - &554 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -36201,7 +36240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *121 - - &554 + - &556 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -36217,7 +36256,7 @@ paths: in: query schema: type: integer - - &555 + - &557 name: time_period description: |- The time period to filter by. @@ -36233,14 +36272,14 @@ paths: - week - month default: day - - &556 + - &558 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &557 + - &559 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -36260,7 +36299,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &560 title: Rule Suites description: Response type: array @@ -36315,7 +36354,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &559 + default: &561 value: - id: 21 actor_id: 12 @@ -36359,7 +36398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *121 - - &560 + - &562 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -36375,7 +36414,7 @@ paths: description: Response content: application/json: - schema: &561 + schema: &563 title: Rule Suite description: Response type: object @@ -36474,7 +36513,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &562 + default: &564 value: id: 21 actor_id: 12 @@ -36692,7 +36731,7 @@ paths: - *67 - *20 - *18 - - &564 + - &566 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -36702,7 +36741,7 @@ paths: required: false schema: type: string - - &565 + - &567 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -36713,6 +36752,8 @@ paths: schema: type: string - *259 + - *260 + - *261 responses: '200': description: Response @@ -36720,9 +36761,9 @@ paths: application/json: schema: type: array - items: *260 + items: *262 examples: - default: *261 + default: *263 headers: Link: *39 '404': *7 @@ -36792,7 +36833,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 description: A repository security advisory. type: object properties: @@ -37012,7 +37053,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 credits_detailed: type: array nullable: true @@ -37022,7 +37063,7 @@ paths: type: object properties: user: *19 - type: *262 + type: *264 state: type: string description: The state of the user's acceptance of the @@ -37083,7 +37124,7 @@ paths: - private_fork additionalProperties: false examples: - default: &572 + default: &574 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37473,7 +37514,7 @@ paths: application/json: schema: type: array - items: &514 + items: &516 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -37563,9 +37604,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37597,9 +37638,9 @@ paths: description: Success content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37627,9 +37668,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37657,9 +37698,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *271 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37695,7 +37736,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &294 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -37741,7 +37782,7 @@ paths: type: string nullable: true examples: - default: &293 + default: &295 value: groups: - group_id: '123' @@ -37953,7 +37994,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38263,7 +38304,7 @@ paths: - repos_count - organization examples: - default: &272 + default: &274 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38340,9 +38381,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 x-github: githubCloudOnly: false @@ -38426,16 +38467,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '201': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 '422': *16 '403': *29 @@ -38505,7 +38546,7 @@ paths: application/json: schema: type: array - items: &273 + items: &275 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38604,7 +38645,7 @@ paths: - updated_at - url examples: - default: &612 + default: &614 value: - author: login: octocat @@ -38713,9 +38754,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &274 + default: &276 value: author: login: octocat @@ -38789,7 +38830,7 @@ paths: parameters: - *121 - *219 - - &275 + - &277 name: discussion_number description: The number that identifies the discussion. in: path @@ -38801,9 +38842,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38827,7 +38868,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: false content: @@ -38850,9 +38891,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &613 + default: &615 value: author: login: octocat @@ -38924,7 +38965,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 responses: '204': description: Response @@ -38952,7 +38993,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 - *67 - *18 - *20 @@ -38963,7 +39004,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39035,7 +39076,7 @@ paths: - updated_at - url examples: - default: &614 + default: &616 value: - author: login: octocat @@ -39105,7 +39146,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: true content: @@ -39127,9 +39168,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &277 + default: &279 value: author: login: octocat @@ -39197,8 +39238,8 @@ paths: parameters: - *121 - *219 - - *275 - - &278 + - *277 + - &280 name: comment_number description: The number that identifies the comment. in: path @@ -39210,9 +39251,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39236,8 +39277,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 requestBody: required: true content: @@ -39259,9 +39300,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &615 + default: &617 value: author: login: octocat @@ -39327,8 +39368,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 responses: '204': description: Response @@ -39356,8 +39397,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -39383,7 +39424,7 @@ paths: application/json: schema: type: array - items: &279 + items: &281 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39426,7 +39467,7 @@ paths: - content - created_at examples: - default: &281 + default: &283 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39478,8 +39519,8 @@ paths: parameters: - *121 - *219 - - *275 - - *278 + - *277 + - *280 requestBody: required: true content: @@ -39512,9 +39553,9 @@ paths: team discussion comment content: application/json: - schema: *279 + schema: *281 examples: - default: &280 + default: &282 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39543,9 +39584,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39570,9 +39611,9 @@ paths: parameters: - *121 - *219 - - *275 - - *278 - - &282 + - *277 + - *280 + - &284 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39606,7 +39647,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -39632,9 +39673,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -39662,7 +39703,7 @@ paths: parameters: - *121 - *219 - - *275 + - *277 requestBody: required: true content: @@ -39694,16 +39735,16 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39728,8 +39769,8 @@ paths: parameters: - *121 - *219 - - *275 - - *282 + - *277 + - *284 responses: '204': description: Response @@ -39759,9 +39800,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39804,9 +39845,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *287 examples: - default: *286 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -39947,7 +39988,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &289 title: Team Membership description: Team Membership type: object @@ -39974,7 +40015,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &616 + response-if-user-is-a-team-maintainer: &618 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40037,9 +40078,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: &617 + response-if-users-membership-with-team-is-now-pending: &619 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40113,7 +40154,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Team Project description: A team's access to a project. type: object @@ -40181,7 +40222,7 @@ paths: - updated_at - permissions examples: - default: &618 + default: &620 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40244,7 +40285,7 @@ paths: parameters: - *121 - *219 - - &289 + - &291 name: project_id description: The unique identifier of the project. in: path @@ -40256,9 +40297,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &619 + default: &621 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40320,7 +40361,7 @@ paths: parameters: - *121 - *219 - - *289 + - *291 requestBody: required: false content: @@ -40386,7 +40427,7 @@ paths: parameters: - *121 - *219 - - *289 + - *291 responses: '204': description: Response @@ -40454,14 +40495,14 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &620 + schema: &622 title: Team Repository description: A team's access to a repository. type: object @@ -41032,8 +41073,8 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -41080,8 +41121,8 @@ paths: parameters: - *121 - *219 - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -41114,9 +41155,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *293 + default: *295 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41182,7 +41223,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -41227,7 +41268,7 @@ paths: type: array items: *207 examples: - response-if-child-teams-exist: &621 + response-if-child-teams-exist: &623 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41351,7 +41392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &294 + - &296 name: card_id description: The unique identifier of the card. in: path @@ -41363,7 +41404,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &297 title: Project Card description: Project cards represent a scope of work. type: object @@ -41430,7 +41471,7 @@ paths: - created_at - updated_at examples: - default: &296 + default: &298 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41480,7 +41521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *294 + - *296 requestBody: required: false content: @@ -41507,9 +41548,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 '304': *37 '403': *29 '401': *25 @@ -41530,7 +41571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *294 + - *296 responses: '204': description: Response @@ -41568,7 +41609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *294 + - *296 requestBody: required: true content: @@ -41673,7 +41714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &297 + - &299 name: column_id description: The unique identifier of the column. in: path @@ -41685,7 +41726,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &300 title: Project Column description: Project columns contain cards of work. type: object @@ -41731,7 +41772,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &301 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41760,7 +41801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *297 + - *299 requestBody: required: true content: @@ -41784,9 +41825,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 '304': *37 '403': *29 '401': *25 @@ -41805,7 +41846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *297 + - *299 responses: '204': description: Response @@ -41828,7 +41869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *297 + - *299 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -41849,7 +41890,7 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: default: value: @@ -41902,7 +41943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *297 + - *299 requestBody: required: true content: @@ -41942,9 +41983,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 '304': *37 '403': *29 '401': *25 @@ -41994,7 +42035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *297 + - *299 requestBody: required: true content: @@ -42050,7 +42091,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *289 + - *291 responses: '200': description: Response @@ -42058,7 +42099,7 @@ paths: application/json: schema: *236 examples: - default: &300 + default: &302 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42111,7 +42152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *289 + - *291 requestBody: required: false content: @@ -42159,7 +42200,7 @@ paths: application/json: schema: *236 examples: - default: *300 + default: *302 '404': description: Not Found if the authenticated user does not have access to the project @@ -42180,7 +42221,7 @@ paths: items: type: string '401': *25 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -42198,7 +42239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *289 + - *291 responses: '204': description: Delete Success @@ -42219,7 +42260,7 @@ paths: items: type: string '401': *25 - '410': *301 + '410': *303 '404': *7 x-github: githubCloudOnly: false @@ -42242,7 +42283,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *289 + - *291 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -42294,7 +42335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *289 + - *291 - *161 requestBody: required: false @@ -42342,7 +42383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *289 + - *291 - *161 responses: '204': @@ -42371,7 +42412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *289 + - *291 - *161 responses: '200': @@ -42439,7 +42480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *289 + - *291 - *18 - *20 responses: @@ -42449,7 +42490,7 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: default: value: @@ -42481,7 +42522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *289 + - *291 requestBody: required: true content: @@ -42504,7 +42545,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: default: value: @@ -42565,7 +42606,7 @@ paths: resources: type: object properties: - core: &302 + core: &304 title: Rate Limit type: object properties: @@ -42582,19 +42623,19 @@ paths: - remaining - reset - used - graphql: *302 - search: *302 - code_search: *302 - source_import: *302 - integration_manifest: *302 - code_scanning_upload: *302 - actions_runner_registration: *302 - scim: *302 - dependency_snapshots: *302 + graphql: *304 + search: *304 + code_search: *304 + source_import: *304 + integration_manifest: *304 + code_scanning_upload: *304 + actions_runner_registration: *304 + scim: *304 + dependency_snapshots: *304 required: - core - search - rate: *302 + rate: *304 required: - rate - resources @@ -42693,14 +42734,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *303 + schema: *305 examples: default-response: summary: Default response @@ -43205,7 +43246,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *304 + '301': *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43223,8 +43264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -43470,10 +43511,10 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 - '307': &306 + default: *307 + '307': &308 description: Temporary Redirect content: application/json: @@ -43502,8 +43543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -43525,7 +43566,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *306 + '307': *308 '404': *7 x-github: githubCloudOnly: false @@ -43548,11 +43589,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - - &321 + - &323 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43575,7 +43616,7 @@ paths: type: integer artifacts: type: array - items: &307 + items: &309 title: Artifact description: An artifact type: object @@ -43646,7 +43687,7 @@ paths: - expires_at - updated_at examples: - default: &322 + default: &324 value: total_count: 2 artifacts: @@ -43705,9 +43746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *290 - - *291 - - &308 + - *292 + - *293 + - &310 name: artifact_id description: The unique identifier of the artifact. in: path @@ -43719,7 +43760,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: default: value: @@ -43756,9 +43797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *290 - - *291 - - *308 + - *292 + - *293 + - *310 responses: '204': description: Response @@ -43782,9 +43823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *290 - - *291 - - *308 + - *292 + - *293 + - *310 - name: archive_format in: path required: true @@ -43798,7 +43839,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': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43821,14 +43862,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: default: value: @@ -43854,11 +43895,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - - &310 + - &312 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -43892,7 +43933,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &313 title: Repository actions caches description: Repository actions caches type: object @@ -43934,7 +43975,7 @@ paths: - total_count - actions_caches examples: - default: &312 + default: &314 value: total_count: 1 actions_caches: @@ -43966,23 +44007,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *290 - - *291 + - *292 + - *293 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *310 + - *312 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: *312 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44002,8 +44043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *290 - - *291 + - *292 + - *293 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44034,9 +44075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *290 - - *291 - - &313 + - *292 + - *293 + - &315 name: job_id description: The unique identifier of the job. in: path @@ -44048,7 +44089,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 title: Job description: Information of a job execution in a workflow run type: object @@ -44355,9 +44396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *290 - - *291 - - *313 + - *292 + - *293 + - *315 responses: '302': description: Response @@ -44385,9 +44426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *290 - - *291 - - *313 + - *292 + - *293 + - *315 requestBody: required: false content: @@ -44432,8 +44473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Status response @@ -44483,8 +44524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -44547,8 +44588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -44566,7 +44607,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44586,7 +44627,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &330 value: total_count: 2 secrets: @@ -44619,9 +44660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *290 - - *291 - - *314 + - *292 + - *293 + - *316 - *20 responses: '200': @@ -44638,7 +44679,7 @@ paths: type: integer variables: type: array - items: &331 + items: &333 title: Actions Variable type: object properties: @@ -44668,7 +44709,7 @@ paths: - created_at - updated_at examples: - default: &332 + default: &334 value: total_count: 2 variables: @@ -44701,8 +44742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44711,7 +44752,7 @@ paths: schema: type: object properties: - enabled: &315 + enabled: &317 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 @@ -44744,8 +44785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -44756,7 +44797,7 @@ paths: schema: type: object properties: - enabled: *315 + enabled: *317 allowed_actions: *42 required: - enabled @@ -44787,14 +44828,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &316 + schema: &318 type: object properties: access_level: @@ -44812,7 +44853,7 @@ paths: required: - access_level examples: - default: &317 + default: &319 value: access_level: organization x-github: @@ -44837,15 +44878,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: application/json: - schema: *316 + schema: *318 examples: - default: *317 + default: *319 responses: '204': description: Response @@ -44869,8 +44910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44901,8 +44942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -44934,8 +44975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -44964,8 +45005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Success response @@ -45005,8 +45046,8 @@ paths: in: query schema: type: string - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -45050,8 +45091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -45083,8 +45124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -45157,8 +45198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -45194,8 +45235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -45225,8 +45266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': @@ -45256,8 +45297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '204': @@ -45283,8 +45324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': *60 @@ -45309,8 +45350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 requestBody: required: true @@ -45359,8 +45400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 requestBody: required: true @@ -45410,8 +45451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 responses: '200': *146 @@ -45441,8 +45482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *54 - *147 responses: @@ -45472,9 +45513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *290 - - *291 - - &335 + - *292 + - *293 + - &337 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -45482,7 +45523,7 @@ paths: required: false schema: type: string - - &336 + - &338 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45490,7 +45531,7 @@ paths: required: false schema: type: string - - &337 + - &339 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45499,7 +45540,7 @@ paths: required: false schema: type: string - - &338 + - &340 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -45526,7 +45567,7 @@ paths: - pending - *18 - *20 - - &339 + - &341 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -45535,7 +45576,7 @@ paths: schema: type: string format: date-time - - &318 + - &320 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45544,13 +45585,13 @@ paths: schema: type: boolean default: false - - &340 + - &342 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &341 + - &343 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45573,7 +45614,7 @@ paths: type: integer workflow_runs: type: array - items: &319 + items: &321 title: Workflow Run description: An invocation of a workflow type: object @@ -45668,7 +45709,7 @@ paths: that triggered the run. type: array nullable: true - items: &360 + items: &362 title: Pull Request Minimal type: object properties: @@ -45787,7 +45828,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &364 + properties: &366 id: type: string description: SHA for the commit @@ -45838,7 +45879,7 @@ paths: - name - email nullable: true - required: &365 + required: &367 - id - tree_id - message @@ -45885,7 +45926,7 @@ paths: - workflow_url - pull_requests examples: - default: &342 + default: &344 value: total_count: 1 workflow_runs: @@ -46121,24 +46162,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *290 - - *291 - - &320 + - *292 + - *293 + - &322 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &323 + default: &325 value: id: 30433642 name: Build @@ -46379,9 +46420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '204': description: Response @@ -46404,9 +46445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -46525,9 +46566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '201': description: Response @@ -46560,12 +46601,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 - *18 - *20 - - *321 + - *323 responses: '200': description: Response @@ -46581,9 +46622,9 @@ paths: type: integer artifacts: type: array - items: *307 + items: *309 examples: - default: *322 + default: *324 headers: Link: *39 x-github: @@ -46607,25 +46648,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *290 - - *291 - - *320 - - &324 + - *292 + - *293 + - *322 + - &326 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *318 + - *320 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *323 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46648,10 +46689,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *290 - - *291 - - *320 - - *324 + - *292 + - *293 + - *322 + - *326 - *18 - *20 responses: @@ -46669,9 +46710,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: &326 + default: &328 value: total_count: 1 jobs: @@ -46784,10 +46825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *290 - - *291 - - *320 - - *324 + - *292 + - *293 + - *322 + - *326 responses: '302': description: Response @@ -46815,9 +46856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '202': description: Response @@ -46850,9 +46891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: true content: @@ -46919,9 +46960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '202': description: Response @@ -46954,9 +46995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -46986,9 +47027,9 @@ paths: type: integer jobs: type: array - items: *325 + items: *327 examples: - default: *326 + default: *328 headers: Link: *39 x-github: @@ -47013,9 +47054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '302': description: Response @@ -47042,9 +47083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '204': description: Response @@ -47071,9 +47112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -47133,7 +47174,7 @@ paths: items: type: object properties: - type: &438 + type: &440 type: string description: The type of reviewer. enum: @@ -47218,9 +47259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: true content: @@ -47267,7 +47308,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47373,7 +47414,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &436 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47429,9 +47470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: false content: @@ -47475,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 requestBody: required: false content: @@ -47523,9 +47564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *290 - - *291 - - *320 + - *292 + - *293 + - *322 responses: '200': description: Response @@ -47662,8 +47703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -47681,9 +47722,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *39 x-github: @@ -47708,16 +47749,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47739,17 +47780,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &451 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47775,8 +47816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -47831,8 +47872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -47858,9 +47899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *290 - - *291 - - *314 + - *292 + - *293 + - *316 - *20 responses: '200': @@ -47877,9 +47918,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *39 x-github: @@ -47902,8 +47943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -47955,17 +47996,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &452 + default: &454 value: name: USERNAME value: octocat @@ -47991,8 +48032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 requestBody: required: true @@ -48035,8 +48076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 responses: '204': @@ -48062,8 +48103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -48081,7 +48122,7 @@ paths: type: integer workflows: type: array - items: &333 + items: &335 title: Workflow description: A GitHub Actions workflow type: object @@ -48188,9 +48229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *290 - - *291 - - &334 + - *292 + - *293 + - &336 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48205,7 +48246,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -48238,9 +48279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48265,9 +48306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48318,9 +48359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '204': description: Response @@ -48345,19 +48386,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *290 - - *291 - - *334 - - *335 + - *292 + - *293 - *336 - *337 - *338 - - *18 - - *20 - *339 - - *318 - *340 + - *18 + - *20 - *341 + - *320 + - *342 + - *343 responses: '200': description: Response @@ -48373,9 +48414,9 @@ paths: type: integer workflow_runs: type: array - items: *319 + items: *321 examples: - default: *342 + default: *344 headers: Link: *39 x-github: @@ -48401,9 +48442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *290 - - *291 - - *334 + - *292 + - *293 + - *336 responses: '200': description: Response @@ -48464,8 +48505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *290 - - *291 + - *292 + - *293 - *67 - *18 - *65 @@ -48629,8 +48670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -48667,8 +48708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *290 - - *291 + - *292 + - *293 - name: assignee in: path required: true @@ -48704,8 +48745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -48817,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *65 - *66 @@ -48862,7 +48903,7 @@ paths: repository_id: type: integer examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48882,8 +48923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -48891,7 +48932,7 @@ paths: application/json: schema: type: array - items: &344 + items: &346 title: Autolink reference description: An autolink reference. type: object @@ -48941,8 +48982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -48981,9 +49022,9 @@ paths: description: response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: id: 1 key_prefix: TICKET- @@ -49014,9 +49055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *290 - - *291 - - &346 + - *292 + - *293 + - &348 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49028,9 +49069,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *7 x-github: githubCloudOnly: false @@ -49050,9 +49091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *290 - - *291 - - *346 + - *292 + - *293 + - *348 responses: '204': description: Response @@ -49076,8 +49117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response if Dependabot is enabled @@ -49125,8 +49166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -49147,8 +49188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -49168,8 +49209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *290 - - *291 + - *292 + - *293 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49207,7 +49248,7 @@ paths: - url protected: type: boolean - protection: &348 + protection: &350 title: Branch Protection description: Branch Protection type: object @@ -49249,7 +49290,7 @@ paths: required: - contexts - checks - enforce_admins: &351 + enforce_admins: &353 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49264,7 +49305,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &353 + required_pull_request_reviews: &355 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49340,7 +49381,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &350 + restrictions: &352 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -49647,9 +49688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *290 - - *291 - - &349 + - *292 + - *293 + - &351 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -49663,14 +49704,14 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &406 + commit: &408 title: Commit description: Commit type: object @@ -49704,7 +49745,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &347 + properties: &349 name: type: string example: '"Chris Wanstrath"' @@ -49719,7 +49760,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true message: type: string @@ -49740,7 +49781,7 @@ paths: required: - sha - url - verification: &458 + verification: &460 title: Verification type: object properties: @@ -49806,7 +49847,7 @@ paths: type: integer files: type: array - items: &421 + items: &423 title: Diff Entry description: Diff Entry type: object @@ -49889,7 +49930,7 @@ paths: - self protected: type: boolean - protection: *348 + protection: *350 protection_url: type: string format: uri @@ -49995,7 +50036,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *304 + '301': *306 '404': *7 x-github: githubCloudOnly: false @@ -50017,15 +50058,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *348 + schema: *350 examples: default: value: @@ -50219,9 +50260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -50476,7 +50517,7 @@ paths: url: type: string format: uri - required_status_checks: &356 + required_status_checks: &358 title: Status Check Policy description: Status Check Policy type: object @@ -50628,7 +50669,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *350 + restrictions: *352 required_conversation_resolution: type: object properties: @@ -50740,9 +50781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -50767,17 +50808,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &352 + default: &354 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -50799,17 +50840,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50828,9 +50869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -50855,17 +50896,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: &354 + default: &356 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50961,9 +51002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51061,9 +51102,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 '422': *16 x-github: githubCloudOnly: false @@ -51084,9 +51125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51113,17 +51154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51146,17 +51187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 '404': *7 x-github: githubCloudOnly: false @@ -51176,9 +51217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51203,17 +51244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: &357 + default: &359 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51239,9 +51280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51293,9 +51334,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 '404': *7 '422': *16 x-github: @@ -51317,9 +51358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51343,9 +51384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51379,9 +51420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51448,9 +51489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -51514,9 +51555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: content: application/json: @@ -51582,15 +51623,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response content: application/json: - schema: *350 + schema: *352 examples: default: value: @@ -51681,9 +51722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '204': description: Response @@ -51706,9 +51747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51718,7 +51759,7 @@ paths: type: array items: *6 examples: - default: &358 + default: &360 value: - id: 1 slug: octoapp @@ -51775,9 +51816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51811,7 +51852,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51832,9 +51873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51868,7 +51909,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51889,9 +51930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -51925,7 +51966,7 @@ paths: type: array items: *6 examples: - default: *358 + default: *360 '422': *16 x-github: githubCloudOnly: false @@ -51947,9 +51988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -51979,9 +52020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -52040,9 +52081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: false content: @@ -52101,9 +52142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: content: application/json: @@ -52162,9 +52203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 responses: '200': description: Response @@ -52198,9 +52239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52258,9 +52299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52318,9 +52359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52380,9 +52421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 requestBody: required: true content: @@ -52404,7 +52445,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *361 examples: default: value: @@ -52519,8 +52560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -52799,7 +52840,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: CheckRun description: A check performed on the code of a given code change type: object @@ -52918,8 +52959,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *360 - deployment: &672 + items: *362 + deployment: &674 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53199,9 +53240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *290 - - *291 - - &362 + - *292 + - *293 + - &364 name: check_run_id description: The unique identifier of the check run. in: path @@ -53213,9 +53254,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: &363 + default: &365 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53315,9 +53356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 requestBody: required: true content: @@ -53557,9 +53598,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53579,9 +53620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 - *18 - *20 responses: @@ -53678,9 +53719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *290 - - *291 - - *362 + - *292 + - *293 + - *364 responses: '201': description: Response @@ -53724,8 +53765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -53747,7 +53788,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &366 + schema: &368 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -53810,7 +53851,7 @@ paths: nullable: true pull_requests: type: array - items: *360 + items: *362 nullable: true app: title: GitHub app @@ -53832,12 +53873,12 @@ paths: type: string format: date-time nullable: true - head_commit: &698 + head_commit: &700 title: Simple Commit description: A commit. type: object - properties: *364 - required: *365 + properties: *366 + required: *367 latest_check_runs_count: type: integer check_runs_url: @@ -53865,7 +53906,7 @@ paths: - check_runs_url - pull_requests examples: - default: &367 + default: &369 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54156,9 +54197,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54177,8 +54218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -54487,9 +54528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *290 - - *291 - - &368 + - *292 + - *293 + - &370 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -54501,9 +54542,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54526,17 +54567,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *290 - - *291 - - *368 - - &414 + - *292 + - *293 + - *370 + - &416 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &415 + - &417 name: status description: Returns check runs with the specified `status`. in: query @@ -54575,9 +54616,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: &416 + default: &418 value: total_count: 1 check_runs: @@ -54679,9 +54720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *290 - - *291 - - *368 + - *292 + - *293 + - *370 responses: '201': description: Response @@ -54714,21 +54755,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *162 - *163 - *20 - *18 - - &380 + - &382 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *369 - - &381 + schema: *371 + - &383 name: pr description: The number of the pull request for the results you want to list. in: query @@ -54759,7 +54800,7 @@ paths: be returned. in: query required: false - schema: *370 + schema: *372 responses: '200': description: Response @@ -54775,7 +54816,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *371 + instances_url: *373 state: *70 fixed_at: *83 dismissed_by: @@ -54786,11 +54827,11 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *372 - dismissed_comment: *373 - rule: *374 - tool: *375 - most_recent_instance: *376 + dismissed_reason: *374 + dismissed_comment: *375 + rule: *376 + tool: *377 + most_recent_instance: *378 required: - number - created_at @@ -54906,7 +54947,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &377 + '403': &379 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54933,9 +54974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *290 - - *291 - - &378 + - *292 + - *293 + - &380 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54949,7 +54990,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &381 type: object properties: number: *74 @@ -54957,7 +54998,7 @@ paths: updated_at: *81 url: *78 html_url: *79 - instances_url: *371 + instances_url: *373 state: *70 fixed_at: *83 dismissed_by: @@ -54968,8 +55009,8 @@ paths: required: *5 nullable: true dismissed_at: *82 - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *374 + dismissed_comment: *375 rule: type: object properties: @@ -55023,8 +55064,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *375 - most_recent_instance: *376 + tool: *377 + most_recent_instance: *378 required: - number - created_at @@ -55113,7 +55154,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55133,9 +55174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 requestBody: required: true content: @@ -55150,8 +55191,8 @@ paths: enum: - open - dismissed - dismissed_reason: *372 - dismissed_comment: *373 + dismissed_reason: *374 + dismissed_comment: *375 required: - state examples: @@ -55166,7 +55207,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -55241,7 +55282,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &386 + '403': &388 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55268,13 +55309,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 - *20 - *18 - - *380 - - *381 + - *382 + - *383 responses: '200': description: Response @@ -55282,7 +55323,7 @@ paths: application/json: schema: type: array - items: *376 + items: *378 examples: default: value: @@ -55321,7 +55362,7 @@ paths: end_column: 50 classifications: - source - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55355,25 +55396,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *162 - *163 - *20 - *18 - - *381 + - *383 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *369 + schema: *371 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &384 + schema: &386 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -55394,23 +55435,23 @@ paths: application/json: schema: type: array - items: &385 + items: &387 type: object properties: - ref: *369 - commit_sha: &394 + ref: *371 + commit_sha: &396 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *382 + analysis_key: *384 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *383 + category: *385 error: type: string example: error reading field xyz @@ -55434,8 +55475,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *384 - tool: *375 + sarif_id: *386 + tool: *377 deletable: type: boolean warning: @@ -55496,7 +55537,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55532,8 +55573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55546,7 +55587,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: response: summary: application/json response @@ -55600,7 +55641,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55682,8 +55723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55736,7 +55777,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *15 - '403': *386 + '403': *388 '404': *7 '503': *85 x-github: @@ -55758,8 +55799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -55767,7 +55808,7 @@ paths: application/json: schema: type: array - items: &387 + items: &389 title: CodeQL Database description: A CodeQL database. type: object @@ -55878,7 +55919,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55907,8 +55948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: language in: path description: The language of the CodeQL database. @@ -55920,7 +55961,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -55952,9 +55993,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &423 + '302': &425 description: Found - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -55982,8 +56023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -55992,7 +56033,7 @@ paths: type: object additionalProperties: false properties: - language: &388 + language: &390 type: string description: The language targeted by the CodeQL query enum: @@ -56070,7 +56111,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &392 + schema: &394 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56080,7 +56121,7 @@ paths: description: The ID of the variant analysis. controller_repo: *84 actor: *19 - query_language: *388 + query_language: *390 query_pack_url: type: string description: The download url for the query pack. @@ -56127,7 +56168,7 @@ paths: items: type: object properties: - repository: &389 + repository: &391 title: Repository Identifier description: Repository Identifier type: object @@ -56163,7 +56204,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &393 + analysis_status: &395 type: string description: The new status of the CodeQL variant analysis repository task. @@ -56195,7 +56236,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &390 + access_mismatch_repos: &392 type: object properties: repository_count: @@ -56209,7 +56250,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *389 + items: *391 required: - repository_count - repositories @@ -56231,8 +56272,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *390 - over_limit_repos: *390 + no_codeql_db_repos: *392 + over_limit_repos: *392 required: - access_mismatch_repos - not_found_repos @@ -56248,7 +56289,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &391 + value: &393 summary: Default response value: id: 1 @@ -56400,10 +56441,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *391 + value: *393 repository_lists: summary: Response for a successful variant analysis submission - value: *391 + value: *393 '404': *7 '422': description: Unable to process variant analysis submission @@ -56431,8 +56472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *290 - - *291 + - *292 + - *293 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -56444,9 +56485,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *391 + default: *393 '404': *7 '503': *85 x-github: @@ -56469,7 +56510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *290 + - *292 - name: repo in: path description: The name of the controller repository. @@ -56504,7 +56545,7 @@ paths: type: object properties: repository: *84 - analysis_status: *393 + analysis_status: *395 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -56629,8 +56670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -56691,7 +56732,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *377 + '403': *379 '404': *7 '503': *85 x-github: @@ -56712,8 +56753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -56783,7 +56824,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *386 + '403': *388 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -56848,8 +56889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -56857,7 +56898,7 @@ paths: schema: type: object properties: - commit_sha: *394 + commit_sha: *396 ref: type: string description: |- @@ -56915,7 +56956,7 @@ paths: schema: type: object properties: - id: *384 + id: *386 url: type: string description: The REST API URL for checking the status of the upload. @@ -56929,7 +56970,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *386 + '403': *388 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -56952,8 +56993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *290 - - *291 + - *292 + - *293 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56999,7 +57040,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *377 + '403': *379 '404': description: Not Found if the sarif id does not match any upload '503': *85 @@ -57024,8 +57065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57102,8 +57143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -57223,8 +57264,8 @@ paths: parameters: - *18 - *20 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57538,8 +57579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -57604,7 +57645,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -57612,7 +57653,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '400': *15 '401': *25 '403': *29 @@ -57641,8 +57682,8 @@ paths: parameters: - *18 - *20 - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -57706,8 +57747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57742,14 +57783,14 @@ paths: type: integer machines: type: array - items: &628 + items: &630 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *396 - required: *397 + properties: *398 + required: *399 examples: - default: &629 + default: &631 value: total_count: 2 machines: @@ -57789,8 +57830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57874,8 +57915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -57941,8 +57982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -57960,7 +58001,7 @@ paths: type: integer secrets: type: array - items: &401 + items: &403 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57980,7 +58021,7 @@ paths: - created_at - updated_at examples: - default: *398 + default: *400 headers: Link: *39 x-github: @@ -58003,16 +58044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58032,17 +58073,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58062,8 +58103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -58116,8 +58157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -58146,8 +58187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *290 - - *291 + - *292 + - *293 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -58189,7 +58230,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &403 + properties: &405 login: type: string example: octocat @@ -58282,7 +58323,7 @@ paths: user_view_type: type: string example: public - required: &404 + required: &406 - avatar_url - events_url - followers_url @@ -58356,8 +58397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '204': @@ -58400,8 +58441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 requestBody: required: false @@ -58428,7 +58469,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &471 + schema: &473 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -58650,8 +58691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '204': @@ -58681,8 +58722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *290 - - *291 + - *292 + - *293 - *161 responses: '200': @@ -58703,8 +58744,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *403 - required: *404 + properties: *405 + required: *406 nullable: true required: - permission @@ -58759,8 +58800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -58770,7 +58811,7 @@ paths: application/json: schema: type: array - items: &405 + items: &407 title: Commit Comment description: Commit Comment type: object @@ -58828,7 +58869,7 @@ paths: - created_at - updated_at examples: - default: &408 + default: &410 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58887,17 +58928,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: &409 + default: &411 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58954,8 +58995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -58978,7 +59019,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -59029,8 +59070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -59052,8 +59093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -59080,9 +59121,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -59103,8 +59144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -59137,16 +59178,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -59168,10 +59209,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -59219,8 +59260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *290 - - *291 + - *292 + - *293 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -59276,9 +59317,9 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: - default: &522 + default: &524 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59371,9 +59412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *290 - - *291 - - &407 + - *292 + - *293 + - &409 name: commit_sha description: The SHA of the commit. in: path @@ -59445,9 +59486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 - *18 - *20 responses: @@ -59457,9 +59498,9 @@ paths: application/json: schema: type: array - items: *405 + items: *407 examples: - default: *408 + default: *410 headers: Link: *39 x-github: @@ -59487,9 +59528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 requestBody: required: true content: @@ -59524,9 +59565,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *409 + default: *411 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59554,9 +59595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 - *18 - *20 responses: @@ -59566,7 +59607,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Pull Request Simple description: Pull Request Simple type: object @@ -59672,8 +59713,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true active_lock_reason: type: string @@ -59769,7 +59810,7 @@ paths: _links: type: object properties: - comments: &412 + comments: &414 title: Link description: Hypermedia Link type: object @@ -59778,13 +59819,13 @@ paths: type: string required: - href - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + commits: *414 + statuses: *414 + html: *414 + issue: *414 + review_comments: *414 + review_comment: *414 + self: *414 required: - comments - commits @@ -59795,7 +59836,7 @@ paths: - review_comment - self author_association: *91 - auto_merge: &515 + auto_merge: &517 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59858,7 +59899,7 @@ paths: - author_association - auto_merge examples: - default: &513 + default: &515 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -60394,11 +60435,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 - - &413 + - &415 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -60413,9 +60454,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &499 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60527,11 +60568,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *290 - - *291 - - *413 - - *414 + - *292 + - *293 - *415 + - *416 + - *417 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -60565,9 +60606,9 @@ paths: type: integer check_runs: type: array - items: *361 + items: *363 examples: - default: *416 + default: *418 headers: Link: *39 x-github: @@ -60592,9 +60633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -60602,7 +60643,7 @@ paths: schema: type: integer example: 1 - - *414 + - *416 - *18 - *20 responses: @@ -60620,7 +60661,7 @@ paths: type: integer check_suites: type: array - items: *366 + items: *368 examples: default: value: @@ -60820,9 +60861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - *18 - *20 responses: @@ -61020,9 +61061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *290 - - *291 - - *413 + - *292 + - *293 + - *415 - *18 - *20 responses: @@ -61032,7 +61073,7 @@ paths: application/json: schema: type: array - items: &576 + items: &578 title: Status description: The status of a commit. type: object @@ -61113,7 +61154,7 @@ paths: site_admin: false headers: Link: *39 - '301': *304 + '301': *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61141,8 +61182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -61171,20 +61212,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *417 - required: *418 + properties: *419 + required: *420 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &419 + properties: &421 url: type: string format: uri html_url: type: string format: uri - required: &420 + required: &422 - url - html_url nullable: true @@ -61198,26 +61239,26 @@ paths: contributing: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true readme: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true issue_template: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true pull_request_template: title: Community Health File type: object - properties: *419 - required: *420 + properties: *421 + required: *422 nullable: true required: - code_of_conduct @@ -61343,8 +61384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 - name: basehead @@ -61387,8 +61428,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *406 - merge_base_commit: *406 + base_commit: *408 + merge_base_commit: *408 status: type: string enum: @@ -61408,10 +61449,10 @@ paths: example: 6 commits: type: array - items: *406 + items: *408 files: type: array - items: *421 + items: *423 required: - url - html_url @@ -61694,8 +61735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -61836,7 +61877,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &422 + response-if-content-is-a-file: &424 summary: Response if content is a file value: type: file @@ -61968,7 +62009,7 @@ paths: - size - type - url - - &527 + - &529 title: Content File description: Content File type: object @@ -62169,7 +62210,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *422 + response-if-content-is-a-file: *424 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -62238,7 +62279,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *423 + '302': *425 '304': *37 x-github: githubCloudOnly: false @@ -62261,8 +62302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -62355,7 +62396,7 @@ paths: description: Response content: application/json: - schema: &424 + schema: &426 title: File Commit description: File Commit type: object @@ -62503,7 +62544,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: example-for-creating-a-file: value: @@ -62556,7 +62597,7 @@ paths: schema: oneOf: - *3 - - &453 + - &455 description: Repository rule violation was detected type: object properties: @@ -62577,7 +62618,7 @@ paths: items: type: object properties: - placeholder_id: &569 + placeholder_id: &571 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -62609,8 +62650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *290 - - *291 + - *292 + - *293 - name: path description: path parameter in: path @@ -62671,7 +62712,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -62725,8 +62766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *290 - - *291 + - *292 + - *293 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62849,8 +62890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *180 - *181 - *182 @@ -62891,7 +62932,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 type: object description: A Dependabot alert. properties: @@ -62924,7 +62965,7 @@ paths: enum: - development - runtime - security_advisory: *425 + security_advisory: *427 security_vulnerability: *77 url: *78 html_url: *79 @@ -62955,7 +62996,7 @@ paths: nullable: true maxLength: 280 fixed_at: *83 - auto_dismissed_at: *426 + auto_dismissed_at: *428 required: - number - state @@ -63182,9 +63223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *290 - - *291 - - &428 + - *292 + - *293 + - &430 name: alert_number in: path description: |- @@ -63199,7 +63240,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: default: value: @@ -63309,9 +63350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *290 - - *291 - - *428 + - *292 + - *293 + - *430 requestBody: required: true content: @@ -63356,7 +63397,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: default: value: @@ -63485,8 +63526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -63504,7 +63545,7 @@ paths: type: integer secrets: type: array - items: &431 + items: &433 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -63557,16 +63598,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63586,15 +63627,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -63620,8 +63661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 requestBody: required: true @@ -63674,8 +63715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *290 - - *291 + - *292 + - *293 - *149 responses: '204': @@ -63698,8 +63739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *290 - - *291 + - *292 + - *293 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -63859,8 +63900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -64063,8 +64104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -64139,7 +64180,7 @@ paths: - version - url additionalProperties: false - metadata: &432 + metadata: &434 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -64172,7 +64213,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *432 + metadata: *434 resolved: type: object description: A collection of resolved package dependencies. @@ -64185,7 +64226,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *432 + metadata: *434 relationship: type: string description: A notation of whether a dependency is requested @@ -64314,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *290 - - *291 + - *292 + - *293 - name: sha description: The SHA recorded at creation time. in: query @@ -64355,9 +64396,9 @@ paths: application/json: schema: type: array - items: *433 + items: *435 examples: - default: *434 + default: *436 headers: Link: *39 x-github: @@ -64423,8 +64464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -64505,7 +64546,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: simple-example: summary: Simple example @@ -64578,9 +64619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *290 - - *291 - - &435 + - *292 + - *293 + - &437 name: deployment_id description: deployment_id parameter in: path @@ -64592,7 +64633,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *435 examples: default: value: @@ -64657,9 +64698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 responses: '204': description: Response @@ -64681,9 +64722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 - *18 - *20 responses: @@ -64693,7 +64734,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Deployment Status description: The status of a deployment. type: object @@ -64854,9 +64895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 requestBody: required: true content: @@ -64931,9 +64972,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: &437 + default: &439 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64989,9 +65030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *290 - - *291 - - *435 + - *292 + - *293 + - *437 - name: status_id in: path required: true @@ -65002,9 +65043,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *437 + default: *439 '404': *7 x-github: githubCloudOnly: false @@ -65029,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -65086,8 +65127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -65104,7 +65145,7 @@ paths: type: integer environments: type: array - items: &439 + items: &441 title: Environment description: Details of a deployment environment type: object @@ -65156,7 +65197,7 @@ paths: type: type: string example: wait_timer - wait_timer: &441 + wait_timer: &443 type: integer example: 30 description: The amount of time to delay a job after @@ -65193,7 +65234,7 @@ paths: items: type: object properties: - type: *438 + type: *440 reviewer: anyOf: - *19 @@ -65217,7 +65258,7 @@ paths: - id - node_id - type - deployment_branch_policy: &442 + deployment_branch_policy: &444 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -65333,9 +65374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *290 - - *291 - - &440 + - *292 + - *293 + - &442 name: environment_name in: path required: true @@ -65348,9 +65389,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &443 + default: &445 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -65434,9 +65475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: false content: @@ -65445,7 +65486,7 @@ paths: type: object nullable: true properties: - wait_timer: *441 + wait_timer: *443 prevent_self_review: type: boolean example: false @@ -65462,13 +65503,13 @@ paths: items: type: object properties: - type: *438 + type: *440 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *442 + deployment_branch_policy: *444 additionalProperties: false examples: default: @@ -65488,9 +65529,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *443 + default: *445 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -65514,9 +65555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 responses: '204': description: Default response @@ -65541,9 +65582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *18 - *20 responses: @@ -65561,7 +65602,7 @@ paths: example: 2 branch_policies: type: array - items: &444 + items: &446 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65618,9 +65659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: true content: @@ -65666,9 +65707,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - example-wildcard: &445 + example-wildcard: &447 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65710,10 +65751,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - &446 + - *292 + - *293 + - *442 + - &448 name: branch_policy_id in: path required: true @@ -65725,9 +65766,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65746,10 +65787,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - *446 + - *292 + - *293 + - *442 + - *448 requestBody: required: true content: @@ -65777,9 +65818,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65798,10 +65839,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *290 - - *291 - - *440 - - *446 + - *292 + - *293 + - *442 + - *448 responses: '204': description: Response @@ -65826,9 +65867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 responses: '200': description: List of deployment protection rules @@ -65844,7 +65885,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &447 + items: &449 title: Deployment protection rule description: Deployment protection rule type: object @@ -65863,7 +65904,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &448 + app: &450 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65962,9 +66003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 requestBody: content: application/json: @@ -65985,9 +66026,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *447 + schema: *449 examples: - default: &449 + default: &451 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -66022,9 +66063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *440 - - *291 - - *290 + - *442 + - *293 + - *292 - *20 - *18 responses: @@ -66043,7 +66084,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *448 + items: *450 examples: default: value: @@ -66078,10 +66119,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *290 - - *291 - - *440 - - &450 + - *292 + - *293 + - *442 + - &452 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -66093,9 +66134,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *449 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66116,10 +66157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *440 - - *291 - - *290 - - *450 + - *442 + - *293 + - *292 + - *452 responses: '204': description: Response @@ -66145,9 +66186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *18 - *20 responses: @@ -66165,9 +66206,9 @@ paths: type: integer secrets: type: array - items: *327 + items: *329 examples: - default: *328 + default: *330 headers: Link: *39 x-github: @@ -66192,17 +66233,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 responses: '200': description: Response content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66224,18 +66265,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66257,9 +66298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 requestBody: required: true @@ -66317,9 +66358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *149 responses: '204': @@ -66345,10 +66386,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *290 - - *291 - - *440 - - *314 + - *292 + - *293 + - *442 + - *316 - *20 responses: '200': @@ -66365,9 +66406,9 @@ paths: type: integer variables: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *39 x-github: @@ -66390,9 +66431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 requestBody: required: true content: @@ -66444,18 +66485,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *290 - - *291 - - *440 + - *292 + - *293 + - *442 - *152 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *452 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66476,10 +66517,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 - - *440 + - *442 requestBody: required: true content: @@ -66521,10 +66562,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *290 - - *291 + - *292 + - *293 - *152 - - *440 + - *442 responses: '204': description: Response @@ -66546,8 +66587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -66624,8 +66665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *290 - - *291 + - *292 + - *293 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66784,8 +66825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -66817,9 +66858,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 '400': *15 '422': *16 '403': *29 @@ -66840,8 +66881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -66901,7 +66942,7 @@ paths: schema: oneOf: - *124 - - *453 + - *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66926,8 +66967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *290 - - *291 + - *292 + - *293 - name: file_sha in: path required: true @@ -67025,8 +67066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67135,7 +67176,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -67343,15 +67384,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *290 - - *291 - - *407 + - *292 + - *293 + - *409 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: default: value: @@ -67406,9 +67447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *290 - - *291 - - &455 + - *292 + - *293 + - &457 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -67425,7 +67466,7 @@ paths: application/json: schema: type: array - items: &456 + items: &458 title: Git Reference description: Git references within a repository type: object @@ -67500,17 +67541,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 responses: '200': description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &457 + default: &459 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -67539,8 +67580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67569,9 +67610,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *457 + default: *459 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67597,9 +67638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 requestBody: required: true content: @@ -67628,9 +67669,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *457 + default: *459 '422': *16 '409': *126 x-github: @@ -67648,9 +67689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *290 - - *291 - - *455 + - *292 + - *293 + - *457 responses: '204': description: Response @@ -67702,8 +67743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -67770,7 +67811,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: Git Tag description: Metadata for a Git tag type: object @@ -67821,7 +67862,7 @@ paths: - sha - type - url - verification: *458 + verification: *460 required: - sha - url @@ -67831,7 +67872,7 @@ paths: - tag - message examples: - default: &460 + default: &462 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67902,8 +67943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *290 - - *291 + - *292 + - *293 - name: tag_sha in: path required: true @@ -67914,9 +67955,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 '404': *7 '409': *126 x-github: @@ -67940,8 +67981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -68014,7 +68055,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &463 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -68126,8 +68167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *290 - - *291 + - *292 + - *293 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -68150,7 +68191,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default-response: summary: Default response @@ -68209,8 +68250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -68220,7 +68261,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Webhook description: Webhooks for repositories. type: object @@ -68274,7 +68315,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &706 + last_response: &708 title: Hook Response type: object properties: @@ -68348,8 +68389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -68401,9 +68442,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &463 + default: &465 value: type: Repository id: 12345678 @@ -68451,17 +68492,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '404': *7 x-github: githubCloudOnly: false @@ -68481,8 +68522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 requestBody: required: true @@ -68528,9 +68569,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *463 + default: *465 '422': *16 '404': *7 x-github: @@ -68548,8 +68589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68574,8 +68615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '200': @@ -68603,8 +68644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *195 requestBody: required: false @@ -68649,8 +68690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *18 - *196 @@ -68687,8 +68728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *17 responses: @@ -68717,8 +68758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 - *17 responses: @@ -68742,8 +68783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68769,8 +68810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *290 - - *291 + - *292 + - *293 - *195 responses: '204': @@ -68829,14 +68870,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &464 + schema: &466 title: Import description: A repository import from an external source. type: object @@ -68935,7 +68976,7 @@ paths: - html_url - authors_url examples: - default: &467 + default: &469 value: vcs: subversion use_lfs: true @@ -68951,7 +68992,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &465 + '503': &467 description: Unavailable due to service under maintenance. content: application/json: @@ -68980,8 +69021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -69029,7 +69070,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -69054,7 +69095,7 @@ paths: type: string '422': *16 '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69082,8 +69123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -69132,7 +69173,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: example-1: summary: Example 1 @@ -69180,7 +69221,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69203,12 +69244,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69234,9 +69275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *290 - - *291 - - &652 + - *292 + - *293 + - &654 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -69250,7 +69291,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Porter Author description: Porter Author type: object @@ -69304,7 +69345,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69329,8 +69370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *290 - - *291 + - *292 + - *293 - name: author_id in: path required: true @@ -69360,7 +69401,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -69373,7 +69414,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69397,8 +69438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69439,7 +69480,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69467,8 +69508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -69495,11 +69536,11 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *467 + default: *469 '422': *16 - '503': *465 + '503': *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69522,8 +69563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69531,8 +69572,8 @@ paths: application/json: schema: *22 examples: - default: *468 - '301': *304 + default: *470 + '301': *306 '404': *7 x-github: githubCloudOnly: false @@ -69552,8 +69593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -69566,7 +69607,7 @@ paths: properties: {} additionalProperties: false examples: - default: &470 + default: &472 value: limit: collaborators_only origin: repository @@ -69591,13 +69632,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: application/json: - schema: *469 + schema: *471 examples: default: summary: Example request body @@ -69611,7 +69652,7 @@ paths: application/json: schema: *202 examples: - default: *470 + default: *472 '409': description: Response x-github: @@ -69633,8 +69674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -69657,8 +69698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -69668,9 +69709,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: &645 + default: &647 value: - id: 1 repository: @@ -69801,8 +69842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *290 - - *291 + - *292 + - *293 - *206 requestBody: required: false @@ -69832,7 +69873,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *473 examples: default: value: @@ -69963,8 +70004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *290 - - *291 + - *292 + - *293 - *206 responses: '204': @@ -69996,8 +70037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *290 - - *291 + - *292 + - *293 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -70210,7 +70251,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *304 + '301': *306 '422': *16 '404': *7 x-github: @@ -70239,8 +70280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -70317,7 +70358,7 @@ paths: application/json: schema: *104 examples: - default: &477 + default: &479 value: id: 1 node_id: MDU6SXNzdWUx @@ -70473,7 +70514,7 @@ paths: '422': *16 '503': *85 '404': *7 - '410': *301 + '410': *303 x-github: triggersNotification: true githubCloudOnly: false @@ -70501,8 +70542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *114 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -70523,9 +70564,9 @@ paths: application/json: schema: type: array - items: *472 + items: *474 examples: - default: &479 + default: &481 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70583,17 +70624,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: &473 + default: &475 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70647,8 +70688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -70671,9 +70712,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 '422': *16 x-github: githubCloudOnly: false @@ -70691,8 +70732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -70713,8 +70754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -70741,9 +70782,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -70764,8 +70805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -70798,16 +70839,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -70829,10 +70870,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -70852,8 +70893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -70863,7 +70904,7 @@ paths: application/json: schema: type: array - items: &476 + items: &478 title: Issue Event description: Issue Event type: object @@ -70906,8 +70947,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *474 - required: *475 + properties: *476 + required: *477 nullable: true label: title: Issue Event Label @@ -71214,8 +71255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *290 - - *291 + - *292 + - *293 - name: event_id in: path required: true @@ -71226,7 +71267,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -71419,7 +71460,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *301 + '410': *303 '403': *29 x-github: githubCloudOnly: false @@ -71453,9 +71494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *290 - - *291 - - &478 + - *292 + - *293 + - &480 name: issue_number description: The number that identifies the issue. in: path @@ -71469,10 +71510,10 @@ paths: application/json: schema: *104 examples: - default: *477 - '301': *304 + default: *479 + '301': *306 '404': *7 - '410': *301 + '410': *303 '304': *37 x-github: githubCloudOnly: false @@ -71497,9 +71538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -71596,13 +71637,13 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 '422': *16 '503': *85 '403': *29 - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71620,9 +71661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -71650,7 +71691,7 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71666,9 +71707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: content: application/json: @@ -71695,7 +71736,7 @@ paths: application/json: schema: *104 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71717,9 +71758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: assignee in: path required: true @@ -71759,9 +71800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *94 - *18 - *20 @@ -71772,13 +71813,13 @@ paths: application/json: schema: type: array - items: *472 + items: *474 examples: - default: *479 + default: *481 headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71807,9 +71848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: true content: @@ -71831,16 +71872,16 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *301 + '410': *303 '422': *16 '404': *7 x-github: @@ -71860,9 +71901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -71876,7 +71917,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &482 + - &484 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71930,7 +71971,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &483 + - &485 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -72066,7 +72107,7 @@ paths: - performed_via_github_app - assignee - assigner - - &484 + - &486 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -72117,7 +72158,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &487 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -72168,7 +72209,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &486 + - &488 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -72222,7 +72263,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &489 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -72269,7 +72310,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &490 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -72316,7 +72357,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &491 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -72376,7 +72417,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &492 title: Locked Issue Event description: Locked Issue Event type: object @@ -72424,7 +72465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &493 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -72490,7 +72531,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &494 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72556,7 +72597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &495 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72622,7 +72663,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &496 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72713,7 +72754,7 @@ paths: color: red headers: Link: *39 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72730,9 +72771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -72742,7 +72783,7 @@ paths: application/json: schema: type: array - items: &480 + items: &482 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72789,7 +72830,7 @@ paths: - color - default examples: - default: &481 + default: &483 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72807,9 +72848,9 @@ paths: default: false headers: Link: *39 - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72826,9 +72867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -72887,12 +72928,12 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 - '301': *304 + default: *483 + '301': *306 '404': *7 - '410': *301 + '410': *303 '422': *16 x-github: githubCloudOnly: false @@ -72909,9 +72950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -72971,12 +73012,12 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 - '301': *304 + default: *483 + '301': *306 '404': *7 - '410': *301 + '410': *303 '422': *16 x-github: githubCloudOnly: false @@ -72993,15 +73034,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 responses: '204': description: Response - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73020,9 +73061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: name in: path required: true @@ -73035,7 +73076,7 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: default: value: @@ -73046,9 +73087,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *304 + '301': *306 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73068,9 +73109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: false content: @@ -73098,7 +73139,7 @@ paths: '204': description: Response '403': *29 - '410': *301 + '410': *303 '404': *7 '422': *16 x-github: @@ -73116,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 responses: '204': description: Response @@ -73140,9 +73181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -73168,13 +73209,13 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73192,9 +73233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 requestBody: required: true content: @@ -73226,16 +73267,16 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -73257,10 +73298,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *290 - - *291 - - *478 - - *282 + - *292 + - *293 + - *480 + - *284 responses: '204': description: Response @@ -73280,9 +73321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *290 - - *291 - - *478 + - *292 + - *293 + - *480 - *18 - *20 responses: @@ -73297,8 +73338,6 @@ paths: description: Timeline Event type: object anyOf: - - *482 - - *483 - *484 - *485 - *486 @@ -73310,6 +73349,8 @@ paths: - *492 - *493 - *494 + - *495 + - *496 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73610,7 +73651,7 @@ paths: type: string comments: type: array - items: &516 + items: &518 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73819,7 +73860,7 @@ paths: type: string comments: type: array - items: *405 + items: *407 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -74108,7 +74149,7 @@ paths: headers: Link: *39 '404': *7 - '410': *301 + '410': *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74125,8 +74166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -74136,7 +74177,7 @@ paths: application/json: schema: type: array - items: &495 + items: &497 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -74198,8 +74239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74235,9 +74276,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: &496 + default: &498 value: id: 1 key: ssh-rsa AAA... @@ -74270,9 +74311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *290 - - *291 - - &497 + - *292 + - *293 + - &499 name: key_id description: The unique identifier of the key. in: path @@ -74284,9 +74325,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *7 x-github: githubCloudOnly: false @@ -74304,9 +74345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *290 - - *291 - - *497 + - *292 + - *293 + - *499 responses: '204': description: Response @@ -74326,8 +74367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -74337,9 +74378,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 + default: *483 headers: Link: *39 '404': *7 @@ -74360,8 +74401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74397,9 +74438,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: &498 + default: &500 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74431,8 +74472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74443,9 +74484,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *498 + default: *500 '404': *7 x-github: githubCloudOnly: false @@ -74462,8 +74503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74502,7 +74543,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: default: value: @@ -74528,8 +74569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *290 - - *291 + - *292 + - *293 - name: name in: path required: true @@ -74555,8 +74596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -74592,8 +74633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '202': *127 '403': @@ -74621,8 +74662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -74648,9 +74689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *290 - - *291 - - *380 + - *292 + - *293 + - *382 responses: '200': description: Response @@ -74795,8 +74836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74861,8 +74902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -74896,9 +74937,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *406 + schema: *408 examples: - default: *499 + default: *501 '204': description: Response when already merged '404': @@ -74923,8 +74964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74965,12 +75006,12 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 examples: default: value: @@ -75026,8 +75067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75067,9 +75108,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -75128,9 +75169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *290 - - *291 - - &502 + - *292 + - *293 + - &504 name: milestone_number description: The number that identifies the milestone. in: path @@ -75142,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *7 x-github: githubCloudOnly: false @@ -75161,9 +75202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 requestBody: required: false content: @@ -75201,9 +75242,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75219,9 +75260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 responses: '204': description: Response @@ -75242,9 +75283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *290 - - *291 - - *502 + - *292 + - *293 + - *504 - *18 - *20 responses: @@ -75254,9 +75295,9 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: - default: *481 + default: *483 headers: Link: *39 x-github: @@ -75275,12 +75316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *290 - - *291 - - *503 - - *504 - - *94 + - *292 + - *293 - *505 + - *506 + - *94 + - *507 - *18 - *20 responses: @@ -75292,7 +75333,7 @@ paths: type: array items: *117 examples: - default: *506 + default: *508 headers: Link: *39 x-github: @@ -75316,8 +75357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -75375,14 +75416,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: &507 + schema: &509 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75507,7 +75548,7 @@ paths: - custom_404 - public examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75548,8 +75589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75603,9 +75644,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 '422': *16 '409': *126 x-github: @@ -75628,8 +75669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -75736,8 +75777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -75763,8 +75804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -75774,7 +75815,7 @@ paths: application/json: schema: type: array - items: &509 + items: &511 title: Page Build description: Page Build type: object @@ -75868,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *290 - - *291 + - *292 + - *293 responses: '201': description: Response @@ -75914,16 +75955,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75971,8 +76012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *290 - - *291 + - *292 + - *293 - name: build_id in: path required: true @@ -75983,9 +76024,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76005,8 +76046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76112,9 +76153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *290 - - *291 - - &511 + - *292 + - *293 + - &513 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -76172,9 +76213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *290 - - *291 - - *511 + - *292 + - *293 + - *513 responses: '204': *170 '404': *7 @@ -76201,8 +76242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -76460,8 +76501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Private vulnerability reporting status @@ -76498,8 +76539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': *170 '422': *15 @@ -76520,8 +76561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': *170 '422': *15 @@ -76544,8 +76585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: Indicates the state of the projects to return. in: query @@ -76606,7 +76647,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -76626,8 +76667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76655,11 +76696,11 @@ paths: application/json: schema: *236 examples: - default: *300 + default: *302 '401': *25 '403': *29 '404': *7 - '410': *301 + '410': *303 '422': *8 x-github: githubCloudOnly: false @@ -76679,8 +76720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -76719,8 +76760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76782,8 +76823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *290 - - *291 + - *292 + - *293 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76843,9 +76884,9 @@ paths: application/json: schema: type: array - items: *512 + items: *514 examples: - default: *513 + default: *515 headers: Link: *39 '304': *37 @@ -76877,8 +76918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -76943,7 +76984,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &520 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -77054,8 +77095,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true active_lock_reason: type: string @@ -77100,7 +77141,7 @@ paths: nullable: true requested_teams: type: array - items: *514 + items: *516 nullable: true head: type: object @@ -78020,14 +78061,14 @@ paths: _links: type: object properties: - comments: *412 - commits: *412 - statuses: *412 - html: *412 - issue: *412 - review_comments: *412 - review_comment: *412 - self: *412 + comments: *414 + commits: *414 + statuses: *414 + html: *414 + issue: *414 + review_comments: *414 + review_comment: *414 + self: *414 required: - comments - commits @@ -78038,7 +78079,7 @@ paths: - review_comment - self author_association: *91 - auto_merge: *515 + auto_merge: *517 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -78130,7 +78171,7 @@ paths: - merged_by - review_comments examples: - default: &519 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78657,8 +78698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: sort in: query required: false @@ -78687,9 +78728,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: &521 + default: &523 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78766,17 +78807,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '200': description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: &517 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -78851,8 +78892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -78875,9 +78916,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78893,8 +78934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 + - *292 + - *293 - *103 responses: '204': @@ -78916,8 +78957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78944,9 +78985,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -78967,8 +79008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *290 - - *291 + - *292 + - *293 - *103 requestBody: required: true @@ -79001,16 +79042,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -79032,10 +79073,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *290 - - *291 + - *292 + - *293 - *103 - - *282 + - *284 responses: '204': description: Response @@ -79078,9 +79119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *290 - - *291 - - &520 + - *292 + - *293 + - &522 name: pull_number description: The number that identifies the pull request. in: path @@ -79093,9 +79134,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '304': *37 '404': *7 '406': @@ -79130,9 +79171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -79174,9 +79215,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '422': *16 '403': *29 x-github: @@ -79198,9 +79239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -79262,7 +79303,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -79270,7 +79311,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -79300,9 +79341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *114 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79323,9 +79364,9 @@ paths: application/json: schema: type: array - items: *516 + items: *518 examples: - default: *521 + default: *523 headers: Link: *39 x-github: @@ -79358,9 +79399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -79465,7 +79506,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: example-for-a-multi-line-comment: value: @@ -79553,9 +79594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *103 requestBody: required: true @@ -79578,7 +79619,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -79664,9 +79705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -79676,9 +79717,9 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: - default: *522 + default: *524 headers: Link: *39 x-github: @@ -79708,9 +79749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -79720,7 +79761,7 @@ paths: application/json: schema: type: array - items: *421 + items: *423 examples: default: value: @@ -79758,9 +79799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 responses: '204': description: Response if pull request has been merged @@ -79783,9 +79824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -79896,9 +79937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 responses: '200': description: Response @@ -79973,9 +80014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -80012,7 +80053,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -80548,9 +80589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: true content: @@ -80584,7 +80625,7 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: default: value: @@ -81089,9 +81130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 - *18 - *20 responses: @@ -81101,7 +81142,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81252,9 +81293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -81340,9 +81381,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &525 + default: &527 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81405,10 +81446,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - &524 + - *292 + - *293 + - *522 + - &526 name: review_id description: The unique identifier of the review. in: path @@ -81420,9 +81461,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &526 + default: &528 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -81481,10 +81522,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81507,7 +81548,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -81569,18 +81610,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 responses: '200': description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *525 + default: *527 '422': *8 '404': *7 x-github: @@ -81607,10 +81648,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 - *18 - *20 responses: @@ -81693,9 +81734,9 @@ paths: _links: type: object properties: - self: *412 - html: *412 - pull_request: *412 + self: *414 + html: *414 + pull_request: *414 required: - self - html @@ -81838,10 +81879,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81869,7 +81910,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -81932,10 +81973,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *290 - - *291 - - *520 - - *524 + - *292 + - *293 + - *522 + - *526 requestBody: required: true content: @@ -81970,9 +82011,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *526 + default: *528 '404': *7 '422': *8 '403': *29 @@ -81994,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *290 - - *291 - - *520 + - *292 + - *293 + - *522 requestBody: required: false content: @@ -82059,8 +82100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *290 - - *291 + - *292 + - *293 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82073,9 +82114,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: &528 + default: &530 value: type: file encoding: base64 @@ -82117,8 +82158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *290 - - *291 + - *292 + - *293 - name: dir description: The alternate path to look for a README file in: path @@ -82138,9 +82179,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 '404': *7 '422': *16 x-github: @@ -82162,8 +82203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -82173,7 +82214,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Release description: A release. type: object @@ -82236,7 +82277,7 @@ paths: author: *19 assets: type: array - items: &530 + items: &532 title: Release Asset description: Data related to a release. type: object @@ -82417,8 +82458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -82494,9 +82535,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -82597,9 +82638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *290 - - *291 - - &531 + - *292 + - *293 + - &533 name: asset_id description: The unique identifier of the asset. in: path @@ -82611,9 +82652,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &532 + default: &534 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -82647,7 +82688,7 @@ paths: type: User site_admin: false '404': *7 - '302': *423 + '302': *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82663,9 +82704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *290 - - *291 - - *531 + - *292 + - *293 + - *533 requestBody: required: false content: @@ -82693,9 +82734,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82711,9 +82752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *290 - - *291 - - *531 + - *292 + - *293 + - *533 responses: '204': description: Response @@ -82737,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -82823,16 +82864,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82849,8 +82890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *290 - - *291 + - *292 + - *293 - name: tag description: tag parameter in: path @@ -82863,9 +82904,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '404': *7 x-github: githubCloudOnly: false @@ -82887,9 +82928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *290 - - *291 - - &534 + - *292 + - *293 + - &536 name: release_id description: The unique identifier of the release. in: path @@ -82903,9 +82944,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '401': description: Unauthorized x-github: @@ -82923,9 +82964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 requestBody: required: false content: @@ -82989,9 +83030,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: - default: *533 + default: *535 '404': description: Not Found if the discussion category name is invalid content: @@ -83012,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 responses: '204': description: Response @@ -83034,9 +83075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - *18 - *20 responses: @@ -83046,7 +83087,7 @@ paths: application/json: schema: type: array - items: *530 + items: *532 examples: default: value: @@ -83127,9 +83168,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - name: name in: query required: true @@ -83155,7 +83196,7 @@ paths: description: Response for successful upload content: application/json: - schema: *530 + schema: *532 examples: response-for-successful-upload: value: @@ -83209,9 +83250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -83235,9 +83276,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 '404': *7 @@ -83258,9 +83299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *290 - - *291 - - *534 + - *292 + - *293 + - *536 requestBody: required: true content: @@ -83290,16 +83331,16 @@ paths: description: Reaction exists content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '201': description: Reaction created content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 '422': *16 x-github: githubCloudOnly: false @@ -83321,10 +83362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *290 - - *291 - - *534 - - *282 + - *292 + - *293 + - *536 + - *284 responses: '204': description: Response @@ -83348,9 +83389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *290 - - *291 - - *349 + - *292 + - *293 + - *351 - *18 - *20 responses: @@ -83366,8 +83407,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *535 - - &537 + - *537 + - &539 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83386,54 +83427,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *536 - - *537 - allOf: - *538 - - *537 - - allOf: - *539 - - *537 - allOf: - *540 - - *537 + - *539 - allOf: - *541 - - *537 + - *539 - allOf: - *542 - - *537 + - *539 - allOf: - *543 - - *537 + - *539 - allOf: - *544 - - *537 + - *539 - allOf: - *545 - - *537 + - *539 - allOf: - *546 - - *537 + - *539 - allOf: - *547 - - *537 + - *539 - allOf: - *548 - - *537 + - *539 - allOf: - *549 - - *537 + - *539 - allOf: - *550 - - *537 + - *539 - allOf: - *551 - - *537 + - *539 - allOf: - *552 - - *537 + - *539 + - allOf: + - *553 + - *539 + - allOf: + - *554 + - *539 examples: default: value: @@ -83472,8 +83513,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 - name: includes_parents @@ -83484,7 +83525,7 @@ paths: schema: type: boolean default: true - - *553 + - *555 responses: '200': description: Response @@ -83539,8 +83580,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 requestBody: description: Request body required: true @@ -83602,7 +83643,7 @@ paths: application/json: schema: *253 examples: - default: &563 + default: &565 value: id: 42 name: super cool ruleset @@ -83649,12 +83690,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *290 - - *291 - - *554 - - *555 + - *292 + - *293 - *556 - *557 + - *558 + - *559 - *18 - *20 responses: @@ -83662,9 +83703,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *7 '500': *73 x-github: @@ -83685,17 +83726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *290 - - *291 - - *560 + - *292 + - *293 + - *562 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 '404': *7 '500': *73 x-github: @@ -83723,8 +83764,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83746,7 +83787,7 @@ paths: application/json: schema: *253 examples: - default: *563 + default: *565 '404': *7 '500': *73 put: @@ -83764,8 +83805,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83829,7 +83870,7 @@ paths: application/json: schema: *253 examples: - default: *563 + default: *565 '404': *7 '500': *73 delete: @@ -83847,8 +83888,8 @@ paths: category: repos subcategory: rules parameters: - - *290 - - *291 + - *292 + - *293 - name: ruleset_id description: The ID of the ruleset. in: path @@ -83876,8 +83917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - *255 - *256 - *257 @@ -83885,9 +83926,11 @@ paths: - *67 - *20 - *18 - - *564 - - *565 + - *566 + - *567 - *259 + - *260 + - *261 responses: '200': description: Response @@ -83895,7 +83938,7 @@ paths: application/json: schema: type: array - items: &568 + items: &570 type: object properties: number: *74 @@ -83914,8 +83957,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *566 - resolution: *567 + state: *568 + resolution: *569 resolved_at: type: string format: date-time @@ -83969,6 +84012,15 @@ paths: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. + nullable: true examples: default: value: @@ -84025,6 +84077,8 @@ paths: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -84042,6 +84096,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '404': description: Repository is public or secret scanning is disabled for the repository @@ -84067,15 +84123,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 responses: '200': description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -84096,6 +84152,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *37 '404': description: Repository is public, or secret scanning is disabled for the @@ -84121,9 +84179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 requestBody: required: true content: @@ -84131,8 +84189,8 @@ paths: schema: type: object properties: - state: *566 - resolution: *567 + state: *568 + resolution: *569 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -84150,7 +84208,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default: value: @@ -84189,6 +84247,8 @@ paths: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false '400': description: Bad request, resolution comment is invalid or the resolution was not changed. @@ -84219,9 +84279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *290 - - *291 - - *378 + - *292 + - *293 + - *380 - *20 - *18 responses: @@ -84232,7 +84292,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &727 + items: &729 type: object properties: type: @@ -84591,8 +84651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -84600,14 +84660,14 @@ paths: schema: type: object properties: - reason: &570 + reason: &572 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *569 + placeholder_id: *571 required: - reason - placeholder_id @@ -84624,7 +84684,7 @@ paths: schema: type: object properties: - reason: *570 + reason: *572 expire_at: type: string format: date-time @@ -84669,8 +84729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *290 - - *291 + - *292 + - *293 - *67 - name: sort description: The property to sort the results by. @@ -84714,9 +84774,9 @@ paths: application/json: schema: type: array - items: *571 + items: *573 examples: - default: *572 + default: *574 '400': *15 '404': *7 x-github: @@ -84739,8 +84799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -84813,7 +84873,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 required: - login - type @@ -84900,9 +84960,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: &574 + default: &576 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -85135,8 +85195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -85240,7 +85300,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -85387,17 +85447,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '200': description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 + default: *576 '403': *29 '404': *7 x-github: @@ -85421,9 +85481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 requestBody: required: true content: @@ -85496,7 +85556,7 @@ paths: login: type: string description: The username of the user credited. - type: *262 + type: *264 required: - login - type @@ -85582,10 +85642,10 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 - add_credit: *574 + default: *576 + add_credit: *576 '403': *29 '404': *7 '422': @@ -85623,9 +85683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '202': *127 '400': *15 @@ -85652,17 +85712,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *290 - - *291 - - *573 + - *292 + - *293 + - *575 responses: '202': description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 '400': *15 '422': *16 '403': *29 @@ -85688,8 +85748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -85788,8 +85848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -85798,7 +85858,7 @@ paths: application/json: schema: type: array - items: &575 + items: &577 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -85831,8 +85891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -85908,8 +85968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -86005,8 +86065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -86160,8 +86220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -86171,7 +86231,7 @@ paths: application/json: schema: type: array - items: *575 + items: *577 examples: default: value: @@ -86204,8 +86264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *290 - - *291 + - *292 + - *293 - name: sha in: path required: true @@ -86259,7 +86319,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -86313,8 +86373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86346,14 +86406,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &577 + schema: &579 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -86421,8 +86481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: false content: @@ -86448,7 +86508,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: default: value: @@ -86475,8 +86535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -86496,8 +86556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86576,8 +86636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -86585,7 +86645,7 @@ paths: application/json: schema: type: array - items: &578 + items: &580 title: Tag protection description: Tag protection type: object @@ -86637,8 +86697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -86661,7 +86721,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -86692,8 +86752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -86730,8 +86790,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *290 - - *291 + - *292 + - *293 - name: ref in: path required: true @@ -86767,8 +86827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *290 - - *291 + - *292 + - *293 - *18 - *20 responses: @@ -86800,8 +86860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *290 - - *291 + - *292 + - *293 - *20 - *18 responses: @@ -86809,7 +86869,7 @@ paths: description: Response content: application/json: - schema: &579 + schema: &581 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -86821,7 +86881,7 @@ paths: required: - names examples: - default: &580 + default: &582 value: names: - octocat @@ -86844,8 +86904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -86876,9 +86936,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 '404': *7 '422': *8 x-github: @@ -86899,9 +86959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *290 - - *291 - - &581 + - *292 + - *293 + - &583 name: per description: The time frame to display results for. in: query @@ -86930,7 +86990,7 @@ paths: example: 128 clones: type: array - items: &582 + items: &584 title: Traffic type: object properties: @@ -87017,8 +87077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -87108,8 +87168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *290 - - *291 + - *292 + - *293 responses: '200': description: Response @@ -87169,9 +87229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *290 - - *291 - - *581 + - *292 + - *293 + - *583 responses: '200': description: Response @@ -87190,7 +87250,7 @@ paths: example: 3782 views: type: array - items: *582 + items: *584 required: - uniques - count @@ -87267,8 +87327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *290 - - *291 + - *292 + - *293 requestBody: required: true content: @@ -87542,8 +87602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -87566,8 +87626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -87589,8 +87649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -87616,8 +87676,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *290 - - *291 + - *292 + - *293 - name: ref in: path required: true @@ -87709,9 +87769,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87865,7 +87925,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &590 + - &592 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -87874,7 +87934,7 @@ paths: schema: type: string example: members - - &595 + - &597 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -87885,7 +87945,7 @@ paths: default: 1 format: int32 example: 1 - - &596 + - &598 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -87927,7 +87987,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &584 + items: &586 allOf: - type: object required: @@ -88002,7 +88062,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &597 + meta: &599 type: object description: The metadata associated with the creation/updates to the user. @@ -88062,31 +88122,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &585 + '400': &587 description: Bad request content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '401': &586 + schema: *585 + '401': &588 description: Authorization failure - '403': &587 + '403': &589 description: Permission denied - '429': &588 + '429': &590 description: Too many requests content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '500': &589 + schema: *585 + '500': &591 description: Internal server error content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 + schema: *585 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88113,7 +88173,7 @@ paths: required: true content: application/json: - schema: &593 + schema: &595 type: object required: - schemas @@ -88169,9 +88229,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *584 + schema: *586 examples: - group: &591 + group: &593 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -88190,13 +88250,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e - '400': *585 - '401': *586 - '403': *587 - '409': &594 + '400': *587 + '401': *588 + '403': *589 + '409': &596 description: Duplicate record detected - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88217,7 +88277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &592 + - &594 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -88225,22 +88285,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *590 + - *592 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *584 + schema: *586 examples: - default: *591 - '400': *585 - '401': *586 - '403': *587 + default: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88262,13 +88322,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *592 + - *594 - *40 requestBody: required: true content: application/json: - schema: *593 + schema: *595 examples: group: summary: Group @@ -88294,17 +88354,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *584 + schema: *586 examples: - group: *591 - groupWithMembers: *591 - '400': *585 - '401': *586 - '403': *587 + group: *593 + groupWithMembers: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88331,13 +88391,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *592 + - *594 - *40 requestBody: required: true content: application/json: - schema: &604 + schema: &606 type: object required: - Operations @@ -88397,17 +88457,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *584 + schema: *586 examples: - updateGroup: *591 - addMembers: *591 - '400': *585 - '401': *586 - '403': *587 + updateGroup: *593 + addMembers: *593 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88427,17 +88487,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *592 + - *594 - *40 responses: '204': description: Group was deleted, no content - '400': *585 - '401': *586 - '403': *587 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88474,8 +88534,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *595 - - *596 + - *597 + - *598 - *40 responses: '200': @@ -88508,7 +88568,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &599 + items: &601 allOf: - type: object required: @@ -88587,7 +88647,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &598 + roles: &600 type: array description: The roles assigned to the user. items: @@ -88643,7 +88703,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *597 + meta: *599 startIndex: type: integer description: A starting index for the returned page @@ -88680,11 +88740,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *585 - '401': *586 - '403': *587 - '429': *588 - '500': *589 + '400': *587 + '401': *588 + '403': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88711,7 +88771,7 @@ paths: required: true content: application/json: - schema: &602 + schema: &604 type: object required: - schemas @@ -88793,9 +88853,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *598 + roles: *600 examples: - user: &603 + user: &605 summary: User value: schemas: @@ -88842,9 +88902,9 @@ paths: description: User has been created content: application/scim+json: - schema: *599 + schema: *601 examples: - user: &600 + user: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -88870,13 +88930,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *600 - '400': *585 - '401': *586 - '403': *587 - '409': *594 - '429': *588 - '500': *589 + enterpriseOwner: *602 + '400': *587 + '401': *588 + '403': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88897,7 +88957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &601 + - &603 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -88910,15 +88970,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *599 + schema: *601 examples: - default: *600 - '400': *585 - '401': *586 - '403': *587 + default: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -88943,30 +89003,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *601 + - *603 - *40 requestBody: required: true content: application/json: - schema: *602 + schema: *604 examples: - user: *603 + user: *605 responses: '200': description: User was updated content: application/scim+json: - schema: *599 + schema: *601 examples: - user: *600 - '400': *585 - '401': *586 - '403': *587 + user: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89004,13 +89064,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *601 + - *603 - *40 requestBody: required: true content: application/json: - schema: *604 + schema: *606 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -89050,18 +89110,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *599 - examples: - userMultiValuedProperties: *600 - userSingleValuedProperties: *600 - disableUser: *600 - '400': *585 - '401': *586 - '403': *587 + schema: *601 + examples: + userMultiValuedProperties: *602 + userSingleValuedProperties: *602 + disableUser: *602 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '409': *594 - '429': *588 - '500': *589 + '409': *596 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89081,17 +89141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *601 + - *603 - *40 responses: '204': description: User was deleted, no content - '400': *585 - '401': *586 - '403': *587 + '400': *587 + '401': *588 + '403': *589 '404': *7 - '429': *588 - '500': *589 + '429': *590 + '500': *591 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89178,7 +89238,7 @@ paths: example: 1 Resources: type: array - items: &605 + items: &607 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -89409,22 +89469,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &606 + '404': &608 description: Resource not found content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '403': &607 + schema: *585 + '403': &609 description: Forbidden content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '400': *585 - '429': *588 + schema: *585 + '400': *587 + '429': *590 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -89450,9 +89510,9 @@ paths: description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: &608 + default: &610 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -89475,17 +89535,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *606 - '403': *607 - '500': *589 + '404': *608 + '403': *609 + '500': *591 '409': description: Conflict content: application/json: - schema: *583 + schema: *585 application/scim+json: - schema: *583 - '400': *585 + schema: *585 + '400': *587 requestBody: required: true content: @@ -89578,17 +89638,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 - '404': *606 - '403': *607 + default: *610 + '404': *608 + '403': *609 '304': *37 x-github: githubCloudOnly: true @@ -89612,18 +89672,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 + default: *610 '304': *37 - '404': *606 - '403': *607 + '404': *608 + '403': *609 requestBody: required: true content: @@ -89732,19 +89792,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *121 - - *601 + - *603 responses: '200': description: Response content: application/scim+json: - schema: *605 + schema: *607 examples: - default: *608 + default: *610 '304': *37 - '404': *606 - '403': *607 - '400': *585 + '404': *608 + '403': *609 + '400': *587 '429': description: Response content: @@ -89835,12 +89895,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *121 - - *601 + - *603 responses: '204': description: Response - '404': *606 - '403': *607 + '404': *608 + '403': *609 '304': *37 x-github: githubCloudOnly: true @@ -89973,7 +90033,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &609 + text_matches: &611 title: Search Result Text Matches type: array items: @@ -90136,7 +90196,7 @@ paths: enum: - author-date - committer-date - - &610 + - &612 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -90207,7 +90267,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true comment_count: type: integer @@ -90227,7 +90287,7 @@ paths: url: type: string format: uri - verification: *458 + verification: *460 required: - author - committer @@ -90246,7 +90306,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *347 + properties: *349 nullable: true parents: type: array @@ -90264,7 +90324,7 @@ paths: type: number node_id: type: string - text_matches: *609 + text_matches: *611 required: - sha - node_id @@ -90457,7 +90517,7 @@ paths: - interactions - created - updated - - *610 + - *612 - *18 - *20 responses: @@ -90562,8 +90622,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *410 - required: *411 + properties: *412 + required: *413 nullable: true comments: type: integer @@ -90577,7 +90637,7 @@ paths: type: string format: date-time nullable: true - text_matches: *609 + text_matches: *611 pull_request: type: object properties: @@ -90801,7 +90861,7 @@ paths: enum: - created - updated - - *610 + - *612 - *18 - *20 responses: @@ -90845,7 +90905,7 @@ paths: nullable: true score: type: number - text_matches: *609 + text_matches: *611 required: - id - node_id @@ -90931,7 +90991,7 @@ paths: - forks - help-wanted-issues - updated - - *610 + - *612 - *18 - *20 responses: @@ -91170,7 +91230,7 @@ paths: - admin - pull - push - text_matches: *609 + text_matches: *611 temp_clone_token: type: string allow_merge_commit: @@ -91471,7 +91531,7 @@ paths: type: string format: uri nullable: true - text_matches: *609 + text_matches: *611 related: type: array nullable: true @@ -91664,7 +91724,7 @@ paths: - followers - repositories - joined - - *610 + - *612 - *18 - *20 responses: @@ -91768,7 +91828,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *609 + text_matches: *611 blog: type: string nullable: true @@ -91847,7 +91907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &611 + - &613 name: team_id description: The unique identifier of the team. in: path @@ -91859,9 +91919,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 x-github: githubCloudOnly: false @@ -91888,7 +91948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -91951,16 +92011,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '201': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 '404': *7 '422': *16 '403': *29 @@ -91988,7 +92048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *611 + - *613 responses: '204': description: Response @@ -92019,7 +92079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *611 + - *613 - *67 - *18 - *20 @@ -92030,9 +92090,9 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: - default: *612 + default: *614 headers: Link: *39 x-github: @@ -92061,7 +92121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -92095,9 +92155,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: triggersNotification: true githubCloudOnly: false @@ -92124,16 +92184,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92158,8 +92218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: false content: @@ -92182,9 +92242,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92209,8 +92269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 responses: '204': description: Response @@ -92239,8 +92299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *611 - - *275 + - *613 + - *277 - *67 - *18 - *20 @@ -92251,9 +92311,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *614 + default: *616 headers: Link: *39 x-github: @@ -92282,8 +92342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: true content: @@ -92305,9 +92365,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: triggersNotification: true githubCloudOnly: false @@ -92334,17 +92394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92369,9 +92429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 requestBody: required: true content: @@ -92393,9 +92453,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *615 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92420,9 +92480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 responses: '204': description: Response @@ -92451,9 +92511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -92479,9 +92539,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -92510,9 +92570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *611 - - *275 - - *278 + - *613 + - *277 + - *280 requestBody: required: true content: @@ -92544,9 +92604,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92572,8 +92632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -92599,9 +92659,9 @@ paths: application/json: schema: type: array - items: *279 + items: *281 examples: - default: *281 + default: *283 headers: Link: *39 x-github: @@ -92630,8 +92690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *611 - - *275 + - *613 + - *277 requestBody: required: true content: @@ -92663,9 +92723,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *281 examples: - default: *280 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92689,7 +92749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -92727,7 +92787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *611 + - *613 - name: role description: Filters members returned by their role in the team. in: query @@ -92778,7 +92838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92815,7 +92875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92855,7 +92915,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -92892,16 +92952,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 responses: '200': description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-user-is-a-team-maintainer: *616 + response-if-user-is-a-team-maintainer: *618 '404': *7 x-github: githubCloudOnly: false @@ -92934,7 +92994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 requestBody: required: false @@ -92960,9 +93020,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *289 examples: - response-if-users-membership-with-team-is-now-pending: *617 + response-if-users-membership-with-team-is-now-pending: *619 '403': description: Forbidden if team synchronization is set up '422': @@ -92996,7 +93056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *611 + - *613 - *161 responses: '204': @@ -93026,7 +93086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93036,9 +93096,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *618 + default: *620 headers: Link: *39 '404': *7 @@ -93065,16 +93125,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *611 - - *289 + - *613 + - *291 responses: '200': description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *619 + default: *621 '404': description: Not Found if project is not managed by this team x-github: @@ -93099,8 +93159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *611 - - *289 + - *613 + - *291 requestBody: required: false content: @@ -93168,8 +93228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *611 - - *289 + - *613 + - *291 responses: '204': description: Response @@ -93196,7 +93256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93238,15 +93298,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *620 + schema: *622 examples: alternative-response-with-extra-repository-information: value: @@ -93397,9 +93457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 requestBody: required: false content: @@ -93449,9 +93509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *611 - - *290 - - *291 + - *613 + - *292 + - *293 responses: '204': description: Response @@ -93480,15 +93540,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *611 + - *613 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: - default: *293 + default: *295 '403': *29 '404': *7 x-github: @@ -93515,7 +93575,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *611 + - *613 requestBody: required: true content: @@ -93572,7 +93632,7 @@ paths: description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -93603,7 +93663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *611 + - *613 - *18 - *20 responses: @@ -93615,7 +93675,7 @@ paths: type: array items: *207 examples: - response-if-child-teams-exist: *621 + response-if-child-teams-exist: *623 headers: Link: *39 '404': *7 @@ -93648,7 +93708,7 @@ paths: application/json: schema: oneOf: - - &623 + - &625 title: Private User description: Private User type: object @@ -93851,7 +93911,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *622 + - *624 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -94004,7 +94064,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -94350,7 +94410,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -94358,7 +94418,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -94402,7 +94462,7 @@ paths: type: integer secrets: type: array - items: &624 + items: &626 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -94442,7 +94502,7 @@ paths: - visibility - selected_repositories_url examples: - default: *398 + default: *400 headers: Link: *39 x-github: @@ -94518,7 +94578,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: default: value: @@ -94664,7 +94724,7 @@ paths: type: array items: *139 examples: - default: *625 + default: *627 '401': *25 '403': *29 '404': *7 @@ -94816,7 +94876,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '304': *37 '500': *73 '401': *25 @@ -94874,7 +94934,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '401': *25 '403': *29 '404': *7 @@ -94931,7 +94991,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &628 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94972,7 +95032,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &627 + default: &629 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -95017,9 +95077,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *627 + default: *629 '404': *7 x-github: githubCloudOnly: false @@ -95056,9 +95116,9 @@ paths: type: integer machines: type: array - items: *628 + items: *630 examples: - default: *629 + default: *631 '304': *37 '500': *73 '401': *25 @@ -95137,13 +95197,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *303 + repository: *305 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *396 - required: *397 + properties: *398 + required: *399 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -95925,7 +95985,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '304': *37 '500': *73 '400': *15 @@ -95965,7 +96025,7 @@ paths: application/json: schema: *211 examples: - default: *395 + default: *397 '500': *73 '401': *25 '403': *29 @@ -95997,7 +96057,7 @@ paths: type: array items: *223 examples: - default: &642 + default: &644 value: - id: 197 name: hello_docker @@ -96098,7 +96158,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Email description: Email type: object @@ -96163,9 +96223,9 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: - default: &644 + default: &646 value: - email: octocat@github.com verified: true @@ -96240,7 +96300,7 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: default: value: @@ -96495,7 +96555,7 @@ paths: application/json: schema: type: array - items: &631 + items: &633 title: GPG Key description: A unique encryption key type: object @@ -96626,7 +96686,7 @@ paths: - subkeys - revoked examples: - default: &655 + default: &657 value: - id: 3 name: Octocat's GPG Key @@ -96711,9 +96771,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: - default: &632 + default: &634 value: id: 3 name: Octocat's GPG Key @@ -96770,7 +96830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &633 + - &635 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -96782,9 +96842,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: - default: *632 + default: *634 '404': *7 '304': *37 '403': *29 @@ -96807,7 +96867,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *633 + - *635 responses: '204': description: Response @@ -96998,7 +97058,7 @@ paths: type: array items: *57 examples: - default: *634 + default: *636 headers: Link: *39 '404': *7 @@ -97112,7 +97172,7 @@ paths: required: true content: application/json: - schema: *469 + schema: *471 examples: default: value: @@ -97262,7 +97322,7 @@ paths: application/json: schema: type: array - items: &635 + items: &637 title: Key description: Key type: object @@ -97359,9 +97419,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: &636 + default: &638 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97394,15 +97454,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *497 + - *499 responses: '200': description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: *636 + default: *638 '404': *7 '304': *37 '403': *29 @@ -97425,7 +97485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *497 + - *499 responses: '204': description: Response @@ -97458,7 +97518,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -97526,7 +97586,7 @@ paths: - account - plan examples: - default: &638 + default: &640 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -97588,9 +97648,9 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: - default: *638 + default: *640 headers: Link: *39 '304': *37 @@ -98585,7 +98645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *217 - - *639 + - *641 responses: '204': description: Response @@ -98655,7 +98715,7 @@ paths: type: array items: *52 examples: - default: *640 + default: *642 headers: Link: *39 '304': *37 @@ -98697,7 +98757,7 @@ paths: - docker - nuget - container - - *641 + - *643 - *20 - *18 responses: @@ -98709,8 +98769,8 @@ paths: type: array items: *223 examples: - default: *642 - '400': *643 + default: *644 + '400': *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98739,7 +98799,7 @@ paths: application/json: schema: *223 examples: - default: &656 + default: &658 value: id: 40201 name: octo-name @@ -99189,9 +99249,9 @@ paths: application/json: schema: type: array - items: *630 + items: *632 examples: - default: *644 + default: *646 headers: Link: *39 '304': *37 @@ -99304,7 +99364,7 @@ paths: type: array items: *57 examples: - default: &651 + default: &653 summary: Default response value: - id: 1296269 @@ -99606,9 +99666,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: - default: *305 + default: *307 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99646,9 +99706,9 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: - default: *645 + default: *647 headers: Link: *39 '304': *37 @@ -99727,7 +99787,7 @@ paths: application/json: schema: type: array - items: &646 + items: &648 title: Social account description: Social media account type: object @@ -99742,7 +99802,7 @@ paths: - provider - url examples: - default: &647 + default: &649 value: - provider: twitter url: https://twitter.com/github @@ -99804,9 +99864,9 @@ paths: application/json: schema: type: array - items: *646 + items: *648 examples: - default: *647 + default: *649 '422': *16 '304': *37 '404': *7 @@ -99893,7 +99953,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99913,7 +99973,7 @@ paths: - title - created_at examples: - default: &657 + default: &659 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99979,9 +100039,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100012,7 +100072,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &650 + - &652 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -100024,9 +100084,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *7 '304': *37 '403': *29 @@ -100049,7 +100109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *650 + - *652 responses: '204': description: Response @@ -100078,7 +100138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &658 + - &660 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -100103,11 +100163,11 @@ paths: type: array items: *57 examples: - default-response: *651 + default-response: *653 application/vnd.github.v3.star+json: schema: type: array - items: &659 + items: &661 title: Starred Repository description: Starred Repository type: object @@ -100263,8 +100323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response if this repository is starred by you @@ -100292,8 +100352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -100317,8 +100377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *290 - - *291 + - *292 + - *293 responses: '204': description: Response @@ -100390,7 +100450,7 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: default: value: @@ -100474,10 +100534,10 @@ paths: application/json: schema: oneOf: - - *623 - - *622 + - *625 + - *624 examples: - default-response: &653 + default-response: &655 summary: Default response value: login: octocat @@ -100512,7 +100572,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &654 + response-with-git-hub-plan-information: &656 summary: Response with GitHub plan information value: login: octocat @@ -100572,7 +100632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *652 + - *654 - *18 responses: '200': @@ -100619,11 +100679,11 @@ paths: application/json: schema: oneOf: - - *623 - - *622 + - *625 + - *624 examples: - default-response: *653 - response-with-git-hub-plan-information: *654 + default-response: *655 + response-with-git-hub-plan-information: *656 '404': *7 x-github: githubCloudOnly: false @@ -100785,7 +100845,7 @@ paths: type: array items: *223 examples: - default: *642 + default: *644 '403': *29 '401': *25 x-github: @@ -101189,9 +101249,9 @@ paths: application/json: schema: type: array - items: *631 + items: *633 examples: - default: *655 + default: *657 headers: Link: *39 x-github: @@ -101295,7 +101355,7 @@ paths: application/json: schema: *22 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101373,7 +101433,7 @@ paths: type: array items: *52 examples: - default: *640 + default: *642 headers: Link: *39 x-github: @@ -101412,7 +101472,7 @@ paths: - docker - nuget - container - - *641 + - *643 - *161 - *20 - *18 @@ -101425,10 +101485,10 @@ paths: type: array items: *223 examples: - default: *642 + default: *644 '403': *29 '401': *25 - '400': *643 + '400': *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101458,7 +101518,7 @@ paths: application/json: schema: *223 examples: - default: *656 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102051,9 +102111,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *264 + default: *266 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102081,9 +102141,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102111,9 +102171,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *271 examples: - default: *270 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102141,9 +102201,9 @@ paths: application/json: schema: type: array - items: *646 + items: *648 examples: - default: *647 + default: *649 headers: Link: *39 x-github: @@ -102173,9 +102233,9 @@ paths: application/json: schema: type: array - items: *648 + items: *650 examples: - default: *657 + default: *659 headers: Link: *39 x-github: @@ -102200,7 +102260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *161 - - *658 + - *660 - *67 - *18 - *20 @@ -102212,11 +102272,11 @@ paths: schema: anyOf: - type: array - items: *659 + items: *661 - type: array items: *57 examples: - default-response: *651 + default-response: *653 headers: Link: *39 x-github: @@ -102375,7 +102435,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &660 + enterprise: &662 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102433,7 +102493,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &661 + installation: &663 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102452,7 +102512,7 @@ x-webhooks: required: - id - node_id - organization: &662 + organization: &664 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102512,13 +102572,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &663 + repository: &665 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &700 + properties: &702 id: description: Unique identifier of the repository example: 42 @@ -103201,7 +103261,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &701 + required: &703 - archive_url - assignees_url - blobs_url @@ -103352,10 +103412,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -103431,11 +103491,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: &664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: &666 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -103658,11 +103718,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: *664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: *666 sender: *19 required: - action @@ -103845,11 +103905,11 @@ x-webhooks: - everyone required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - rule: *664 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + rule: *666 sender: *19 required: - action @@ -103922,7 +103982,7 @@ x-webhooks: required: true content: application/json: - schema: &667 + schema: &669 title: Exemption request cancellation event type: object properties: @@ -103930,11 +103990,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: &665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: &667 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -104070,7 +104130,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &666 + items: &668 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -104175,7 +104235,7 @@ x-webhooks: required: true content: application/json: - schema: &668 + schema: &670 title: Exemption request completed event type: object properties: @@ -104183,11 +104243,11 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 sender: *19 required: - action @@ -104259,7 +104319,7 @@ x-webhooks: required: true content: application/json: - schema: &669 + schema: &671 title: Exemption request created event type: object properties: @@ -104267,11 +104327,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 sender: *19 required: - action @@ -104343,7 +104403,7 @@ x-webhooks: required: true content: application/json: - schema: &670 + schema: &672 title: Exemption response dismissed event type: object properties: @@ -104351,12 +104411,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 - exemption_response: *666 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 + exemption_response: *668 sender: *19 required: - action @@ -104430,7 +104490,7 @@ x-webhooks: required: true content: application/json: - schema: &671 + schema: &673 title: Exemption response submitted event type: object properties: @@ -104438,12 +104498,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - exemption_request: *665 - exemption_response: *666 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + exemption_request: *667 + exemption_response: *668 sender: *19 required: - action @@ -104516,7 +104576,7 @@ x-webhooks: required: true content: application/json: - schema: *667 + schema: *669 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104583,7 +104643,7 @@ x-webhooks: required: true content: application/json: - schema: *668 + schema: *670 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104650,7 +104710,7 @@ x-webhooks: required: true content: application/json: - schema: *669 + schema: *671 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104717,7 +104777,7 @@ x-webhooks: required: true content: application/json: - schema: *670 + schema: *672 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104785,7 +104845,7 @@ x-webhooks: required: true content: application/json: - schema: *671 + schema: *673 responses: '200': description: Return a 200 status to indicate that the data was received @@ -104863,7 +104923,7 @@ x-webhooks: type: string enum: - completed - check_run: &673 + check_run: &675 title: CheckRun description: A check performed on the code of a given code change type: object @@ -104926,7 +104986,7 @@ x-webhooks: type: string pull_requests: type: array - items: *360 + items: *362 repository: *139 status: example: completed @@ -104964,7 +105024,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *672 + deployment: *674 details_url: example: https://example.com type: string @@ -105014,7 +105074,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *360 + items: *362 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -105049,9 +105109,9 @@ x-webhooks: - output - app - pull_requests - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -105444,10 +105504,10 @@ x-webhooks: type: string enum: - created - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -105843,10 +105903,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 requested_action: description: The action requested by the user. type: object @@ -106251,10 +106311,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *673 - installation: *661 - organization: *662 - repository: *663 + check_run: *675 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - check_run @@ -107231,10 +107291,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -107904,10 +107964,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -108571,10 +108631,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -108874,20 +108934,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &674 + commit_oid: &676 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *660 - installation: *661 - organization: *662 - ref: &675 + enterprise: *662 + installation: *663 + organization: *664 + ref: &677 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -109205,12 +109265,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -109305,7 +109365,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *373 + dismissed_comment: *375 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -109466,12 +109526,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -109792,12 +109852,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -110054,16 +110114,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *663 + repository: *665 sender: *19 required: - action @@ -110289,12 +110349,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *674 - enterprise: *660 - installation: *661 - organization: *662 - ref: *675 - repository: *663 + commit_oid: *676 + enterprise: *662 + installation: *663 + organization: *664 + ref: *677 + repository: *665 sender: *19 required: - action @@ -110551,10 +110611,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -110634,18 +110694,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *662 - pusher_type: &676 + organization: *664 + pusher_type: &678 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &677 + ref: &679 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -110655,7 +110715,7 @@ x-webhooks: enum: - tag - branch - repository: *663 + repository: *665 sender: *19 required: - ref @@ -110738,9 +110798,9 @@ x-webhooks: enum: - created definition: *237 - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110824,9 +110884,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110903,9 +110963,9 @@ x-webhooks: enum: - updated definition: *237 - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 sender: *19 required: - action @@ -110981,10 +111041,10 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - repository: *663 - organization: *662 + enterprise: *662 + installation: *663 + repository: *665 + organization: *664 sender: *19 new_property_values: type: array @@ -111069,18 +111129,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - pusher_type: *676 - ref: *677 + enterprise: *662 + installation: *663 + organization: *664 + pusher_type: *678 + ref: *679 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *663 + repository: *665 sender: *19 required: - ref @@ -111164,11 +111224,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111252,11 +111312,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111340,11 +111400,11 @@ x-webhooks: type: string enum: - created - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111426,11 +111486,11 @@ x-webhooks: type: string enum: - dismissed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111512,11 +111572,11 @@ x-webhooks: type: string enum: - fixed - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111599,11 +111659,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111685,11 +111745,11 @@ x-webhooks: type: string enum: - reopened - alert: *427 - installation: *661 - organization: *662 - enterprise: *660 - repository: *663 + alert: *429 + installation: *663 + organization: *664 + enterprise: *662 + repository: *665 sender: *19 required: - action @@ -111766,9 +111826,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - key: &678 + enterprise: *662 + installation: *663 + key: &680 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111802,8 +111862,8 @@ x-webhooks: - verified - created_at - read_only - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -111880,11 +111940,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - key: *678 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + key: *680 + organization: *664 + repository: *665 sender: *19 required: - action @@ -112445,12 +112505,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: &682 + workflow: &684 title: Workflow type: object nullable: true @@ -113176,13 +113236,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *433 + deployment: *435 pull_requests: type: array - items: *518 - repository: *663 - organization: *662 - installation: *661 + items: *520 + repository: *665 + organization: *664 + installation: *663 sender: *19 responses: '200': @@ -113253,7 +113313,7 @@ x-webhooks: type: string enum: - approved - approver: &679 + approver: &681 type: object properties: avatar_url: @@ -113296,11 +113356,11 @@ x-webhooks: type: string comment: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - reviewers: &680 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + reviewers: &682 type: array items: type: object @@ -113379,7 +113439,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &681 + workflow_job_run: &683 type: object properties: conclusion: @@ -114110,18 +114170,18 @@ x-webhooks: type: string enum: - rejected - approver: *679 + approver: *681 comment: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - reviewers: *680 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + reviewers: *682 sender: *19 since: type: string - workflow_job_run: *681 + workflow_job_run: *683 workflow_job_runs: type: array items: @@ -114825,13 +114885,13 @@ x-webhooks: type: string enum: - requested - enterprise: *660 + enterprise: *662 environment: type: string - installation: *661 - organization: *662 - repository: *663 - requestor: &687 + installation: *663 + organization: *664 + repository: *665 + requestor: &689 title: User type: object nullable: true @@ -116730,12 +116790,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Deployment Workflow Run type: object @@ -117415,7 +117475,7 @@ x-webhooks: type: string enum: - answered - answer: &685 + answer: &687 type: object properties: author_association: @@ -117572,7 +117632,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &683 + discussion: &685 title: Discussion description: A Discussion in a repository. type: object @@ -117858,7 +117918,7 @@ x-webhooks: - id labels: type: array - items: *480 + items: *482 required: - repository_url - category @@ -117880,10 +117940,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118010,11 +118070,11 @@ x-webhooks: - from required: - category - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118097,11 +118157,11 @@ x-webhooks: type: string enum: - closed - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118183,7 +118243,7 @@ x-webhooks: type: string enum: - created - comment: &684 + comment: &686 type: object properties: author_association: @@ -118340,11 +118400,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118427,12 +118487,12 @@ x-webhooks: type: string enum: - deleted - comment: *684 - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + comment: *686 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118527,12 +118587,12 @@ x-webhooks: - from required: - body - comment: *684 - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + comment: *686 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118616,11 +118676,11 @@ x-webhooks: type: string enum: - created - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118702,11 +118762,11 @@ x-webhooks: type: string enum: - deleted - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118806,11 +118866,11 @@ x-webhooks: type: string required: - from - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -118892,10 +118952,10 @@ x-webhooks: type: string enum: - labeled - discussion: *683 - enterprise: *660 - installation: *661 - label: &686 + discussion: *685 + enterprise: *662 + installation: *663 + label: &688 title: Label type: object properties: @@ -118927,8 +118987,8 @@ x-webhooks: - color - default - description - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119011,11 +119071,11 @@ x-webhooks: type: string enum: - locked - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119097,11 +119157,11 @@ x-webhooks: type: string enum: - pinned - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119183,11 +119243,11 @@ x-webhooks: type: string enum: - reopened - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119272,16 +119332,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *683 - new_repository: *663 + new_discussion: *685 + new_repository: *665 required: - new_discussion - new_repository - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119364,10 +119424,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *683 - old_answer: *685 - organization: *662 - repository: *663 + discussion: *685 + old_answer: *687 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119449,12 +119509,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *683 - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119537,11 +119597,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119623,11 +119683,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *683 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + discussion: *685 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -119700,7 +119760,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *660 + enterprise: *662 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -120360,9 +120420,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - forkee @@ -120508,9 +120568,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pages: description: The pages that were updated. type: array @@ -120547,7 +120607,7 @@ x-webhooks: - action - sha - html_url - repository: *663 + repository: *665 sender: *19 required: - pages @@ -120623,10 +120683,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: &688 + organization: *664 + repositories: &690 description: An array of repository objects that the installation can access. type: array @@ -120652,8 +120712,8 @@ x-webhooks: - name - full_name - private - repository: *663 - requester: *687 + repository: *665 + requester: *689 sender: *19 required: - action @@ -120728,11 +120788,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -120808,11 +120868,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -120888,10 +120948,10 @@ x-webhooks: type: string enum: - added - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories_added: &689 + organization: *664 + repositories_added: &691 description: An array of repository objects, which were added to the installation. type: array @@ -120937,15 +120997,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *663 - repository_selection: &690 + repository: *665 + repository_selection: &692 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *687 + requester: *689 sender: *19 required: - action @@ -121024,10 +121084,10 @@ x-webhooks: type: string enum: - removed - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories_added: *689 + organization: *664 + repositories_added: *691 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -121054,9 +121114,9 @@ x-webhooks: - name - full_name - private - repository: *663 - repository_selection: *690 - requester: *687 + repository: *665 + repository_selection: *692 + requester: *689 sender: *19 required: - action @@ -121135,11 +121195,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -121318,10 +121378,10 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 target_type: type: string @@ -121400,11 +121460,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *660 + enterprise: *662 installation: *22 - organization: *662 - repositories: *688 - repository: *663 + organization: *664 + repositories: *690 + repository: *665 requester: nullable: true sender: *19 @@ -121656,8 +121716,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -122798,8 +122858,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -122879,7 +122939,7 @@ x-webhooks: type: string enum: - deleted - comment: &691 + comment: &693 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -123044,8 +123104,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124184,8 +124244,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -124265,7 +124325,7 @@ x-webhooks: type: string enum: - edited - changes: &719 + changes: &721 description: The changes to the comment. type: object properties: @@ -124277,9 +124337,9 @@ x-webhooks: type: string required: - from - comment: *691 - enterprise: *660 - installation: *661 + comment: *693 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125419,8 +125479,8 @@ x-webhooks: - state - locked - assignee - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -125502,10 +125562,10 @@ x-webhooks: type: string enum: - assigned - assignee: *687 - enterprise: *660 - installation: *661 - issue: &694 + assignee: *689 + enterprise: *662 + installation: *663 + issue: &696 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -126409,8 +126469,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -126490,8 +126550,8 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127535,8 +127595,8 @@ x-webhooks: required: - state - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -127615,8 +127675,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -128513,8 +128573,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -128593,8 +128653,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129494,7 +129554,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &692 + milestone: &694 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129632,8 +129692,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -129732,8 +129792,8 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130637,9 +130697,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *686 - organization: *662 - repository: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -130719,8 +130779,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131623,9 +131683,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *686 - organization: *662 - repository: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -131705,8 +131765,8 @@ x-webhooks: type: string enum: - locked - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132610,8 +132670,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -132690,8 +132750,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133589,9 +133649,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *692 - organization: *662 - repository: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -135038,8 +135098,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135942,8 +136002,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -136023,9 +136083,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *660 - installation: *661 - issue: &693 + enterprise: *662 + installation: *663 + issue: &695 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136922,8 +136982,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -137002,8 +137062,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137906,8 +137966,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139355,11 +139415,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *660 - installation: *661 - issue: *693 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *695 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139440,7 +139500,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &722 + assignee: &724 title: User type: object nullable: true @@ -139510,11 +139570,11 @@ x-webhooks: required: - login - id - enterprise: *660 - installation: *661 - issue: *694 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *696 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139593,12 +139653,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *660 - installation: *661 - issue: *694 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *696 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -139678,8 +139738,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140581,8 +140641,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140662,11 +140722,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *660 - installation: *661 - issue: *693 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + issue: *695 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140745,11 +140805,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140827,11 +140887,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -140941,11 +141001,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - label: *686 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + label: *688 + organization: *664 + repository: *665 sender: *19 required: - action @@ -141027,9 +141087,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: &695 + enterprise: *662 + installation: *663 + marketplace_purchase: &697 title: Marketplace Purchase type: object required: @@ -141112,8 +141172,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *662 - previous_marketplace_purchase: &696 + organization: *664 + previous_marketplace_purchase: &698 title: Marketplace Purchase type: object properties: @@ -141193,7 +141253,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141273,10 +141333,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141359,7 +141419,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141441,10 +141501,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141526,7 +141586,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *663 + repository: *665 sender: *19 required: - action @@ -141607,8 +141667,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 marketplace_purchase: title: Marketplace Purchase type: object @@ -141690,9 +141750,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *662 - previous_marketplace_purchase: *696 - repository: *663 + organization: *664 + previous_marketplace_purchase: *698 + repository: *665 sender: *19 required: - action @@ -141772,12 +141832,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *660 - installation: *661 - marketplace_purchase: *695 - organization: *662 - previous_marketplace_purchase: *696 - repository: *663 + enterprise: *662 + installation: *663 + marketplace_purchase: *697 + organization: *664 + previous_marketplace_purchase: *698 + repository: *665 sender: *19 required: - action @@ -141879,11 +141939,11 @@ x-webhooks: type: string required: - to - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -141983,11 +142043,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142066,11 +142126,11 @@ x-webhooks: type: string enum: - removed - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142148,11 +142208,11 @@ x-webhooks: type: string enum: - added - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142228,7 +142288,7 @@ x-webhooks: required: - login - id - team: &697 + team: &699 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142418,11 +142478,11 @@ x-webhooks: type: string enum: - removed - enterprise: *660 - installation: *661 - member: *687 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + member: *689 + organization: *664 + repository: *665 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142499,7 +142559,7 @@ x-webhooks: required: - login - id - team: *697 + team: *699 required: - action - scope @@ -142581,8 +142641,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *661 - merge_group: &699 + installation: *663 + merge_group: &701 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142601,15 +142661,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *698 + head_commit: *700 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142695,10 +142755,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *661 - merge_group: *699 - organization: *662 - repository: *663 + installation: *663 + merge_group: *701 + organization: *664 + repository: *665 sender: *19 required: - action @@ -142771,7 +142831,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 + enterprise: *662 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142879,16 +142939,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *661 - organization: *662 + installation: *663 + organization: *664 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -142969,11 +143029,11 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143052,9 +143112,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - milestone: &702 + enterprise: *662 + installation: *663 + milestone: &704 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143191,8 +143251,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143271,11 +143331,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143385,11 +143445,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - milestone: *692 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *694 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143469,11 +143529,11 @@ x-webhooks: type: string enum: - opened - enterprise: *660 - installation: *661 - milestone: *702 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + milestone: *704 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143552,11 +143612,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *687 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + blocked_user: *689 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143635,11 +143695,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *687 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + blocked_user: *689 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143718,9 +143778,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - membership: &703 + enterprise: *662 + installation: *663 + membership: &705 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143812,8 +143872,8 @@ x-webhooks: - role - organization_url - user - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143891,11 +143951,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -143974,8 +144034,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144091,10 +144151,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 - user: *687 + user: *689 required: - action - invitation @@ -144172,11 +144232,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -144263,11 +144323,11 @@ x-webhooks: properties: from: type: string - enterprise: *660 - installation: *661 - membership: *703 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + membership: *705 + organization: *664 + repository: *665 sender: *19 required: - action @@ -144343,9 +144403,9 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 package: description: Information about the package. type: object @@ -144844,7 +144904,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &704 + items: &706 title: Ruby Gems metadata type: object properties: @@ -144939,7 +144999,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -145015,9 +145075,9 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 package: description: Information about the package. type: object @@ -145370,7 +145430,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *704 + items: *706 source_url: type: string format: uri @@ -145440,7 +145500,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -145617,12 +145677,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *660 + enterprise: *662 id: type: integer - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - id @@ -145702,7 +145762,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &705 + personal_access_token_request: &707 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145836,10 +145896,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *660 - organization: *662 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -145918,11 +145978,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *705 - enterprise: *660 - organization: *662 + personal_access_token_request: *707 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146000,11 +146060,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *705 - enterprise: *660 - organization: *662 + personal_access_token_request: *707 + enterprise: *662 + organization: *664 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146081,11 +146141,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *705 - organization: *662 - enterprise: *660 + personal_access_token_request: *707 + organization: *664 + enterprise: *662 sender: *19 - installation: *661 + installation: *663 required: - action - personal_access_token_request @@ -146189,7 +146249,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *706 + last_response: *708 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146221,8 +146281,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 zen: description: Random string of GitHub zen. @@ -146467,10 +146527,10 @@ x-webhooks: - from required: - note - enterprise: *660 - installation: *661 - organization: *662 - project_card: &707 + enterprise: *662 + installation: *663 + organization: *664 + project_card: &709 title: Project Card type: object properties: @@ -146589,7 +146649,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -146670,11 +146730,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project_card: *707 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_card: *709 + repository: *665 sender: *19 required: - action @@ -146754,9 +146814,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 project_card: title: Project Card type: object @@ -146884,8 +146944,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -146979,11 +147039,11 @@ x-webhooks: - from required: - note - enterprise: *660 - installation: *661 - organization: *662 - project_card: *707 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_card: *709 + repository: *665 sender: *19 required: - action @@ -147077,9 +147137,9 @@ x-webhooks: - from required: - column_id - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 project_card: allOf: - title: Project Card @@ -147269,7 +147329,7 @@ x-webhooks: type: string required: - after_id - repository: *663 + repository: *665 sender: *19 required: - action @@ -147349,10 +147409,10 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - organization: *662 - project: &709 + enterprise: *662 + installation: *663 + organization: *664 + project: &711 title: Project type: object properties: @@ -147476,7 +147536,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -147556,10 +147616,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project_column: &708 + enterprise: *662 + installation: *663 + organization: *664 + project_column: &710 title: Project Column type: object properties: @@ -147598,7 +147658,7 @@ x-webhooks: - name - created_at - updated_at - repository: *663 + repository: *665 sender: *19 required: - action @@ -147677,18 +147737,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -147778,11 +147838,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 + repository: *665 sender: *19 required: - action @@ -147862,11 +147922,11 @@ x-webhooks: type: string enum: - moved - enterprise: *660 - installation: *661 - organization: *662 - project_column: *708 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project_column: *710 + repository: *665 sender: *19 required: - action @@ -147946,11 +148006,11 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148030,18 +148090,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - project: *709 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *700 - required: *701 + properties: *702 + required: *703 nullable: true sender: *19 required: @@ -148143,11 +148203,11 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148226,11 +148286,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 - organization: *662 - project: *709 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + project: *711 + repository: *665 sender: *19 required: - action @@ -148311,9 +148371,9 @@ x-webhooks: type: string enum: - closed - installation: *661 - organization: *662 - projects_v2: &710 + installation: *663 + organization: *664 + projects_v2: &712 title: Projects v2 Project description: A projects v2 project type: object @@ -148456,9 +148516,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148539,9 +148599,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148658,9 +148718,9 @@ x-webhooks: type: string to: type: string - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -148743,7 +148803,7 @@ x-webhooks: type: string enum: - archived - changes: &714 + changes: &716 type: object properties: archived_at: @@ -148757,9 +148817,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *661 - organization: *662 - projects_v2_item: &711 + installation: *663 + organization: *664 + projects_v2_item: &713 title: Projects v2 Item description: An item belonging to a project type: object @@ -148893,9 +148953,9 @@ x-webhooks: nullable: true to: type: string - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -148977,9 +149037,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149060,9 +149120,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149168,7 +149228,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &712 + - &714 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149186,7 +149246,7 @@ x-webhooks: required: - id - name - - &713 + - &715 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149209,8 +149269,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *712 - - *713 + - *714 + - *715 required: - field_value - type: object @@ -149226,9 +149286,9 @@ x-webhooks: nullable: true required: - body - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149323,9 +149383,9 @@ x-webhooks: to: type: string nullable: true - installation: *661 - organization: *662 - projects_v2_item: *711 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149408,10 +149468,10 @@ x-webhooks: type: string enum: - restored - changes: *714 - installation: *661 - organization: *662 - projects_v2_item: *711 + changes: *716 + installation: *663 + organization: *664 + projects_v2_item: *713 sender: *19 required: - action @@ -149493,9 +149553,9 @@ x-webhooks: type: string enum: - reopened - installation: *661 - organization: *662 - projects_v2: *710 + installation: *663 + organization: *664 + projects_v2: *712 sender: *19 required: - action @@ -149576,9 +149636,9 @@ x-webhooks: type: string enum: - created - installation: *661 - organization: *662 - projects_v2_status_update: &715 + installation: *663 + organization: *664 + projects_v2_status_update: &717 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149705,9 +149765,9 @@ x-webhooks: type: string enum: - deleted - installation: *661 - organization: *662 - projects_v2_status_update: *715 + installation: *663 + organization: *664 + projects_v2_status_update: *717 sender: *19 required: - action @@ -149843,9 +149903,9 @@ x-webhooks: type: string format: date nullable: true - installation: *661 - organization: *662 - projects_v2_status_update: *715 + installation: *663 + organization: *664 + projects_v2_status_update: *717 sender: *19 required: - action @@ -149916,10 +149976,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - repository @@ -149996,13 +150056,13 @@ x-webhooks: type: string enum: - assigned - assignee: *687 - enterprise: *660 - installation: *661 - number: &716 + assignee: *689 + enterprise: *662 + installation: *663 + number: &718 description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -152285,7 +152345,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -152367,11 +152427,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -154649,7 +154709,7 @@ x-webhooks: - draft reason: type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -154731,11 +154791,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -157013,7 +157073,7 @@ x-webhooks: - draft reason: type: string - repository: *663 + repository: *665 sender: *19 required: - action @@ -157095,13 +157155,13 @@ x-webhooks: type: string enum: - closed - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: &717 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: &719 allOf: - - *518 + - *520 - type: object properties: allow_auto_merge: @@ -157163,7 +157223,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *663 + repository: *665 sender: *19 required: - action @@ -157244,12 +157304,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -157329,11 +157389,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *660 - milestone: *500 - number: *716 - organization: *662 - pull_request: &718 + enterprise: *662 + milestone: *502 + number: *718 + organization: *664 + pull_request: &720 title: Pull Request type: object properties: @@ -159596,7 +159656,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -159675,11 +159735,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -161961,7 +162021,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *663 + repository: *665 sender: *19 required: - action @@ -162085,12 +162145,12 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -162170,11 +162230,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -164441,7 +164501,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -164521,11 +164581,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *660 - installation: *661 - label: *686 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + label: *688 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -166807,7 +166867,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -166888,10 +166948,10 @@ x-webhooks: type: string enum: - locked - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -169171,7 +169231,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -169251,12 +169311,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *660 - milestone: *500 - number: *716 - organization: *662 - pull_request: *718 - repository: *663 + enterprise: *662 + milestone: *502 + number: *718 + organization: *664 + pull_request: *720 + repository: *665 sender: *19 required: - action @@ -169335,12 +169395,12 @@ x-webhooks: type: string enum: - opened - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169421,12 +169481,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169506,12 +169566,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *660 - installation: *661 - number: *716 - organization: *662 - pull_request: *717 - repository: *663 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 + pull_request: *719 + repository: *665 sender: *19 required: - action @@ -169877,9 +169937,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -172049,7 +172109,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -172129,7 +172189,7 @@ x-webhooks: type: string enum: - deleted - comment: &720 + comment: &722 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172414,9 +172474,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -174574,7 +174634,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -174654,11 +174714,11 @@ x-webhooks: type: string enum: - edited - changes: *719 - comment: *720 - enterprise: *660 - installation: *661 - organization: *662 + changes: *721 + comment: *722 + enterprise: *662 + installation: *663 + organization: *664 pull_request: type: object properties: @@ -176819,7 +176879,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *663 + repository: *665 sender: *19 required: - action @@ -176900,9 +176960,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -179075,7 +179135,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 review: description: The review that was affected. type: object @@ -179318,9 +179378,9 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -181374,8 +181434,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 - review: &721 + repository: *665 + review: &723 description: The review that was affected. type: object properties: @@ -181604,12 +181664,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -183892,7 +183952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_reviewer: title: User type: object @@ -183976,12 +184036,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -186271,7 +186331,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_team: title: Team description: Groups of organization members that gives permissions @@ -186463,12 +186523,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -188753,7 +188813,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_reviewer: title: User type: object @@ -188838,12 +188898,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *660 - installation: *661 + enterprise: *662 + installation: *663 number: description: The pull request number. type: integer - organization: *662 + organization: *664 pull_request: title: Pull Request type: object @@ -191119,7 +191179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 requested_team: title: Team description: Groups of organization members that gives permissions @@ -191300,9 +191360,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -193477,8 +193537,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 - review: *721 + repository: *665 + review: *723 sender: *19 required: - action @@ -193558,9 +193618,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -195630,7 +195690,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 sender: *19 thread: type: object @@ -196013,9 +196073,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 pull_request: title: Simple Pull Request type: object @@ -198071,7 +198131,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *663 + repository: *665 sender: *19 thread: type: object @@ -198457,10 +198517,10 @@ x-webhooks: type: string before: type: string - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -200731,7 +200791,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -200813,11 +200873,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *722 - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + assignee: *724 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -203100,7 +203160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -203179,11 +203239,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *660 - installation: *661 - label: *686 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + label: *688 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -205456,7 +205516,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -205537,10 +205597,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *660 - installation: *661 - number: *716 - organization: *662 + enterprise: *662 + installation: *663 + number: *718 + organization: *664 pull_request: title: Pull Request type: object @@ -207805,7 +207865,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *663 + repository: *665 sender: *19 required: - action @@ -208005,7 +208065,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *660 + enterprise: *662 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -208097,8 +208157,8 @@ x-webhooks: - url - author - committer - installation: *661 - organization: *662 + installation: *663 + organization: *664 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -208673,9 +208733,9 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 registry_package: type: object properties: @@ -209121,7 +209181,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *704 + items: *706 summary: type: string tag_name: @@ -209175,7 +209235,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -209253,9 +209313,9 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 registry_package: type: object properties: @@ -209563,7 +209623,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *704 + items: *706 summary: type: string tag_name: @@ -209612,7 +209672,7 @@ x-webhooks: - owner - package_version - registry - repository: *663 + repository: *665 sender: *19 required: - action @@ -209689,10 +209749,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - release: &723 + enterprise: *662 + installation: *663 + organization: *664 + release: &725 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -209997,7 +210057,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *663 + repository: *665 sender: *19 required: - action @@ -210074,11 +210134,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -210186,11 +210246,11 @@ x-webhooks: type: boolean required: - to - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -210268,9 +210328,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -210579,7 +210639,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *663 + repository: *665 sender: *19 required: - action @@ -210655,10 +210715,10 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - release: &724 + enterprise: *662 + installation: *663 + organization: *664 + release: &726 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -210964,7 +211024,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *663 + repository: *665 sender: *19 required: - action @@ -211040,11 +211100,11 @@ x-webhooks: type: string enum: - released - enterprise: *660 - installation: *661 - organization: *662 - release: *723 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *725 + repository: *665 sender: *19 required: - action @@ -211120,11 +211180,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *660 - installation: *661 - organization: *662 - release: *724 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + release: *726 + repository: *665 sender: *19 required: - action @@ -211200,11 +211260,11 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - repository_advisory: *571 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + repository_advisory: *573 sender: *19 required: - action @@ -211280,11 +211340,11 @@ x-webhooks: type: string enum: - reported - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - repository_advisory: *571 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + repository_advisory: *573 sender: *19 required: - action @@ -211360,10 +211420,10 @@ x-webhooks: type: string enum: - archived - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211440,10 +211500,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211521,10 +211581,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211608,10 +211668,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211723,10 +211783,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211798,10 +211858,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 status: type: string @@ -211882,10 +211942,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -211962,10 +212022,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212059,10 +212119,10 @@ x-webhooks: - name required: - repository - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212142,10 +212202,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 sender: *19 required: @@ -212224,10 +212284,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 sender: *19 required: @@ -212306,10 +212366,10 @@ x-webhooks: type: string enum: - edited - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 repository_ruleset: *253 changes: type: object @@ -212614,10 +212674,10 @@ x-webhooks: - from required: - owner - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212695,10 +212755,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -212776,7 +212836,7 @@ x-webhooks: type: string enum: - create - alert: &725 + alert: &727 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -212897,10 +212957,10 @@ x-webhooks: type: string enum: - open - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213106,10 +213166,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213187,11 +213247,11 @@ x-webhooks: type: string enum: - reopen - alert: *725 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *727 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213390,10 +213450,10 @@ x-webhooks: enum: - fixed - open - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213471,7 +213531,7 @@ x-webhooks: type: string enum: - created - alert: &726 + alert: &728 type: object properties: number: *74 @@ -213551,10 +213611,19 @@ x-webhooks: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + nullable: true + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213635,11 +213704,11 @@ x-webhooks: type: string enum: - created - alert: *726 - installation: *661 - location: *727 - organization: *662 - repository: *663 + alert: *728 + installation: *663 + location: *729 + organization: *664 + repository: *665 sender: *19 required: - location @@ -213663,6 +213732,8 @@ x-webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -213815,6 +213886,88 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + sender: *19 + required: + - action + - alert + - repository + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -213875,11 +214028,11 @@ x-webhooks: type: string enum: - reopened - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -213957,11 +214110,11 @@ x-webhooks: type: string enum: - resolved - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -214039,11 +214192,11 @@ x-webhooks: type: string enum: - validated - alert: *726 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + alert: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -214119,11 +214272,11 @@ x-webhooks: type: string enum: - published - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - security_advisory: &728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + security_advisory: &730 description: The details of the security advisory, including summary, description, and severity. type: object @@ -214306,11 +214459,11 @@ x-webhooks: type: string enum: - updated - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 - security_advisory: *728 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 + security_advisory: *730 sender: *19 required: - action @@ -214383,10 +214536,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -214571,10 +214724,10 @@ x-webhooks: type: object properties: security_and_analysis: *244 - enterprise: *660 - installation: *661 - organization: *662 - repository: *303 + enterprise: *662 + installation: *663 + organization: *664 + repository: *305 sender: *19 required: - changes @@ -214652,12 +214805,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: &729 + sponsorship: &731 type: object properties: created_at: @@ -214958,12 +215111,12 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - sponsorship @@ -215051,12 +215204,12 @@ x-webhooks: type: string required: - from - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215133,17 +215286,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &730 + effective_date: &732 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - sponsorship @@ -215217,7 +215370,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &731 + changes: &733 type: object properties: tier: @@ -215261,13 +215414,13 @@ x-webhooks: - from required: - tier - effective_date: *730 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + effective_date: *732 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215344,13 +215497,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *731 - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + changes: *733 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - sponsorship: *729 + sponsorship: *731 required: - action - changes @@ -215424,10 +215577,10 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215510,10 +215663,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -215929,15 +216082,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *660 + enterprise: *662 id: description: The unique identifier of the status. type: integer - installation: *661 + installation: *663 name: type: string - organization: *662 - repository: *663 + organization: *664 + repository: *665 sender: *19 sha: description: The Commit SHA. @@ -216052,9 +216205,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216144,9 +216297,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216236,9 +216389,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216328,9 +216481,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *104 - installation: *661 - organization: *662 - repository: *663 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -216407,12 +216560,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - team: &732 + team: &734 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -216602,9 +216755,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -217062,7 +217215,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -217138,9 +217291,9 @@ x-webhooks: type: string enum: - created - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -217598,7 +217751,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -217675,9 +217828,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -218135,7 +218288,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -218279,9 +218432,9 @@ x-webhooks: - from required: - permissions - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -218739,7 +218892,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - changes @@ -218817,9 +218970,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *660 - installation: *661 - organization: *662 + enterprise: *662 + installation: *663 + organization: *664 repository: title: Repository description: A git repository @@ -219277,7 +219430,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *732 + team: *734 required: - action - team @@ -219353,10 +219506,10 @@ x-webhooks: type: string enum: - started - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 required: - action @@ -219429,16 +219582,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *660 + enterprise: *662 inputs: type: object nullable: true additionalProperties: true - installation: *661 - organization: *662 + installation: *663 + organization: *664 ref: type: string - repository: *663 + repository: *665 sender: *19 workflow: type: string @@ -219520,10 +219673,10 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: allOf: @@ -219760,7 +219913,7 @@ x-webhooks: type: string required: - conclusion - deployment: *433 + deployment: *435 required: - action - repository @@ -219839,10 +219992,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: allOf: @@ -220102,7 +220255,7 @@ x-webhooks: required: - status - steps - deployment: *433 + deployment: *435 required: - action - repository @@ -220181,10 +220334,10 @@ x-webhooks: type: string enum: - queued - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: type: object @@ -220319,7 +220472,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *435 required: - action - repository @@ -220398,10 +220551,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 workflow_job: type: object @@ -220537,7 +220690,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *433 + deployment: *435 required: - action - repository @@ -220617,12 +220770,12 @@ x-webhooks: type: string enum: - completed - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object @@ -221621,12 +221774,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object @@ -222610,12 +222763,12 @@ x-webhooks: type: string enum: - requested - enterprise: *660 - installation: *661 - organization: *662 - repository: *663 + enterprise: *662 + installation: *663 + organization: *664 + repository: *665 sender: *19 - workflow: *682 + workflow: *684 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 506fa25eb7..317f8eb555 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -4935,6 +4935,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -22869,6 +22875,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -57291,6 +57303,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -93948,6 +93966,99 @@ } } }, + "secret-scanning-alert-publicly-leaked": { + "post": { + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "secret_scanning_alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, "secret-scanning-alert-reopened": { "post": { "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", @@ -103268,6 +103379,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } }, @@ -106561,6 +106682,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -128096,6 +128223,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -145555,6 +145692,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -261845,6 +261992,41 @@ "payload" ] }, + "webhook-secret-scanning-alert-publicly-leaked": { + "title": "secret_scanning_alert publicly leaked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "publicly_leaked" + ] + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ] + }, "webhook-secret-scanning-alert-reopened": { "title": "secret_scanning_alert reopened event", "type": "object", @@ -275855,7 +276037,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -275941,7 +276125,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -295969,7 +296155,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -295988,7 +296176,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -296010,7 +296200,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-alert-resolved": { @@ -296050,7 +296242,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-location-list": { @@ -302868,7 +303062,9 @@ "resolved_at": null, "resolved_by": null, "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false }, "location": { "type": "commit", @@ -303417,6 +303613,26 @@ "type": "string" } }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "cost-center": { "name": "cost_center_id", "description": "The ID corresponding to the cost center.", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 57543e535e..3656d531dc 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -3497,6 +3497,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -16675,6 +16677,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -41648,6 +41652,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -67994,6 +68000,72 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -75230,6 +75302,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true actions-billing-usage: type: object properties: @@ -77733,6 +77814,14 @@ components: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -94358,6 +94447,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. + nullable: true secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -107695,6 +107793,15 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or business. + nullable: true webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -195239,6 +195346,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -206460,6 +206591,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -206542,6 +206675,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false actions-billing-usage: value: total_minutes_used: 305 @@ -223800,6 +223935,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -223817,6 +223954,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -223836,6 +223975,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -223873,6 +224014,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -229731,6 +229874,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -230233,6 +230378,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false cost-center: name: cost_center_id description: The ID corresponding to the cost center. diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 506fa25eb7..317f8eb555 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -4935,6 +4935,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -22869,6 +22875,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -57291,6 +57303,12 @@ }, { "$ref": "#/components/parameters/secret-scanning-alert-validity" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + }, + { + "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" } ], "responses": { @@ -93948,6 +93966,99 @@ } } }, + "secret-scanning-alert-publicly-leaked": { + "post": { + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "secret_scanning_alert", + "supported-webhook-types": [ + "repository", + "organization", + "app" + ] + } + } + }, "secret-scanning-alert-reopened": { "post": { "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", @@ -103268,6 +103379,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true } } }, @@ -106561,6 +106682,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -128096,6 +128223,16 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise.", + "nullable": true } } }, @@ -145555,6 +145692,16 @@ "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", "nullable": true + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the detected secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or business.", + "nullable": true } } }, @@ -261845,6 +261992,41 @@ "payload" ] }, + "webhook-secret-scanning-alert-publicly-leaked": { + "title": "secret_scanning_alert publicly leaked event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "publicly_leaked" + ] + }, + "alert": { + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + }, + "enterprise": { + "$ref": "#/components/schemas/enterprise-webhooks" + }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { + "$ref": "#/components/schemas/repository-webhooks" + }, + "sender": { + "$ref": "#/components/schemas/simple-user" + } + }, + "required": [ + "action", + "alert", + "repository" + ] + }, "webhook-secret-scanning-alert-reopened": { "title": "secret_scanning_alert reopened event", "type": "object", @@ -275855,7 +276037,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "active" + "validity": "active", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -275941,7 +276125,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -295969,7 +296155,9 @@ "push_protection_bypassed": true, "push_protection_bypassed_at": "2020-11-06T21:48:51Z", "resolution_comment": "Example comment", - "validity": "inactive" + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false }, { "number": 1, @@ -295988,7 +296176,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -296010,7 +296200,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-alert-resolved": { @@ -296050,7 +296242,9 @@ "push_protection_bypassed_by": null, "push_protection_bypassed_at": null, "resolution_comment": "Example comment", - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } }, "secret-scanning-location-list": { @@ -302868,7 +303062,9 @@ "resolved_at": null, "resolved_by": null, "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "publicly_leaked": false, + "multi_repo": false }, "location": { "type": "commit", @@ -303417,6 +303613,26 @@ "type": "string" } }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "cost-center": { "name": "cost_center_id", "description": "The ID corresponding to the cost center.", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 57543e535e..3656d531dc 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -3497,6 +3497,8 @@ paths: - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -16675,6 +16677,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -41648,6 +41652,8 @@ paths: - "$ref": "#/components/parameters/secret-scanning-pagination-before-org-repo" - "$ref": "#/components/parameters/secret-scanning-pagination-after-org-repo" - "$ref": "#/components/parameters/secret-scanning-alert-validity" + - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" + - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" responses: '200': description: Response @@ -67994,6 +68000,72 @@ x-webhooks: - repository - organization - app + secret-scanning-alert-publicly-leaked: + post: + summary: |- + This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning)." For information about the API to manage secret scanning alerts, see "[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)" in the REST API documentation. + + For activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event. + + To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission. + description: A secret scanning alert was detected in a public repo. + operationId: secret-scanning-alert/publicly-leaked + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: false + category: webhooks + subcategory: secret_scanning_alert + supported-webhook-types: + - repository + - organization + - app secret-scanning-alert-reopened: post: summary: |- @@ -75230,6 +75302,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true actions-billing-usage: type: object properties: @@ -77733,6 +77814,14 @@ components: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -94358,6 +94447,15 @@ components: - active - inactive - unknown + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. + nullable: true secret-scanning-alert-resolution-comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -107695,6 +107793,15 @@ components: description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' nullable: true + publicly_leaked: + type: boolean + description: Whether the detected secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or business. + nullable: true webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -195239,6 +195346,30 @@ components: type: string required: - payload + webhook-secret-scanning-alert-publicly-leaked: + title: secret_scanning_alert publicly leaked event + type: object + properties: + action: + type: string + enum: + - publicly_leaked + alert: + "$ref": "#/components/schemas/secret-scanning-alert-webhook" + enterprise: + "$ref": "#/components/schemas/enterprise-webhooks" + installation: + "$ref": "#/components/schemas/simple-installation" + organization: + "$ref": "#/components/schemas/organization-simple-webhooks" + repository: + "$ref": "#/components/schemas/repository-webhooks" + sender: + "$ref": "#/components/schemas/simple-user" + required: + - action + - alert + - repository webhook-secret-scanning-alert-reopened: title: secret_scanning_alert reopened event type: object @@ -206460,6 +206591,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: active + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -206542,6 +206675,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false actions-billing-usage: value: total_minutes_used: 305 @@ -223800,6 +223935,8 @@ components: push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment validity: inactive + publicly_leaked: false + multi_repo: false - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 @@ -223817,6 +223954,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -223836,6 +223975,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -223873,6 +224014,8 @@ components: push_protection_bypassed_at: resolution_comment: Example comment validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-location-list: value: - type: commit @@ -229731,6 +229874,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -230233,6 +230378,24 @@ components: required: false schema: type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false cost-center: name: cost_center_id description: The ID corresponding to the cost center. diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 2adfa57e9d..0334742b71 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -64271,6 +64271,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -64853,6 +64859,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -903924,9 +903936,6 @@ "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, "secret_type": "mailchimp_api_key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" }, diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 9af312c0c3..58cf4413a1 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -19248,6 +19248,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -190515,9 +190523,6 @@ x-webhooks: html_url: https://github.com/octocat-repo/hello-world/security/secret-scanning/42 locations_url: https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations state: open - resolution: - resolved_at: - resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 location: diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json index 2adfa57e9d..0334742b71 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -64271,6 +64271,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -64853,6 +64859,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -903924,9 +903936,6 @@ "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, "secret_type": "mailchimp_api_key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" }, diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 9af312c0c3..58cf4413a1 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -19248,6 +19248,14 @@ paths: type: integer example: 10000 nullable: true + collaborators: + type: integer + example: 8 + nullable: true + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. billing_email: type: string format: email @@ -190515,9 +190523,6 @@ x-webhooks: html_url: https://github.com/octocat-repo/hello-world/security/secret-scanning/42 locations_url: https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations state: open - resolution: - resolved_at: - resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 location: diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json index d4feb66956..ed145e6142 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json @@ -94563,6 +94563,12 @@ "example": 10000, "nullable": true }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, "billing_email": { "type": "string", "format": "email", @@ -272049,9 +272055,6 @@ "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}