diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 0e89e1233a..00e2e65464 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2402,6 +2402,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": { @@ -18566,6 +18572,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": { @@ -52682,6 +52694,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": { @@ -86640,6 +86658,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.", @@ -95309,6 +95420,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } }, @@ -98585,6 +98710,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -122117,6 +122252,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -138909,6 +139058,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -259704,6 +259867,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", @@ -273250,7 +273448,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, @@ -273336,7 +273536,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -293544,7 +293746,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, @@ -293563,7 +293767,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -293585,7 +293791,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": { @@ -293625,7 +293833,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": { @@ -300087,7 +300297,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", @@ -300510,6 +300722,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 5f81440448..0eb2a533aa 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -1668,6 +1668,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 @@ -13491,6 +13493,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 @@ -38188,6 +38192,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 @@ -62542,6 +62548,72 @@ 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: |- @@ -69012,6 +69084,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. actor: title: Actor description: Actor @@ -71336,6 +71419,16 @@ components: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -88360,6 +88453,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. 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`. @@ -100799,6 +100903,17 @@ components: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or business. webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -190615,6 +190730,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 @@ -201391,6 +201530,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 @@ -201473,6 +201614,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' @@ -218895,6 +219038,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 @@ -218912,6 +219057,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -218931,6 +219078,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -218968,6 +219117,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 @@ -224584,6 +224735,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -224970,6 +225123,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 0e89e1233a..00e2e65464 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2402,6 +2402,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": { @@ -18566,6 +18572,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": { @@ -52682,6 +52694,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": { @@ -86640,6 +86658,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.", @@ -95309,6 +95420,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } }, @@ -98585,6 +98710,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -122117,6 +122252,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -138909,6 +139058,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -259704,6 +259867,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", @@ -273250,7 +273448,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, @@ -273336,7 +273536,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -293544,7 +293746,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, @@ -293563,7 +293767,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -293585,7 +293791,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": { @@ -293625,7 +293833,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": { @@ -300087,7 +300297,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", @@ -300510,6 +300722,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 5f81440448..0eb2a533aa 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -1668,6 +1668,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 @@ -13491,6 +13493,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 @@ -38188,6 +38192,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 @@ -62542,6 +62548,72 @@ 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: |- @@ -69012,6 +69084,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. actor: title: Actor description: Actor @@ -71336,6 +71419,16 @@ components: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -88360,6 +88453,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. 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`. @@ -100799,6 +100903,17 @@ components: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or business. webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -190615,6 +190730,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 @@ -201391,6 +201530,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 @@ -201473,6 +201614,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' @@ -218895,6 +219038,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 @@ -218912,6 +219057,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -218931,6 +219078,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -218968,6 +219117,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 @@ -224584,6 +224735,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -224970,6 +225123,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 98be9a78eb..dc52c2dbd7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -21093,6 +21093,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": { @@ -22119,6 +22139,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -22248,7 +22282,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, @@ -22334,7 +22370,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -54295,6 +54333,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -55032,6 +55080,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -139189,6 +139247,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": { @@ -140215,6 +140293,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -140344,7 +140436,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, @@ -140430,7 +140524,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -449867,6 +449963,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": { @@ -450342,6 +450458,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } } @@ -450404,7 +450534,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, @@ -450423,7 +450555,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -450978,635 +451112,20 @@ "inactive", "unknown" ] - } - } - }, - "examples": { - "default": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null, - "validity": "unknown" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "404": { - "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - }, - "patch": { - "summary": "Update a secret scanning alert", - "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", - "operationId": "secret-scanning/update-alert", - "tags": [ - "secret-scanning" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "alert_number", - "in": "path", - "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", - "required": true, - "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "state" - ] - }, - "examples": { - "default": { - "value": { - "state": "resolved", - "resolution": "false_positive" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "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." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "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).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." }, - "push_protection_bypassed": { + "publicly_leaked": { "type": [ "boolean", "null" ], - "description": "Whether push protection was bypassed for the detected secret." + "description": "Whether the detected secret was publicly leaked." }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "push_protection_bypassed_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -451618,52 +451137,699 @@ "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "resolved", - "resolution": "used_in_tests", - "resolved_at": "2020-11-16T22:42:07Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, "push_protection_bypassed_by": null, + "push_protection_bypassed": false, "push_protection_bypassed_at": null, - "resolution_comment": "Example comment", - "validity": "unknown" + "resolution_comment": null, + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } } } }, - "400": { - "description": "Bad request, resolution comment is invalid or the resolution was not changed." + "304": { + "description": "Not modified" }, "404": { "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, - "422": { - "description": "State does not match the resolution or resolution comment" - }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "secret-scanning" + } + }, + "patch": { + "summary": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "operationId": "secret-scanning/update-alert", + "tags": [ + "secret-scanning" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "required": true, + "schema": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolution_comment": { + "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "state" + ] + }, + "examples": { + "default": { + "value": { + "state": "resolved", + "resolution": "false_positive" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + }, + "created_at": { + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] + }, + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "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." + }, + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "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).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + } + } + }, + "examples": { + "default": { + "value": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "state": "resolved", + "resolution": "used_in_tests", + "resolved_at": "2020-11-16T22:42:07Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "push_protection_bypassed": false, + "push_protection_bypassed_by": null, + "push_protection_bypassed_at": null, + "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." + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "422": { + "description": "State does not match the resolution or resolution comment" + }, "503": { "description": "Service unavailable", "content": { @@ -1189416,205 +1189582,2185 @@ "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", + "null" + ] + }, + "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "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", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 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", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "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", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + "\"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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", - "null" - ] - }, - "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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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": { @@ -1191491,7 +1193637,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1191517,13 +1193662,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": [ { @@ -1191588,15 +1193733,187 @@ "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", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], + "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).\"", @@ -1193471,6 +1195788,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1193486,21 +1195804,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" }, @@ -1193567,13 +1195883,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": { @@ -1193584,6 +1195900,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1193603,6 +1195922,12 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": [ + "string", + "null" + ] + }, "dismiss_reason": { "type": "string" }, @@ -1193702,6 +1196027,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1193743,7 +1196071,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1195646,11 +1197974,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" }, @@ -1195717,13 +1198045,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": { @@ -1195734,9 +1198062,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1195756,12 +1198081,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": [ - "string", - "null" - ] - }, "dismiss_reason": { "type": "string" }, @@ -1195861,9 +1198180,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1195905,7 +1198221,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1197808,11 +1200124,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" }, @@ -1197879,13 +1200195,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": { @@ -1198055,6 +1200371,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1199958,13 +1202275,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": [ { @@ -1200029,185 +1202346,485 @@ "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": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", + "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": [ - "object", + "string", "null" ], - "required": [ - "login", - "id" + "description": "The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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" + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" ] - }, - "url": { - "type": "string", - "format": "uri" } - } - }, - "external_identifier": { - "type": "string" + ] }, - "external_reference": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "uri" - }, - "fix_reason": { - "type": "string" + "description": "An optional comment to resolve an alert." }, - "fixed_at": { + "secret_type": { "type": "string", - "format": "date-time" + "description": "The type of secret that secret scanning detected." }, - "fixed_in": { - "type": "string" + "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).\"" }, - "ghsa_id": { - "type": "string" + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "id": { - "type": "integer" + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." }, - "node_id": { - "type": "string" + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] }, - "number": { - "type": "integer" + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1202086,8 +1204703,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1202101,21 +1204717,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": [ { @@ -1202180,7 +1204797,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1202645,98 +1205262,22 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "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", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { + "publicly_leaked": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] + "description": "Whether the detected secret was publicly leaked." }, - "updated_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1202763,6 +1205304,354 @@ "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.", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", @@ -1204521,10 +1207410,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" + } + } } } } @@ -1204536,8 +1207600,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1204546,13 +1207611,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": [ { @@ -1204617,13 +1207682,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": { @@ -1205082,9 +1208147,113 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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).\"", @@ -1205110,354 +1208279,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.", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", @@ -1207216,183 +1210037,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" - } - } } } } @@ -1207404,9 +1210052,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1207951,6 +1210598,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1210388,6 +1213049,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1212825,6 +1215500,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 2e8f751dc2..c8cf14cc41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &209 + type: &211 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &510 + - &512 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8085,7 +8085,7 @@ paths: - development - runtime - - security_advisory: &366 + security_advisory: &368 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8352,7 +8352,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &367 + auto_dismissed_at: &369 type: - string - 'null' @@ -9099,6 +9099,24 @@ paths: required: false schema: type: string + - &207 + 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 + - &208 + 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 @@ -9106,7 +9124,7 @@ paths: application/json: schema: type: array - items: &207 + items: &209 type: object properties: number: *46 @@ -9122,14 +9140,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &503 + state: &505 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: &504 + resolution: &506 type: - string - 'null' @@ -9194,8 +9212,19 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. examples: - default: &208 + default: &210 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9315,6 +9344,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 @@ -9397,6 +9428,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *37 '404': *6 @@ -9760,7 +9793,7 @@ paths: milestone: anyOf: - type: 'null' - - &354 + - &356 title: Milestone description: A collection of related issues and pull requests. @@ -10010,7 +10043,7 @@ paths: - author_association - created_at - updated_at - comment: &413 + comment: &415 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10578,7 +10611,7 @@ paths: url: type: string format: uri - user: &533 + user: &535 title: Public User description: Public User type: object @@ -13909,14 +13942,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &225 + - &227 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &226 + - &228 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13987,7 +14020,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &237 + '301': &239 description: Moved permanently content: application/json: @@ -14009,7 +14042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &441 + - &443 name: all description: If `true`, show notifications marked as read. in: query @@ -14017,7 +14050,7 @@ paths: schema: type: boolean default: false - - &442 + - &444 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14027,7 +14060,7 @@ paths: type: boolean default: false - *59 - - &443 + - &445 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: @@ -14545,7 +14578,7 @@ paths: - url - subscription_url examples: - default: &444 + default: &446 value: - id: '1' repository: @@ -15096,7 +15129,7 @@ paths: type: array items: *85 examples: - default: &550 + default: &552 value: - login: github id: 1 @@ -15296,6 +15329,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -15923,7 +15966,7 @@ paths: type: integer repository_cache_usages: type: array - items: &242 + items: &244 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16096,7 +16139,7 @@ paths: - all - local_only - selected - selected_actions_url: &248 + selected_actions_url: &250 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` @@ -16186,7 +16229,7 @@ paths: type: array items: *54 examples: - default: &544 + default: &546 value: total_count: 1 repositories: @@ -16514,7 +16557,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &254 type: object properties: default_workflow_permissions: &99 @@ -16565,7 +16608,7 @@ paths: required: false content: application/json: - schema: &253 + schema: &255 type: object properties: default_workflow_permissions: *99 @@ -17003,7 +17046,7 @@ paths: type: array items: *105 examples: - default: &536 + default: &538 value: total_count: 1 repositories: @@ -17646,7 +17689,7 @@ paths: application/json: schema: type: array - items: &254 + items: &256 title: Runner Application description: Runner Application type: object @@ -17671,7 +17714,7 @@ paths: - download_url - filename examples: - default: &255 + default: &257 value: - os: osx architecture: x64 @@ -17757,7 +17800,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &256 + '201': &258 description: Response content: application/json: @@ -17871,7 +17914,7 @@ paths: - token - expires_at examples: - default: &257 + default: &259 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17910,7 +17953,7 @@ paths: application/json: schema: *109 examples: - default: &258 + default: &260 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17944,7 +17987,7 @@ paths: application/json: schema: *107 examples: - default: &259 + default: &261 value: id: 23 name: MBP @@ -18168,7 +18211,7 @@ paths: - *86 - *106 responses: - '200': &260 + '200': &262 description: Response content: application/json: @@ -18225,7 +18268,7 @@ paths: parameters: - *86 - *106 - - &261 + - &263 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18357,7 +18400,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18392,7 +18435,7 @@ paths: - key_id - key examples: - default: &274 + default: &276 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18803,7 +18846,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *86 - - &247 + - &249 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)." @@ -19333,7 +19376,7 @@ paths: repository_id: type: integer examples: - default: &287 + default: &289 value: attestations: - bundle: @@ -19570,7 +19613,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *86 - - &312 + - &314 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`, @@ -19580,7 +19623,7 @@ paths: schema: &121 type: string description: The name of the tool used to generate the code scanning analysis. - - &313 + - &315 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 @@ -19604,7 +19647,7 @@ paths: be returned. in: query required: false - schema: &315 + schema: &317 type: string description: State of a code scanning alert. enum: @@ -19627,7 +19670,7 @@ paths: be returned. in: query required: false - schema: &316 + schema: &318 type: string description: Severity of a code scanning alert. enum: @@ -19653,7 +19696,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &317 + instances_url: &319 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19672,7 +19715,7 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: &318 + dismissed_reason: &320 type: - string - 'null' @@ -19683,14 +19726,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &319 + dismissed_comment: &321 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &320 + rule: &322 type: object properties: id: @@ -19751,7 +19794,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &321 + tool: &323 type: object properties: name: *121 @@ -19762,15 +19805,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *122 - most_recent_instance: &322 + most_recent_instance: &324 type: object properties: - ref: &314 + ref: &316 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &328 + analysis_key: &330 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19781,7 +19824,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &329 + category: &331 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21227,7 +21270,7 @@ paths: machine: anyOf: - type: 'null' - - &342 + - &344 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22179,7 +22222,7 @@ paths: - updated_at - visibility examples: - default: &343 + default: &345 value: total_count: 2 secrets: @@ -22217,7 +22260,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &346 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22252,7 +22295,7 @@ paths: - key_id - key examples: - default: &345 + default: &347 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22284,7 +22327,7 @@ paths: application/json: schema: *129 examples: - default: &347 + default: &349 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23313,7 +23356,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23332,7 +23375,7 @@ paths: - key_id - key examples: - default: &371 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24630,7 +24673,7 @@ paths: application/json: schema: *20 examples: - default: &409 + default: &411 value: id: 1 account: @@ -24858,7 +24901,7 @@ paths: required: true content: application/json: - schema: &410 + schema: &412 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -25470,7 +25513,7 @@ paths: application/json: schema: *162 examples: - default: &341 + default: &343 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26705,7 +26748,7 @@ paths: parameters: - *86 - *168 - - &549 + - &551 name: repo_name description: repo_name parameter in: path @@ -27694,7 +27737,7 @@ paths: - nuget - container - *86 - - &551 + - &553 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27735,7 +27778,7 @@ paths: default: *175 '403': *27 '401': *23 - '400': &553 + '400': &555 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29100,7 +29143,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &234 + '410': &236 description: Gone content: application/json: @@ -29994,7 +30037,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &238 title: Full Repository description: Full Repository type: object @@ -30459,7 +30502,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &360 + code_of_conduct: &362 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -30573,7 +30616,7 @@ paths: - network_count - subscribers_count examples: - default: &238 + default: &240 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31094,7 +31137,7 @@ paths: - *86 - *17 - *18 - - &490 + - &492 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31377,7 +31420,7 @@ paths: type: object description: A repository rule. oneOf: - - &472 + - &474 title: creation description: Only allow users with bypass permission to create matching refs. @@ -31389,7 +31432,7 @@ paths: type: string enum: - creation - - &473 + - &475 title: update description: Only allow users with bypass permission to update matching refs. @@ -31410,7 +31453,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &475 + - &477 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -31422,7 +31465,7 @@ paths: type: string enum: - deletion - - &476 + - &478 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -31434,7 +31477,7 @@ paths: type: string enum: - required_linear_history - - &477 + - &479 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -31512,7 +31555,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &478 + - &480 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -31536,7 +31579,7 @@ paths: type: string required: - required_deployment_environments - - &479 + - &481 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -31548,7 +31591,7 @@ paths: type: string enum: - required_signatures - - &480 + - &482 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -31594,7 +31637,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &481 + - &483 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -31642,7 +31685,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &482 + - &484 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -31654,7 +31697,7 @@ paths: type: string enum: - non_fast_forward - - &483 + - &485 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -31690,7 +31733,7 @@ paths: required: - operator - pattern - - &484 + - &486 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -31726,7 +31769,7 @@ paths: required: - operator - pattern - - &485 + - &487 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -31762,7 +31805,7 @@ paths: required: - operator - pattern - - &486 + - &488 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -31798,7 +31841,7 @@ paths: required: - operator - pattern - - &487 + - &489 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31924,7 +31967,7 @@ paths: maximum: 100 required: - max_file_size - - &488 + - &490 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31974,7 +32017,7 @@ paths: - repository_id required: - workflows - - &489 + - &491 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32211,7 +32254,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *86 - - &491 + - &493 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 @@ -32227,7 +32270,7 @@ paths: in: query schema: type: integer - - &492 + - &494 name: time_period description: |- The time period to filter by. @@ -32243,14 +32286,14 @@ paths: - week - month default: day - - &493 + - &495 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 - - &494 + - &496 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32270,7 +32313,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &497 title: Rule Suites description: Response type: array @@ -32326,7 +32369,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &496 + default: &498 value: - id: 21 actor_id: 12 @@ -32370,7 +32413,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *86 - - &497 + - &499 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -32386,7 +32429,7 @@ paths: description: Response content: application/json: - schema: &498 + schema: &500 title: Rule Suite description: Response type: object @@ -32493,7 +32536,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &499 + default: &501 value: id: 21 actor_id: 12 @@ -32711,7 +32754,7 @@ paths: - *40 - *18 - *17 - - &501 + - &503 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 @@ -32721,7 +32764,7 @@ paths: required: false schema: type: string - - &502 + - &504 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 @@ -32732,6 +32775,8 @@ paths: schema: type: string - *206 + - *207 + - *208 responses: '200': description: Response @@ -32739,9 +32784,9 @@ paths: application/json: schema: type: array - items: *207 + items: *209 examples: - default: *208 + default: *210 headers: Link: *37 '404': *6 @@ -32811,7 +32856,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 description: A repository security advisory. type: object properties: @@ -33055,7 +33100,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 credits_detailed: type: - array @@ -33066,7 +33111,7 @@ paths: type: object properties: user: *4 - type: *209 + type: *211 state: type: string description: The state of the user's acceptance of the @@ -33130,7 +33175,7 @@ paths: - private_fork additionalProperties: false examples: - default: &509 + default: &511 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -33604,7 +33649,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &569 type: object properties: total_minutes_used: @@ -33674,7 +33719,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &568 + default: &570 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -33710,7 +33755,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object properties: total_gigabytes_bandwidth_used: @@ -33728,7 +33773,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &570 + default: &572 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -33760,7 +33805,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 type: object properties: days_left_in_billing_cycle: @@ -33778,7 +33823,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &572 + default: &574 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33979,7 +34024,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &212 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34359,7 +34404,7 @@ paths: - repos_count - organization examples: - default: &211 + default: &213 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34436,9 +34481,9 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -34523,16 +34568,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '201': description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 '422': *15 '403': *27 @@ -34602,7 +34647,7 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -34713,7 +34758,7 @@ paths: - updated_at - url examples: - default: &523 + default: &525 value: - author: login: octocat @@ -34822,9 +34867,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: &213 + default: &215 value: author: login: octocat @@ -34898,7 +34943,7 @@ paths: parameters: - *86 - *169 - - &214 + - &216 name: discussion_number description: The number that identifies the discussion. in: path @@ -34910,9 +34955,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34936,7 +34981,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: false content: @@ -34959,9 +35004,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: &524 + default: &526 value: author: login: octocat @@ -35033,7 +35078,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 responses: '204': description: Response @@ -35061,7 +35106,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 - *40 - *17 - *18 @@ -35072,7 +35117,7 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35152,7 +35197,7 @@ paths: - updated_at - url examples: - default: &525 + default: &527 value: - author: login: octocat @@ -35222,7 +35267,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: true content: @@ -35244,9 +35289,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &216 + default: &218 value: author: login: octocat @@ -35314,8 +35359,8 @@ paths: parameters: - *86 - *169 - - *214 - - &217 + - *216 + - &219 name: comment_number description: The number that identifies the comment. in: path @@ -35327,9 +35372,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35353,8 +35398,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 requestBody: required: true content: @@ -35376,9 +35421,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &526 + default: &528 value: author: login: octocat @@ -35444,8 +35489,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 responses: '204': description: Response @@ -35473,8 +35518,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 - 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. @@ -35500,7 +35545,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35544,7 +35589,7 @@ paths: - content - created_at examples: - default: &220 + default: &222 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35596,8 +35641,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 requestBody: required: true content: @@ -35630,9 +35675,9 @@ paths: team discussion comment content: application/json: - schema: *218 + schema: *220 examples: - default: &219 + default: &221 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35661,9 +35706,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35688,9 +35733,9 @@ paths: parameters: - *86 - *169 - - *214 - - *217 - - &221 + - *216 + - *219 + - &223 name: reaction_id description: The unique identifier of the reaction. in: path @@ -35724,7 +35769,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 - 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. @@ -35750,9 +35795,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -35780,7 +35825,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: true content: @@ -35812,16 +35857,16 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35846,8 +35891,8 @@ paths: parameters: - *86 - *169 - - *214 - - *221 + - *216 + - *223 responses: '204': description: Response @@ -35968,7 +36013,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Team Membership description: Team Membership type: object @@ -35996,7 +36041,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &527 + response-if-user-is-a-team-maintainer: &529 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36059,9 +36104,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-users-membership-with-team-is-now-pending: &528 + response-if-users-membership-with-team-is-now-pending: &530 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36135,7 +36180,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 title: Team Project description: A team's access to a project. type: object @@ -36204,7 +36249,7 @@ paths: - updated_at - permissions examples: - default: &529 + default: &531 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36267,7 +36312,7 @@ paths: parameters: - *86 - *169 - - &224 + - &226 name: project_id description: The unique identifier of the project. in: path @@ -36279,9 +36324,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: &530 + default: &532 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36343,7 +36388,7 @@ paths: parameters: - *86 - *169 - - *224 + - *226 requestBody: required: false content: @@ -36410,7 +36455,7 @@ paths: parameters: - *86 - *169 - - *224 + - *226 responses: '204': description: Response @@ -36478,14 +36523,14 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &531 + schema: &533 title: Team Repository description: A team's access to a repository. type: object @@ -37128,8 +37173,8 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -37176,8 +37221,8 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -37214,7 +37259,7 @@ paths: type: array items: *158 examples: - response-if-child-teams-exist: &532 + response-if-child-teams-exist: &534 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37338,7 +37383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &227 + - &229 name: card_id description: The unique identifier of the card. in: path @@ -37350,7 +37395,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &230 title: Project Card description: Project cards represent a scope of work. type: object @@ -37425,7 +37470,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &231 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37475,7 +37520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *227 + - *229 requestBody: required: false content: @@ -37505,9 +37550,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '304': *35 '403': *27 '401': *23 @@ -37528,7 +37573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *227 + - *229 responses: '204': description: Response @@ -37566,7 +37611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *227 + - *229 requestBody: required: true content: @@ -37673,7 +37718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &230 + - &232 name: column_id description: The unique identifier of the column. in: path @@ -37685,7 +37730,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &233 title: Project Column description: Project columns contain cards of work. type: object @@ -37739,7 +37784,7 @@ paths: - created_at - updated_at examples: - default: &232 + default: &234 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -37768,7 +37813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *230 + - *232 requestBody: required: true content: @@ -37793,9 +37838,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '304': *35 '403': *27 '401': *23 @@ -37814,7 +37859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *230 + - *232 responses: '204': description: Response @@ -37837,7 +37882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *230 + - *232 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -37858,7 +37903,7 @@ paths: application/json: schema: type: array - items: *228 + items: *230 examples: default: value: @@ -37911,7 +37956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *230 + - *232 requestBody: required: true content: @@ -37955,9 +38000,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '304': *35 '403': *27 '401': *23 @@ -38007,7 +38052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *230 + - *232 requestBody: required: true content: @@ -38064,7 +38109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *224 + - *226 responses: '200': description: Response @@ -38072,7 +38117,7 @@ paths: application/json: schema: *187 examples: - default: &233 + default: &235 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38125,7 +38170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *224 + - *226 requestBody: required: false content: @@ -38176,7 +38221,7 @@ paths: application/json: schema: *187 examples: - default: *233 + default: *235 '404': description: Not Found if the authenticated user does not have access to the project @@ -38197,7 +38242,7 @@ paths: items: type: string '401': *23 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -38215,7 +38260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *224 + - *226 responses: '204': description: Delete Success @@ -38236,7 +38281,7 @@ paths: items: type: string '401': *23 - '410': *234 + '410': *236 '404': *6 x-github: githubCloudOnly: false @@ -38259,7 +38304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *224 + - *226 - 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 @@ -38311,7 +38356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *224 + - *226 - *118 requestBody: required: false @@ -38361,7 +38406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *224 + - *226 - *118 responses: '204': @@ -38390,7 +38435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *224 + - *226 - *118 responses: '200': @@ -38455,7 +38500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *224 + - *226 - *17 - *18 responses: @@ -38465,7 +38510,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -38497,7 +38542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *224 + - *226 requestBody: required: true content: @@ -38521,7 +38566,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: default: value: @@ -38582,7 +38627,7 @@ paths: resources: type: object properties: - core: &235 + core: &237 title: Rate Limit type: object properties: @@ -38599,19 +38644,19 @@ paths: - remaining - reset - used - graphql: *235 - search: *235 - code_search: *235 - source_import: *235 - integration_manifest: *235 - code_scanning_upload: *235 - actions_runner_registration: *235 - scim: *235 - dependency_snapshots: *235 + graphql: *237 + search: *237 + code_search: *237 + source_import: *237 + integration_manifest: *237 + code_scanning_upload: *237 + actions_runner_registration: *237 + scim: *237 + dependency_snapshots: *237 required: - core - search - rate: *235 + rate: *237 required: - rate - resources @@ -38710,14 +38755,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default-response: summary: Default response @@ -39218,7 +39263,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *237 + '301': *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39236,8 +39281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -39474,10 +39519,10 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 - '307': &239 + default: *240 + '307': &241 description: Temporary Redirect content: application/json: @@ -39506,8 +39551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -39529,7 +39574,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *239 + '307': *241 '404': *6 x-github: githubCloudOnly: false @@ -39552,11 +39597,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - - &265 + - &267 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39579,7 +39624,7 @@ paths: type: integer artifacts: type: array - items: &240 + items: &242 title: Artifact description: An artifact type: object @@ -39665,7 +39710,7 @@ paths: - expires_at - updated_at examples: - default: &266 + default: &268 value: total_count: 2 artifacts: @@ -39724,9 +39769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *225 - - *226 - - &241 + - *227 + - *228 + - &243 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39738,7 +39783,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: default: value: @@ -39775,9 +39820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *225 - - *226 - - *241 + - *227 + - *228 + - *243 responses: '204': description: Response @@ -39801,9 +39846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *225 - - *226 - - *241 + - *227 + - *228 + - *243 - name: archive_format in: path required: true @@ -39817,7 +39862,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': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39840,14 +39885,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: default: value: @@ -39873,11 +39918,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - - &243 + - &245 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 @@ -39911,7 +39956,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &246 title: Repository actions caches description: Repository actions caches type: object @@ -39961,7 +40006,7 @@ paths: - total_count - actions_caches examples: - default: &245 + default: &247 value: total_count: 1 actions_caches: @@ -39993,23 +40038,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: - - *225 - - *226 + - *227 + - *228 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *243 + - *245 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40029,8 +40074,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: - - *225 - - *226 + - *227 + - *228 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40061,9 +40106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *225 - - *226 - - &246 + - *227 + - *228 + - &248 name: job_id description: The unique identifier of the job. in: path @@ -40075,7 +40120,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &271 title: Job description: Information of a job execution in a workflow run type: object @@ -40422,9 +40467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *225 - - *226 - - *246 + - *227 + - *228 + - *248 responses: '302': description: Response @@ -40452,9 +40497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *225 - - *226 - - *246 + - *227 + - *228 + - *248 requestBody: required: false content: @@ -40500,8 +40545,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Status response @@ -40551,8 +40596,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -40615,8 +40660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -40634,7 +40679,7 @@ paths: type: integer secrets: type: array - items: &271 + items: &273 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40655,7 +40700,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &274 value: total_count: 2 secrets: @@ -40688,9 +40733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *225 - - *226 - - *247 + - *227 + - *228 + - *249 - *18 responses: '200': @@ -40707,7 +40752,7 @@ paths: type: integer variables: type: array - items: &275 + items: &277 title: Actions Variable type: object properties: @@ -40741,7 +40786,7 @@ paths: - created_at - updated_at examples: - default: &276 + default: &278 value: total_count: 2 variables: @@ -40774,8 +40819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -40784,11 +40829,11 @@ paths: schema: type: object properties: - enabled: &249 + enabled: &251 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *95 - selected_actions_url: *248 + selected_actions_url: *250 required: - enabled examples: @@ -40815,8 +40860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -40827,7 +40872,7 @@ paths: schema: type: object properties: - enabled: *249 + enabled: *251 allowed_actions: *95 required: - enabled @@ -40857,14 +40902,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &250 + schema: &252 type: object properties: access_level: @@ -40881,7 +40926,7 @@ paths: required: - access_level examples: - default: &251 + default: &253 value: access_level: organization x-github: @@ -40905,15 +40950,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: application/json: - schema: *250 + schema: *252 examples: - default: *251 + default: *253 responses: '204': description: Response @@ -40937,8 +40982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -40965,8 +41010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -40998,14 +41043,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: default: *101 x-github: @@ -41028,8 +41073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Success response @@ -41040,7 +41085,7 @@ paths: required: true content: application/json: - schema: *253 + schema: *255 examples: default: *101 x-github: @@ -41069,8 +41114,8 @@ paths: in: query schema: type: string - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -41114,8 +41159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -41123,9 +41168,9 @@ paths: application/json: schema: type: array - items: *254 + items: *256 examples: - default: *255 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41147,8 +41192,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -41191,7 +41236,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *256 + '201': *258 '404': *6 '422': *7 x-github: @@ -41221,8 +41266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -41230,7 +41275,7 @@ paths: application/json: schema: *109 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41258,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -41267,7 +41312,7 @@ paths: application/json: schema: *109 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41289,8 +41334,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '200': @@ -41299,7 +41344,7 @@ paths: application/json: schema: *107 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41320,8 +41365,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '204': @@ -41347,8 +41392,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '200': *111 @@ -41373,8 +41418,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: - - *225 - - *226 + - *227 + - *228 - *106 requestBody: required: true @@ -41423,8 +41468,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: - - *225 - - *226 + - *227 + - *228 - *106 requestBody: required: true @@ -41474,11 +41519,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: - '200': *260 + '200': *262 '404': *6 x-github: githubCloudOnly: false @@ -41505,10 +41550,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: - - *225 - - *226 + - *227 + - *228 - *106 - - *261 + - *263 responses: '200': *111 '404': *6 @@ -41536,9 +41581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *225 - - *226 - - &279 + - *227 + - *228 + - &281 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. @@ -41546,7 +41591,7 @@ paths: required: false schema: type: string - - &280 + - &282 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41554,7 +41599,7 @@ paths: required: false schema: type: string - - &281 + - &283 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41563,7 +41608,7 @@ paths: required: false schema: type: string - - &282 + - &284 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 @@ -41590,7 +41635,7 @@ paths: - pending - *17 - *18 - - &283 + - &285 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)." @@ -41599,7 +41644,7 @@ paths: schema: type: string format: date-time - - &262 + - &264 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41608,13 +41653,13 @@ paths: schema: type: boolean default: false - - &284 + - &286 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &285 + - &287 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41637,7 +41682,7 @@ paths: type: integer workflow_runs: type: array - items: &263 + items: &265 title: Workflow Run description: An invocation of a workflow type: object @@ -41754,7 +41799,7 @@ paths: type: - array - 'null' - items: &304 + items: &306 title: Pull Request Minimal type: object properties: @@ -41881,7 +41926,7 @@ paths: head_commit: anyOf: - type: 'null' - - &308 + - &310 title: Simple Commit description: A commit. type: object @@ -41996,7 +42041,7 @@ paths: - workflow_url - pull_requests examples: - default: &286 + default: &288 value: total_count: 1 workflow_runs: @@ -42232,24 +42277,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *225 - - *226 - - &264 + - *227 + - *228 + - &266 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: &267 + default: &269 value: id: 30433642 name: Build @@ -42490,9 +42535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '204': description: Response @@ -42515,9 +42560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -42645,9 +42690,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: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '201': description: Response @@ -42680,12 +42725,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 - *17 - *18 - - *265 + - *267 responses: '200': description: Response @@ -42701,9 +42746,9 @@ paths: type: integer artifacts: type: array - items: *240 + items: *242 examples: - default: *266 + default: *268 headers: Link: *37 x-github: @@ -42727,25 +42772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *225 - - *226 - - *264 - - &268 + - *227 + - *228 + - *266 + - &270 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *267 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42768,10 +42813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *225 - - *226 - - *264 - - *268 + - *227 + - *228 + - *266 + - *270 - *17 - *18 responses: @@ -42789,9 +42834,9 @@ paths: type: integer jobs: type: array - items: *269 + items: *271 examples: - default: &270 + default: &272 value: total_count: 1 jobs: @@ -42904,10 +42949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *225 - - *226 - - *264 - - *268 + - *227 + - *228 + - *266 + - *270 responses: '302': description: Response @@ -42935,9 +42980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '202': description: Response @@ -42970,9 +43015,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: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: true content: @@ -43039,9 +43084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '202': description: Response @@ -43074,9 +43119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 - 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 @@ -43106,9 +43151,9 @@ paths: type: integer jobs: type: array - items: *269 + items: *271 examples: - default: *270 + default: *272 headers: Link: *37 x-github: @@ -43133,9 +43178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '302': description: Response @@ -43162,9 +43207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '204': description: Response @@ -43191,9 +43236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -43262,7 +43307,7 @@ paths: items: type: object properties: - type: &379 + type: &381 type: string description: The type of reviewer. enum: @@ -43348,9 +43393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: true content: @@ -43400,7 +43445,7 @@ paths: application/json: schema: type: array - items: &374 + items: &376 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43512,7 +43557,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43568,9 +43613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: false content: @@ -43615,9 +43660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: false content: @@ -43664,9 +43709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -43803,8 +43848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -43822,9 +43867,9 @@ paths: type: integer secrets: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 headers: Link: *37 x-github: @@ -43849,16 +43894,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43880,17 +43925,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &392 + default: &394 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43916,8 +43961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -43972,8 +44017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -43999,9 +44044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *225 - - *226 - - *247 + - *227 + - *228 + - *249 - *18 responses: '200': @@ -44018,9 +44063,9 @@ paths: type: integer variables: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 headers: Link: *37 x-github: @@ -44043,8 +44088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -44096,17 +44141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &393 + default: &395 value: name: USERNAME value: octocat @@ -44132,8 +44177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 requestBody: required: true @@ -44176,8 +44221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 responses: '204': @@ -44203,8 +44248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -44222,7 +44267,7 @@ paths: type: integer workflows: type: array - items: &277 + items: &279 title: Workflow description: A GitHub Actions workflow type: object @@ -44340,9 +44385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *225 - - *226 - - &278 + - *227 + - *228 + - &280 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44357,7 +44402,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: default: value: @@ -44390,9 +44435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44417,9 +44462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44470,9 +44515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44497,19 +44542,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *225 - - *226 - - *278 - - *279 + - *227 + - *228 - *280 - *281 - *282 - - *17 - - *18 - *283 - - *262 - *284 + - *17 + - *18 - *285 + - *264 + - *286 + - *287 responses: '200': description: Response @@ -44525,9 +44570,9 @@ paths: type: integer workflow_runs: type: array - items: *263 + items: *265 examples: - default: *286 + default: *288 headers: Link: *37 x-github: @@ -44553,9 +44598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '200': description: Response @@ -44616,8 +44661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *225 - - *226 + - *227 + - *228 - *40 - *17 - *41 @@ -44785,8 +44830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -44823,8 +44868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *225 - - *226 + - *227 + - *228 - name: assignee in: path required: true @@ -44860,8 +44905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -44973,8 +45018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *41 - *42 @@ -45018,7 +45063,7 @@ paths: repository_id: type: integer examples: - default: *287 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45038,8 +45083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -45047,7 +45092,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Autolink reference description: An autolink reference. type: object @@ -45101,8 +45146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -45141,9 +45186,9 @@ paths: description: response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 1 key_prefix: TICKET- @@ -45174,9 +45219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *225 - - *226 - - &290 + - *227 + - *228 + - &292 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45188,9 +45233,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -45210,9 +45255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *225 - - *226 - - *290 + - *227 + - *228 + - *292 responses: '204': description: Response @@ -45236,8 +45281,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response if Dependabot is enabled @@ -45287,8 +45332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -45309,8 +45354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -45330,8 +45375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *225 - - *226 + - *227 + - *228 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45369,7 +45414,7 @@ paths: - url protected: type: boolean - protection: &292 + protection: &294 title: Branch Protection description: Branch Protection type: object @@ -45412,7 +45457,7 @@ paths: required: - contexts - checks - enforce_admins: &295 + enforce_admins: &297 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45429,7 +45474,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &297 + required_pull_request_reviews: &299 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45513,7 +45558,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &294 + restrictions: &296 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45838,9 +45883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *225 - - *226 - - &293 + - *227 + - *228 + - &295 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). @@ -45854,14 +45899,14 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &350 + commit: &352 title: Commit description: Commit type: object @@ -45900,7 +45945,7 @@ paths: author: anyOf: - type: 'null' - - &291 + - &293 title: Git User description: Metaproperties for Git author/committer information. @@ -45921,7 +45966,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 message: type: string examples: @@ -45945,7 +45990,7 @@ paths: required: - sha - url - verification: &399 + verification: &401 title: Verification type: object properties: @@ -46020,7 +46065,7 @@ paths: type: integer files: type: array - items: &362 + items: &364 title: Diff Entry description: Diff Entry type: object @@ -46114,7 +46159,7 @@ paths: - self protected: type: boolean - protection: *292 + protection: *294 protection_url: type: string format: uri @@ -46222,7 +46267,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *237 + '301': *239 '404': *6 x-github: githubCloudOnly: false @@ -46244,15 +46289,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -46446,9 +46491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -46708,7 +46753,7 @@ paths: url: type: string format: uri - required_status_checks: &300 + required_status_checks: &302 title: Status Check Policy description: Status Check Policy type: object @@ -46867,7 +46912,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *294 + restrictions: *296 required_conversation_resolution: type: object properties: @@ -46979,9 +47024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47006,17 +47051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &296 + default: &298 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47038,17 +47083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47067,9 +47112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47094,17 +47139,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &298 + default: &300 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47200,9 +47245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47300,9 +47345,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -47323,9 +47368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47352,17 +47397,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &299 + default: &301 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47385,17 +47430,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *299 + default: *301 '404': *6 x-github: githubCloudOnly: false @@ -47415,9 +47460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47442,17 +47487,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: &301 + default: &303 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47478,9 +47523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47532,9 +47577,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 '404': *6 '422': *15 x-github: @@ -47556,9 +47601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47582,9 +47627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -47618,9 +47663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47687,9 +47732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47753,9 +47798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: content: application/json: @@ -47821,15 +47866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: default: value: @@ -47920,9 +47965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47945,9 +47990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -47957,7 +48002,7 @@ paths: type: array items: *5 examples: - default: &302 + default: &304 value: - id: 1 slug: octoapp @@ -48014,9 +48059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48050,7 +48095,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48071,9 +48116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48107,7 +48152,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48128,9 +48173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48164,7 +48209,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48186,9 +48231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -48218,9 +48263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -48279,9 +48324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -48340,9 +48385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: content: application/json: @@ -48401,9 +48446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -48437,9 +48482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48497,9 +48542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48557,9 +48602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48619,9 +48664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48643,7 +48688,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: default: value: @@ -48758,8 +48803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -49038,7 +49083,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &307 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49173,8 +49218,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *304 - deployment: &581 + items: *306 + deployment: &583 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -49461,9 +49506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *225 - - *226 - - &306 + - *227 + - *228 + - &308 name: check_run_id description: The unique identifier of the check run. in: path @@ -49475,9 +49520,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: &307 + default: &309 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49577,9 +49622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 requestBody: required: true content: @@ -49819,9 +49864,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *307 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49841,9 +49886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 - *17 - *18 responses: @@ -49955,9 +50000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 responses: '201': description: Response @@ -50001,8 +50046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -50024,7 +50069,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &309 + schema: &311 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50105,7 +50150,7 @@ paths: type: - array - 'null' - items: *304 + items: *306 app: anyOf: - type: 'null' @@ -50121,7 +50166,7 @@ paths: - string - 'null' format: date-time - head_commit: *308 + head_commit: *310 latest_check_runs_count: type: integer check_runs_url: @@ -50149,7 +50194,7 @@ paths: - check_runs_url - pull_requests examples: - default: &310 + default: &312 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50440,9 +50485,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50461,8 +50506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -50771,9 +50816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *225 - - *226 - - &311 + - *227 + - *228 + - &313 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50785,9 +50830,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50810,17 +50855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *225 - - *226 - - *311 - - &357 + - *227 + - *228 + - *313 + - &359 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &358 + - &360 name: status description: Returns check runs with the specified `status`. in: query @@ -50859,9 +50904,9 @@ paths: type: integer check_runs: type: array - items: *305 + items: *307 examples: - default: &359 + default: &361 value: total_count: 1 check_runs: @@ -50963,9 +51008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *225 - - *226 - - *311 + - *227 + - *228 + - *313 responses: '201': description: Response @@ -50998,21 +51043,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *225 - - *226 - - *312 - - *313 + - *227 + - *228 + - *314 + - *315 - *18 - *17 - - &326 + - &328 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: *314 - - &327 + schema: *316 + - &329 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51037,13 +51082,13 @@ paths: be returned. in: query required: false - schema: *315 + schema: *317 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *316 + schema: *318 responses: '200': description: Response @@ -51059,7 +51104,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *317 + instances_url: *319 state: *123 fixed_at: *119 dismissed_by: @@ -51067,11 +51112,11 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: *318 - dismissed_comment: *319 - rule: *320 - tool: *321 - most_recent_instance: *322 + dismissed_reason: *320 + dismissed_comment: *321 + rule: *322 + tool: *323 + most_recent_instance: *324 required: - number - created_at @@ -51187,7 +51232,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &323 + '403': &325 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51214,9 +51259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *225 - - *226 - - &324 + - *227 + - *228 + - &326 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51230,7 +51275,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 type: object properties: number: *46 @@ -51238,7 +51283,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *317 + instances_url: *319 state: *123 fixed_at: *119 dismissed_by: @@ -51246,8 +51291,8 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: *318 - dismissed_comment: *319 + dismissed_reason: *320 + dismissed_comment: *321 rule: type: object properties: @@ -51309,8 +51354,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *321 - most_recent_instance: *322 + tool: *323 + most_recent_instance: *324 required: - number - created_at @@ -51399,7 +51444,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51419,9 +51464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 requestBody: required: true content: @@ -51436,8 +51481,8 @@ paths: enum: - open - dismissed - dismissed_reason: *318 - dismissed_comment: *319 + dismissed_reason: *320 + dismissed_comment: *321 required: - state examples: @@ -51452,7 +51497,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -51527,7 +51572,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &332 + '403': &334 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51554,13 +51599,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 - *18 - *17 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -51568,7 +51613,7 @@ paths: application/json: schema: type: array - items: *322 + items: *324 examples: default: value: @@ -51607,7 +51652,7 @@ paths: end_column: 50 classifications: - source - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51641,25 +51686,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *225 - - *226 - - *312 - - *313 + - *227 + - *228 + - *314 + - *315 - *18 - *17 - - *327 + - *329 - 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: *314 + schema: *316 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &330 + schema: &332 type: string description: An identifier for the upload. examples: @@ -51681,23 +51726,23 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object properties: - ref: *314 - commit_sha: &340 + ref: *316 + commit_sha: &342 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: *328 + analysis_key: *330 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *329 + category: *331 error: type: string examples: @@ -51722,8 +51767,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *330 - tool: *321 + sarif_id: *332 + tool: *323 deletable: type: boolean warning: @@ -51785,7 +51830,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51821,8 +51866,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: - - *225 - - *226 + - *227 + - *228 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51835,7 +51880,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: response: summary: application/json response @@ -51889,7 +51934,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51971,8 +52016,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: - - *225 - - *226 + - *227 + - *228 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52028,7 +52073,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *332 + '403': *334 '404': *6 '503': *57 x-github: @@ -52050,8 +52095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -52059,7 +52104,7 @@ paths: application/json: schema: type: array - items: &333 + items: &335 title: CodeQL Database description: A CodeQL database. type: object @@ -52171,7 +52216,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': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -52200,8 +52245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: language in: path description: The language of the CodeQL database. @@ -52213,7 +52258,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -52245,9 +52290,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': &364 + '302': &366 description: Found - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -52275,8 +52320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -52285,7 +52330,7 @@ paths: type: object additionalProperties: false properties: - language: &334 + language: &336 type: string description: The language targeted by the CodeQL query enum: @@ -52363,7 +52408,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &338 + schema: &340 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52373,7 +52418,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *334 + query_language: *336 query_pack_url: type: string description: The download url for the query pack. @@ -52421,7 +52466,7 @@ paths: items: type: object properties: - repository: &335 + repository: &337 title: Repository Identifier description: Repository Identifier type: object @@ -52463,7 +52508,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &339 + analysis_status: &341 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52495,7 +52540,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &336 + access_mismatch_repos: &338 type: object properties: repository_count: @@ -52510,7 +52555,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: *335 + items: *337 required: - repository_count - repositories @@ -52533,8 +52578,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *336 - over_limit_repos: *336 + no_codeql_db_repos: *338 + over_limit_repos: *338 required: - access_mismatch_repos - not_found_repos @@ -52550,7 +52595,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &337 + value: &339 summary: Default response value: id: 1 @@ -52702,10 +52747,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *337 + value: *339 repository_lists: summary: Response for a successful variant analysis submission - value: *337 + value: *339 '404': *6 '422': description: Unable to process variant analysis submission @@ -52733,8 +52778,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: - - *225 - - *226 + - *227 + - *228 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52746,9 +52791,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *337 + default: *339 '404': *6 '503': *57 x-github: @@ -52771,7 +52816,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: - - *225 + - *227 - name: repo in: path description: The name of the controller repository. @@ -52806,7 +52851,7 @@ paths: type: object properties: repository: *51 - analysis_status: *339 + analysis_status: *341 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52931,8 +52976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -52997,7 +53042,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -53018,8 +53063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53089,7 +53134,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *332 + '403': *334 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -53154,8 +53199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53163,7 +53208,7 @@ paths: schema: type: object properties: - commit_sha: *340 + commit_sha: *342 ref: type: string description: |- @@ -53223,7 +53268,7 @@ paths: schema: type: object properties: - id: *330 + id: *332 url: type: string description: The REST API URL for checking the status of the upload. @@ -53237,7 +53282,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': *332 + '403': *334 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -53260,8 +53305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *225 - - *226 + - *227 + - *228 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53309,7 +53354,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': *323 + '403': *325 '404': description: Not Found if the sarif id does not match any upload '503': *57 @@ -53334,8 +53379,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -53412,8 +53457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *225 - - *226 + - *227 + - *228 - 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 @@ -53541,8 +53586,8 @@ paths: parameters: - *17 - *18 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -53856,8 +53901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53923,7 +53968,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -53931,7 +53976,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '400': *14 '401': *23 '403': *27 @@ -53960,8 +54005,8 @@ paths: parameters: - *17 - *18 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -54025,8 +54070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54063,9 +54108,9 @@ paths: type: integer machines: type: array - items: *342 + items: *344 examples: - default: &539 + default: &541 value: total_count: 2 machines: @@ -54105,8 +54150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *225 - - *226 + - *227 + - *228 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54193,8 +54238,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: - - *225 - - *226 + - *227 + - *228 - 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 @@ -54263,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -54282,7 +54327,7 @@ paths: type: integer secrets: type: array - items: &346 + items: &348 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54303,7 +54348,7 @@ paths: - created_at - updated_at examples: - default: *343 + default: *345 headers: Link: *37 x-github: @@ -54326,16 +54371,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54355,17 +54400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54385,8 +54430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -54439,8 +54484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -54469,8 +54514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *225 - - *226 + - *227 + - *228 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54508,7 +54553,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 title: Collaborator description: Collaborator type: object @@ -54701,8 +54746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '204': @@ -54745,8 +54790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 requestBody: required: false @@ -54773,7 +54818,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &412 + schema: &414 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54994,8 +55039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '204': @@ -55025,8 +55070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '200': @@ -55047,7 +55092,7 @@ paths: user: anyOf: - type: 'null' - - *348 + - *350 required: - permission - role_name @@ -55101,8 +55146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -55112,7 +55157,7 @@ paths: application/json: schema: type: array - items: &349 + items: &351 title: Commit Comment description: Commit Comment type: object @@ -55170,7 +55215,7 @@ paths: - created_at - updated_at examples: - default: &352 + default: &354 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55229,17 +55274,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &353 + default: &355 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55296,8 +55341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -55320,7 +55365,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -55371,8 +55416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -55394,8 +55439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55422,9 +55467,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -55445,8 +55490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -55479,16 +55524,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -55510,10 +55555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -55561,8 +55606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *225 - - *226 + - *227 + - *228 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55618,9 +55663,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: &459 + default: &461 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55713,9 +55758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *225 - - *226 - - &351 + - *227 + - *228 + - &353 name: commit_sha description: The SHA of the commit. in: path @@ -55787,9 +55832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 - *17 - *18 responses: @@ -55799,9 +55844,9 @@ paths: application/json: schema: type: array - items: *349 + items: *351 examples: - default: *352 + default: *354 headers: Link: *37 x-github: @@ -55829,9 +55874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 requestBody: required: true content: @@ -55866,9 +55911,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *353 + default: *355 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55896,9 +55941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 - *17 - *18 responses: @@ -55908,7 +55953,7 @@ paths: application/json: schema: type: array - items: &450 + items: &452 title: Pull Request Simple description: Pull Request Simple type: object @@ -56028,7 +56073,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 active_lock_reason: type: - string @@ -56127,7 +56172,7 @@ paths: _links: type: object properties: - comments: &355 + comments: &357 title: Link description: Hypermedia Link type: object @@ -56136,13 +56181,13 @@ paths: type: string required: - href - commits: *355 - statuses: *355 - html: *355 - issue: *355 - review_comments: *355 - review_comment: *355 - self: *355 + commits: *357 + statuses: *357 + html: *357 + issue: *357 + review_comments: *357 + review_comment: *357 + self: *357 required: - comments - commits @@ -56153,7 +56198,7 @@ paths: - review_comment - self author_association: *55 - auto_merge: &452 + auto_merge: &454 title: Auto merge description: The status of auto merging a pull request. type: @@ -56218,7 +56263,7 @@ paths: - author_association - auto_merge examples: - default: &451 + default: &453 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56754,11 +56799,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 - - &356 + - &358 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)" @@ -56773,9 +56818,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: &438 + default: &440 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56887,11 +56932,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *225 - - *226 - - *356 - - *357 + - *227 + - *228 - *358 + - *359 + - *360 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56925,9 +56970,9 @@ paths: type: integer check_runs: type: array - items: *305 + items: *307 examples: - default: *359 + default: *361 headers: Link: *37 x-github: @@ -56952,9 +56997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56962,7 +57007,7 @@ paths: schema: type: integer example: 1 - - *357 + - *359 - *17 - *18 responses: @@ -56980,7 +57025,7 @@ paths: type: integer check_suites: type: array - items: *309 + items: *311 examples: default: value: @@ -57180,9 +57225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - *17 - *18 responses: @@ -57384,9 +57429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - *17 - *18 responses: @@ -57396,7 +57441,7 @@ paths: application/json: schema: type: array - items: &513 + items: &515 title: Status description: The status of a commit. type: object @@ -57477,7 +57522,7 @@ paths: site_admin: false headers: Link: *37 - '301': *237 + '301': *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57505,8 +57550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -57539,11 +57584,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *360 + - *362 code_of_conduct_file: anyOf: - type: 'null' - - &361 + - &363 title: Community Health File type: object properties: @@ -57563,19 +57608,19 @@ paths: contributing: anyOf: - type: 'null' - - *361 + - *363 readme: anyOf: - type: 'null' - - *361 + - *363 issue_template: anyOf: - type: 'null' - - *361 + - *363 pull_request_template: anyOf: - type: 'null' - - *361 + - *363 required: - code_of_conduct - code_of_conduct_file @@ -57703,8 +57748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 - name: basehead @@ -57752,8 +57797,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *350 - merge_base_commit: *350 + base_commit: *352 + merge_base_commit: *352 status: type: string enum: @@ -57777,10 +57822,10 @@ paths: - 6 commits: type: array - items: *350 + items: *352 files: type: array - items: *362 + items: *364 required: - url - html_url @@ -58063,8 +58108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -58215,7 +58260,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &363 + response-if-content-is-a-file: &365 summary: Response if content is a file value: type: file @@ -58352,7 +58397,7 @@ paths: - size - type - url - - &464 + - &466 title: Content File description: Content File type: object @@ -58570,7 +58615,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *363 + response-if-content-is-a-file: *365 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58639,7 +58684,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *364 + '302': *366 '304': *35 x-github: githubCloudOnly: false @@ -58662,8 +58707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -58758,7 +58803,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: File Commit description: File Commit type: object @@ -58909,7 +58954,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: example-for-creating-a-file: value: @@ -58962,7 +59007,7 @@ paths: schema: oneOf: - *3 - - &394 + - &396 description: Repository rule violation was detected type: object properties: @@ -58983,7 +59028,7 @@ paths: items: type: object properties: - placeholder_id: &506 + placeholder_id: &508 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59015,8 +59060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -59077,7 +59122,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: default: value: @@ -59131,8 +59176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *225 - - *226 + - *227 + - *228 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59256,8 +59301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *133 - *134 - *135 @@ -59298,7 +59343,7 @@ paths: application/json: schema: type: array - items: &368 + items: &370 type: object description: A Dependabot alert. properties: @@ -59333,7 +59378,7 @@ paths: - development - runtime - - security_advisory: *366 + security_advisory: *368 security_vulnerability: *45 url: *49 html_url: *50 @@ -59364,7 +59409,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: *367 + auto_dismissed_at: *369 required: - number - state @@ -59591,9 +59636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *225 - - *226 - - &369 + - *227 + - *228 + - &371 name: alert_number in: path description: |- @@ -59608,7 +59653,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -59718,9 +59763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *225 - - *226 - - *369 + - *227 + - *228 + - *371 requestBody: required: true content: @@ -59765,7 +59810,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -59894,8 +59939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -59913,7 +59958,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &374 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59967,16 +60012,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59996,15 +60041,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -60030,8 +60075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -60084,8 +60129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -60108,8 +60153,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: - - *225 - - *226 + - *227 + - *228 - 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 @@ -60283,8 +60328,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -60507,8 +60552,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -60591,7 +60636,7 @@ paths: - version - url additionalProperties: false - metadata: &373 + metadata: &375 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60630,7 +60675,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *373 + metadata: *375 resolved: type: object description: A collection of resolved package dependencies. @@ -60644,7 +60689,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *373 + metadata: *375 relationship: type: string description: A notation of whether a dependency is requested @@ -60777,8 +60822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *225 - - *226 + - *227 + - *228 - name: sha description: The SHA recorded at creation time. in: query @@ -60819,9 +60864,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *37 x-github: @@ -60887,8 +60932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -60970,7 +61015,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: simple-example: summary: Simple example @@ -61043,9 +61088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *225 - - *226 - - &376 + - *227 + - *228 + - &378 name: deployment_id description: deployment_id parameter in: path @@ -61057,7 +61102,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -61122,9 +61167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 responses: '204': description: Response @@ -61146,9 +61191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 - *17 - *18 responses: @@ -61158,7 +61203,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Deployment Status description: The status of a deployment. type: object @@ -61322,9 +61367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 requestBody: required: true content: @@ -61399,9 +61444,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &378 + default: &380 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61457,9 +61502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 - name: status_id in: path required: true @@ -61470,9 +61515,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -61497,8 +61542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -61554,8 +61599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -61573,7 +61618,7 @@ paths: - 5 environments: type: array - items: &380 + items: &382 title: Environment description: Details of a deployment environment type: object @@ -61635,7 +61680,7 @@ paths: type: string examples: - wait_timer - wait_timer: &382 + wait_timer: &384 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -61677,7 +61722,7 @@ paths: items: type: object properties: - type: *379 + type: *381 reviewer: anyOf: - *4 @@ -61704,7 +61749,7 @@ paths: - id - node_id - type - deployment_branch_policy: &383 + deployment_branch_policy: &385 type: - object - 'null' @@ -61821,9 +61866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *225 - - *226 - - &381 + - *227 + - *228 + - &383 name: environment_name in: path required: true @@ -61836,9 +61881,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: &384 + default: &386 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61922,9 +61967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: false content: @@ -61934,7 +61979,7 @@ paths: - object - 'null' properties: - wait_timer: *382 + wait_timer: *384 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -61953,14 +61998,14 @@ paths: items: type: object properties: - type: *379 + type: *381 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *383 + deployment_branch_policy: *385 additionalProperties: false examples: default: @@ -61980,9 +62025,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: *384 + default: *386 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62006,9 +62051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 responses: '204': description: Default response @@ -62033,9 +62078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *17 - *18 responses: @@ -62054,7 +62099,7 @@ paths: - 2 branch_policies: type: array - items: &385 + items: &387 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -62115,9 +62160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: true content: @@ -62165,9 +62210,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - example-wildcard: &386 + example-wildcard: &388 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62209,10 +62254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - &387 + - *227 + - *228 + - *383 + - &389 name: branch_policy_id in: path required: true @@ -62224,9 +62269,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62245,10 +62290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - *387 + - *227 + - *228 + - *383 + - *389 requestBody: required: true content: @@ -62277,9 +62322,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62298,10 +62343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - *387 + - *227 + - *228 + - *383 + - *389 responses: '204': description: Response @@ -62326,9 +62371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 responses: '200': description: List of deployment protection rules @@ -62345,7 +62390,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &388 + items: &390 title: Deployment protection rule description: Deployment protection rule type: object @@ -62367,7 +62412,7 @@ paths: for the environment. examples: - true - app: &389 + app: &391 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62470,9 +62515,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: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 requestBody: content: application/json: @@ -62493,9 +62538,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62530,9 +62575,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: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 - *18 - *17 responses: @@ -62552,7 +62597,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *389 + items: *391 examples: default: value: @@ -62587,10 +62632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *225 - - *226 - - *381 - - &391 + - *227 + - *228 + - *383 + - &393 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62602,9 +62647,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62625,10 +62670,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *381 - - *226 - - *225 - - *391 + - *383 + - *228 + - *227 + - *393 responses: '204': description: Response @@ -62654,9 +62699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *17 - *18 responses: @@ -62674,9 +62719,9 @@ paths: type: integer secrets: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 headers: Link: *37 x-github: @@ -62701,17 +62746,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62733,18 +62778,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *392 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62766,9 +62811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 requestBody: required: true @@ -62826,9 +62871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 responses: '204': @@ -62854,10 +62899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *225 - - *226 - - *381 - - *247 + - *227 + - *228 + - *383 + - *249 - *18 responses: '200': @@ -62874,9 +62919,9 @@ paths: type: integer variables: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 headers: Link: *37 x-github: @@ -62899,9 +62944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: true content: @@ -62953,18 +62998,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *116 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62985,10 +63030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 - - *381 + - *383 requestBody: required: true content: @@ -63030,10 +63075,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 - - *381 + - *383 responses: '204': description: Response @@ -63055,8 +63100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -63133,8 +63178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *225 - - *226 + - *227 + - *228 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63293,8 +63338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -63327,9 +63372,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 '400': *14 '422': *15 '403': *27 @@ -63350,8 +63395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -63411,7 +63456,7 @@ paths: schema: oneOf: - *89 - - *394 + - *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63436,8 +63481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *225 - - *226 + - *227 + - *228 - name: file_sha in: path required: true @@ -63536,8 +63581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -63646,7 +63691,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63866,15 +63911,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -63929,9 +63974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *225 - - *226 - - &396 + - *227 + - *228 + - &398 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. @@ -63948,7 +63993,7 @@ paths: application/json: schema: type: array - items: &397 + items: &399 title: Git Reference description: Git references within a repository type: object @@ -64024,17 +64069,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 responses: '200': description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: &398 + default: &400 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64063,8 +64108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64093,9 +64138,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -64121,9 +64166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 requestBody: required: true content: @@ -64152,9 +64197,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 '422': *15 '409': *125 x-github: @@ -64172,9 +64217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 responses: '204': description: Response @@ -64226,8 +64271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64294,7 +64339,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Git Tag description: Metadata for a Git tag type: object @@ -64350,7 +64395,7 @@ paths: - sha - type - url - verification: *399 + verification: *401 required: - sha - url @@ -64360,7 +64405,7 @@ paths: - tag - message examples: - default: &401 + default: &403 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64431,8 +64476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *225 - - *226 + - *227 + - *228 - name: tag_sha in: path required: true @@ -64443,9 +64488,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 '404': *6 '409': *125 x-github: @@ -64469,8 +64514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64544,7 +64589,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64662,8 +64707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *225 - - *226 + - *227 + - *228 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64686,7 +64731,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default-response: summary: Default response @@ -64745,8 +64790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -64756,7 +64801,7 @@ paths: application/json: schema: type: array - items: &403 + items: &405 title: Webhook description: Webhooks for repositories. type: object @@ -64819,7 +64864,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &612 + last_response: &614 title: Hook Response type: object properties: @@ -64896,8 +64941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -64950,9 +64995,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &404 + default: &406 value: type: Repository id: 12345678 @@ -65000,17 +65045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -65030,8 +65075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 requestBody: required: true @@ -65077,9 +65122,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 '422': *15 '404': *6 x-github: @@ -65097,8 +65142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65123,8 +65168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '200': @@ -65152,8 +65197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *146 requestBody: required: false @@ -65198,8 +65243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *17 - *147 @@ -65236,8 +65281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *16 responses: @@ -65266,8 +65311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *16 responses: @@ -65291,8 +65336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65318,8 +65363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65378,14 +65423,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: Import description: A repository import from an external source. type: object @@ -65492,7 +65537,7 @@ paths: - html_url - authors_url examples: - default: &408 + default: &410 value: vcs: subversion use_lfs: true @@ -65508,7 +65553,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &406 + '503': &408 description: Unavailable due to service under maintenance. content: application/json: @@ -65537,8 +65582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -65586,7 +65631,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -65611,7 +65656,7 @@ paths: type: string '422': *15 '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -65692,7 +65737,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: example-1: summary: Example 1 @@ -65740,7 +65785,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': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65763,12 +65808,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65794,9 +65839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *225 - - *226 - - &562 + - *227 + - *228 + - &564 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -65810,7 +65855,7 @@ paths: application/json: schema: type: array - items: &407 + items: &409 title: Porter Author description: Porter Author type: object @@ -65864,7 +65909,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65889,8 +65934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *225 - - *226 + - *227 + - *228 - name: author_id in: path required: true @@ -65920,7 +65965,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -65933,7 +65978,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65957,8 +66002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -65999,7 +66044,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66027,8 +66072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -66055,11 +66100,11 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *408 + default: *410 '422': *15 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66082,8 +66127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -66091,8 +66136,8 @@ paths: application/json: schema: *20 examples: - default: *409 - '301': *237 + default: *411 + '301': *239 '404': *6 x-github: githubCloudOnly: false @@ -66112,8 +66157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -66126,7 +66171,7 @@ paths: properties: {} additionalProperties: false examples: - default: &411 + default: &413 value: limit: collaborators_only origin: repository @@ -66151,13 +66196,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: application/json: - schema: *410 + schema: *412 examples: default: summary: Example request body @@ -66171,7 +66216,7 @@ paths: application/json: schema: *153 examples: - default: *411 + default: *413 '409': description: Response x-github: @@ -66193,8 +66238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -66217,8 +66262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -66228,9 +66273,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: &555 + default: &557 value: - id: 1 repository: @@ -66361,8 +66406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *225 - - *226 + - *227 + - *228 - *157 requestBody: required: false @@ -66392,7 +66437,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: default: value: @@ -66523,8 +66568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *225 - - *226 + - *227 + - *228 - *157 responses: '204': @@ -66556,8 +66601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *225 - - *226 + - *227 + - *228 - 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 @@ -66770,7 +66815,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *237 + '301': *239 '422': *15 '404': *6 x-github: @@ -66799,8 +66844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -66883,7 +66928,7 @@ paths: application/json: schema: *69 examples: - default: &416 + default: &418 value: id: 1 node_id: MDU6SXNzdWUx @@ -67039,7 +67084,7 @@ paths: '422': *15 '503': *57 '404': *6 - '410': *234 + '410': *236 x-github: triggersNotification: true githubCloudOnly: false @@ -67067,8 +67112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *78 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67089,9 +67134,9 @@ paths: application/json: schema: type: array - items: *413 + items: *415 examples: - default: &418 + default: &420 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67149,17 +67194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &414 + default: &416 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67213,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -67237,9 +67282,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -67257,8 +67302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -67279,8 +67324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67307,9 +67352,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -67330,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -67364,16 +67409,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -67395,10 +67440,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -67418,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -67429,7 +67474,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Issue Event description: Issue Event type: object @@ -67768,8 +67813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *225 - - *226 + - *227 + - *228 - name: event_id in: path required: true @@ -67780,7 +67825,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: default: value: @@ -67973,7 +68018,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *234 + '410': *236 '403': *27 x-github: githubCloudOnly: false @@ -68007,9 +68052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *225 - - *226 - - &417 + - *227 + - *228 + - &419 name: issue_number description: The number that identifies the issue. in: path @@ -68023,10 +68068,10 @@ paths: application/json: schema: *69 examples: - default: *416 - '301': *237 + default: *418 + '301': *239 '404': *6 - '410': *234 + '410': *236 '304': *35 x-github: githubCloudOnly: false @@ -68051,9 +68096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -68163,13 +68208,13 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 '422': *15 '503': *57 '403': *27 - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68187,9 +68232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -68217,7 +68262,7 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68233,9 +68278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: content: application/json: @@ -68262,7 +68307,7 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68284,9 +68329,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: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - name: assignee in: path required: true @@ -68326,9 +68371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *59 - *17 - *18 @@ -68339,13 +68384,13 @@ paths: application/json: schema: type: array - items: *413 + items: *415 examples: - default: *418 + default: *420 headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68374,9 +68419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: true content: @@ -68398,16 +68443,16 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *234 + '410': *236 '422': *15 '404': *6 x-github: @@ -68427,9 +68472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -68443,7 +68488,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &421 + - &423 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68492,7 +68537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &422 + - &424 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68620,7 +68665,7 @@ paths: - performed_via_github_app - assignee - assigner - - &423 + - &425 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68666,7 +68711,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &424 + - &426 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68712,7 +68757,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &425 + - &427 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68761,7 +68806,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &426 + - &428 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68803,7 +68848,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &427 + - &429 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68845,7 +68890,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &428 + - &430 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68901,7 +68946,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &431 title: Locked Issue Event description: Locked Issue Event type: object @@ -68946,7 +68991,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &432 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69007,7 +69052,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &433 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69068,7 +69113,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &434 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69129,7 +69174,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &435 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69222,7 +69267,7 @@ paths: color: red headers: Link: *37 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69239,9 +69284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -69251,7 +69296,7 @@ paths: application/json: schema: type: array - items: &419 + items: &421 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69306,7 +69351,7 @@ paths: - color - default examples: - default: &420 + default: &422 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69324,9 +69369,9 @@ paths: default: false headers: Link: *37 - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69343,9 +69388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69404,12 +69449,12 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 - '301': *237 + default: *422 + '301': *239 '404': *6 - '410': *234 + '410': *236 '422': *15 x-github: githubCloudOnly: false @@ -69426,9 +69471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69488,12 +69533,12 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 - '301': *237 + default: *422 + '301': *239 '404': *6 - '410': *234 + '410': *236 '422': *15 x-github: githubCloudOnly: false @@ -69510,15 +69555,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 responses: '204': description: Response - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69537,9 +69582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - name: name in: path required: true @@ -69552,7 +69597,7 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: default: value: @@ -69563,9 +69608,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69585,9 +69630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69616,7 +69661,7 @@ paths: '204': description: Response '403': *27 - '410': *234 + '410': *236 '404': *6 '422': *15 x-github: @@ -69634,9 +69679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 responses: '204': description: Response @@ -69658,9 +69703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - 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. @@ -69686,13 +69731,13 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69710,9 +69755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: true content: @@ -69744,16 +69789,16 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -69775,10 +69820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *225 - - *226 - - *417 - - *221 + - *227 + - *228 + - *419 + - *223 responses: '204': description: Response @@ -69798,9 +69843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -69815,8 +69860,6 @@ paths: description: Timeline Event type: object anyOf: - - *421 - - *422 - *423 - *424 - *425 @@ -69828,6 +69871,8 @@ paths: - *431 - *432 - *433 + - *434 + - *435 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70146,7 +70191,7 @@ paths: type: string comments: type: array - items: &453 + items: &455 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70384,7 +70429,7 @@ paths: type: string comments: type: array - items: *349 + items: *351 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70659,7 +70704,7 @@ paths: headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70676,8 +70721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -70687,7 +70732,7 @@ paths: application/json: schema: type: array - items: &434 + items: &436 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70751,8 +70796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -70788,9 +70833,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: &435 + default: &437 value: id: 1 key: ssh-rsa AAA... @@ -70823,9 +70868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *225 - - *226 - - &436 + - *227 + - *228 + - &438 name: key_id description: The unique identifier of the key. in: path @@ -70837,9 +70882,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: *435 + default: *437 '404': *6 x-github: githubCloudOnly: false @@ -70857,9 +70902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *225 - - *226 - - *436 + - *227 + - *228 + - *438 responses: '204': description: Response @@ -70879,8 +70924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -70890,9 +70935,9 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 + default: *422 headers: Link: *37 '404': *6 @@ -70913,8 +70958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -70950,9 +70995,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: &437 + default: &439 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70984,8 +71029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -70996,9 +71041,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -71015,8 +71060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -71055,7 +71100,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -71081,8 +71126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -71108,8 +71153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -71148,9 +71193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *225 - - *226 - - *326 + - *227 + - *228 + - *328 responses: '200': description: Response @@ -71297,8 +71342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71363,8 +71408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71398,9 +71443,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *350 + schema: *352 examples: - default: *438 + default: *440 '204': description: Response when already merged '404': @@ -71425,8 +71470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71467,7 +71512,7 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: default: value: @@ -71523,8 +71568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71564,9 +71609,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: &439 + default: &441 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71625,9 +71670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *225 - - *226 - - &440 + - *227 + - *228 + - &442 name: milestone_number description: The number that identifies the milestone. in: path @@ -71639,9 +71684,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *439 + default: *441 '404': *6 x-github: githubCloudOnly: false @@ -71658,9 +71703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 requestBody: required: false content: @@ -71698,9 +71743,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71716,9 +71761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 responses: '204': description: Response @@ -71739,9 +71784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 - *17 - *18 responses: @@ -71751,9 +71796,9 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 + default: *422 headers: Link: *37 x-github: @@ -71772,12 +71817,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *225 - - *226 - - *441 - - *442 - - *59 + - *227 + - *228 - *443 + - *444 + - *59 + - *445 - *17 - *18 responses: @@ -71789,7 +71834,7 @@ paths: type: array items: *81 examples: - default: *444 + default: *446 headers: Link: *37 x-github: @@ -71813,8 +71858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -71872,14 +71917,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &445 + schema: &447 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72023,7 +72068,7 @@ paths: - custom_404 - public examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72064,8 +72109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72120,9 +72165,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '422': *15 '409': *125 x-github: @@ -72145,8 +72190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72246,8 +72291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -72273,8 +72318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -72284,7 +72329,7 @@ paths: application/json: schema: type: array - items: &447 + items: &449 title: Page Build description: Page Build type: object @@ -72376,8 +72421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -72424,16 +72469,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72481,8 +72526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *225 - - *226 + - *227 + - *228 - name: build_id in: path required: true @@ -72493,9 +72538,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72515,8 +72560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72625,9 +72670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *225 - - *226 - - &449 + - *227 + - *228 + - &451 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72685,9 +72730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *225 - - *226 - - *449 + - *227 + - *228 + - *451 responses: '204': *128 '404': *6 @@ -72714,8 +72759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -73010,8 +73055,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Private vulnerability reporting status @@ -73048,8 +73093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': *128 '422': *14 @@ -73070,8 +73115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': *128 '422': *14 @@ -73094,8 +73139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: Indicates the state of the projects to return. in: query @@ -73156,7 +73201,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -73176,8 +73221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73205,11 +73250,11 @@ paths: application/json: schema: *187 examples: - default: *233 + default: *235 '401': *23 '403': *27 '404': *6 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -73229,8 +73274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -73269,8 +73314,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73332,8 +73377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73393,9 +73438,9 @@ paths: application/json: schema: type: array - items: *450 + items: *452 examples: - default: *451 + default: *453 headers: Link: *37 '304': *35 @@ -73427,8 +73472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73495,7 +73540,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73624,7 +73669,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 active_lock_reason: type: - string @@ -74611,14 +74656,14 @@ paths: _links: type: object properties: - comments: *355 - commits: *355 - statuses: *355 - html: *355 - issue: *355 - review_comments: *355 - review_comment: *355 - self: *355 + comments: *357 + commits: *357 + statuses: *357 + html: *357 + issue: *357 + review_comments: *357 + review_comment: *357 + self: *357 required: - comments - commits @@ -74629,7 +74674,7 @@ paths: - review_comment - self author_association: *55 - auto_merge: *452 + auto_merge: *454 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -74731,7 +74776,7 @@ paths: - merged_by - review_comments examples: - default: &456 + default: &458 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75258,8 +75303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: sort in: query required: false @@ -75288,9 +75333,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: &458 + default: &460 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75367,17 +75412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: &454 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75452,8 +75497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -75476,9 +75521,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75494,8 +75539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -75517,8 +75562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75545,9 +75590,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -75568,8 +75613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -75602,16 +75647,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -75633,10 +75678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -75679,9 +75724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *225 - - *226 - - &457 + - *227 + - *228 + - &459 name: pull_number description: The number that identifies the pull request. in: path @@ -75694,9 +75739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '304': *35 '404': *6 '406': @@ -75731,9 +75776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -75775,9 +75820,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 '403': *27 x-github: @@ -75799,9 +75844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -75864,7 +75909,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -75872,7 +75917,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -75902,9 +75947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *78 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75925,9 +75970,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *458 + default: *460 headers: Link: *37 x-github: @@ -75960,9 +76005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -76068,7 +76113,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: example-for-a-multi-line-comment: value: @@ -76156,9 +76201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *68 requestBody: required: true @@ -76181,7 +76226,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -76267,9 +76312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -76279,9 +76324,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: *459 + default: *461 headers: Link: *37 x-github: @@ -76311,9 +76356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -76323,7 +76368,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -76361,9 +76406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 responses: '204': description: Response if pull request has been merged @@ -76386,9 +76431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -76500,9 +76545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 responses: '200': description: Response @@ -76577,9 +76622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -76616,7 +76661,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -77152,9 +77197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -77188,7 +77233,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -77693,9 +77738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -77705,7 +77750,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77861,9 +77906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -77953,9 +77998,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &462 + default: &464 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78018,10 +78063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - &461 + - *227 + - *228 + - *459 + - &463 name: review_id description: The unique identifier of the review. in: path @@ -78033,9 +78078,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &463 + default: &465 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78094,10 +78139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78120,7 +78165,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -78182,18 +78227,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *462 + default: *464 '422': *7 '404': *6 x-github: @@ -78220,10 +78265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 - *17 - *18 responses: @@ -78321,9 +78366,9 @@ paths: _links: type: object properties: - self: *355 - html: *355 - pull_request: *355 + self: *357 + html: *357 + pull_request: *357 required: - self - html @@ -78474,10 +78519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78506,7 +78551,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -78569,10 +78614,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78607,9 +78652,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *463 + default: *465 '404': *6 '422': *7 '403': *27 @@ -78631,9 +78676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -78697,8 +78742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *225 - - *226 + - *227 + - *228 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78711,9 +78756,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &465 + default: &467 value: type: file encoding: base64 @@ -78755,8 +78800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *225 - - *226 + - *227 + - *228 - name: dir description: The alternate path to look for a README file in: path @@ -78776,9 +78821,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *465 + default: *467 '404': *6 '422': *15 x-github: @@ -78800,8 +78845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -78811,7 +78856,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Release description: A release. type: object @@ -78883,7 +78928,7 @@ paths: author: *4 assets: type: array - items: &467 + items: &469 title: Release Asset description: Data related to a release. type: object @@ -79063,8 +79108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -79140,9 +79185,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: &470 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -79243,9 +79288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *225 - - *226 - - &468 + - *227 + - *228 + - &470 name: asset_id description: The unique identifier of the asset. in: path @@ -79257,9 +79302,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &469 + default: &471 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 @@ -79293,7 +79338,7 @@ paths: type: User site_admin: false '404': *6 - '302': *364 + '302': *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79309,9 +79354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *225 - - *226 - - *468 + - *227 + - *228 + - *470 requestBody: required: false content: @@ -79340,9 +79385,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *469 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79358,9 +79403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *225 - - *226 - - *468 + - *227 + - *228 + - *470 responses: '204': description: Response @@ -79384,8 +79429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -79471,16 +79516,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79497,8 +79542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *225 - - *226 + - *227 + - *228 - name: tag description: tag parameter in: path @@ -79511,9 +79556,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -79535,9 +79580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *225 - - *226 - - &471 + - *227 + - *228 + - &473 name: release_id description: The unique identifier of the release. in: path @@ -79551,9 +79596,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: *466 + schema: *468 examples: - default: *470 + default: *472 '401': description: Unauthorized x-github: @@ -79571,9 +79616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 requestBody: required: false content: @@ -79637,9 +79682,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 '404': description: Not Found if the discussion category name is invalid content: @@ -79660,9 +79705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 responses: '204': description: Response @@ -79682,9 +79727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - *17 - *18 responses: @@ -79694,7 +79739,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -79774,9 +79819,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: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - name: name in: query required: true @@ -79802,7 +79847,7 @@ paths: description: Response for successful upload content: application/json: - schema: *467 + schema: *469 examples: response-for-successful-upload: value: @@ -79856,9 +79901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - 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. @@ -79882,9 +79927,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -79905,9 +79950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 requestBody: required: true content: @@ -79937,16 +79982,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -79968,10 +80013,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *225 - - *226 - - *471 - - *221 + - *227 + - *228 + - *473 + - *223 responses: '204': description: Response @@ -79995,9 +80040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 - *17 - *18 responses: @@ -80013,8 +80058,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *472 - - &474 + - *474 + - &476 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80033,54 +80078,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *473 - - *474 - allOf: - *475 - - *474 - - allOf: - *476 - - *474 - allOf: - *477 - - *474 + - *476 - allOf: - *478 - - *474 + - *476 - allOf: - *479 - - *474 + - *476 - allOf: - *480 - - *474 + - *476 - allOf: - *481 - - *474 + - *476 - allOf: - *482 - - *474 + - *476 - allOf: - *483 - - *474 + - *476 - allOf: - *484 - - *474 + - *476 - allOf: - *485 - - *474 + - *476 - allOf: - *486 - - *474 + - *476 - allOf: - *487 - - *474 + - *476 - allOf: - *488 - - *474 + - *476 - allOf: - *489 - - *474 + - *476 + - allOf: + - *490 + - *476 + - allOf: + - *491 + - *476 examples: default: value: @@ -80119,8 +80164,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - name: includes_parents @@ -80131,7 +80176,7 @@ paths: schema: type: boolean default: true - - *490 + - *492 responses: '200': description: Response @@ -80186,8 +80231,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 requestBody: description: Request body required: true @@ -80249,7 +80294,7 @@ paths: application/json: schema: *200 examples: - default: &500 + default: &502 value: id: 42 name: super cool ruleset @@ -80296,12 +80341,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *225 - - *226 - - *491 - - *492 + - *227 + - *228 - *493 - *494 + - *495 + - *496 - *17 - *18 responses: @@ -80309,9 +80354,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *6 '500': *39 x-github: @@ -80332,17 +80377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *225 - - *226 - - *497 + - *227 + - *228 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 '404': *6 '500': *39 x-github: @@ -80370,8 +80415,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80393,7 +80438,7 @@ paths: application/json: schema: *200 examples: - default: *500 + default: *502 '404': *6 '500': *39 put: @@ -80411,8 +80456,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80476,7 +80521,7 @@ paths: application/json: schema: *200 examples: - default: *500 + default: *502 '404': *6 '500': *39 delete: @@ -80494,8 +80539,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80523,8 +80568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *202 - *203 - *204 @@ -80532,9 +80577,11 @@ paths: - *40 - *18 - *17 - - *501 - - *502 + - *503 + - *504 - *206 + - *207 + - *208 responses: '200': description: Response @@ -80542,7 +80589,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 type: object properties: number: *46 @@ -80558,8 +80605,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *503 - resolution: *504 + state: *505 + resolution: *506 resolved_at: type: - string @@ -80611,6 +80658,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. examples: default: value: @@ -80667,6 +80725,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 @@ -80684,6 +80744,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 @@ -80709,15 +80771,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -80738,6 +80800,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *35 '404': description: Repository is public, or secret scanning is disabled for the @@ -80763,9 +80827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 requestBody: required: true content: @@ -80773,8 +80837,8 @@ paths: schema: type: object properties: - state: *503 - resolution: *504 + state: *505 + resolution: *506 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80793,7 +80857,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -80832,6 +80896,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. @@ -80862,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 - *18 - *17 responses: @@ -80875,7 +80941,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &633 + items: &635 type: object properties: type: @@ -81254,8 +81320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81263,14 +81329,14 @@ paths: schema: type: object properties: - reason: &507 + reason: &509 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *506 + placeholder_id: *508 required: - reason - placeholder_id @@ -81287,7 +81353,7 @@ paths: schema: type: object properties: - reason: *507 + reason: *509 expire_at: type: - string @@ -81333,8 +81399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *225 - - *226 + - *227 + - *228 - *40 - name: sort description: The property to sort the results by. @@ -81378,9 +81444,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 '400': *14 '404': *6 x-github: @@ -81403,8 +81469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81484,7 +81550,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 required: - login - type @@ -81574,9 +81640,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &511 + default: &513 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81809,8 +81875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81923,7 +81989,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -82070,17 +82136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '200': description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *511 + default: *513 '403': *27 '404': *6 x-github: @@ -82104,9 +82170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 requestBody: required: true content: @@ -82186,7 +82252,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 required: - login - type @@ -82277,10 +82343,10 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *511 - add_credit: *511 + default: *513 + add_credit: *513 '403': *27 '404': *6 '422': @@ -82318,9 +82384,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: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '202': *91 '400': *14 @@ -82347,17 +82413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '202': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 '400': *14 '422': *15 '403': *27 @@ -82383,8 +82449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -82480,8 +82546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -82490,7 +82556,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -82523,8 +82589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -82602,8 +82668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -82697,8 +82763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82852,8 +82918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82863,7 +82929,7 @@ paths: application/json: schema: type: array - items: *512 + items: *514 examples: default: value: @@ -82896,8 +82962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *225 - - *226 + - *227 + - *228 - name: sha in: path required: true @@ -82953,7 +83019,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default: value: @@ -83007,8 +83073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83040,14 +83106,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &514 + schema: &516 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -83120,8 +83186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -83147,7 +83213,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: default: value: @@ -83174,8 +83240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -83195,8 +83261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83278,8 +83344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83287,7 +83353,7 @@ paths: application/json: schema: type: array - items: &515 + items: &517 title: Tag protection description: Tag protection type: object @@ -83344,8 +83410,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -83368,7 +83434,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -83399,8 +83465,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: - - *225 - - *226 + - *227 + - *228 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -83437,8 +83503,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *225 - - *226 + - *227 + - *228 - name: ref in: path required: true @@ -83474,8 +83540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83507,8 +83573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 responses: @@ -83516,7 +83582,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -83528,7 +83594,7 @@ paths: required: - names examples: - default: &517 + default: &519 value: names: - octocat @@ -83551,8 +83617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -83583,9 +83649,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 '404': *6 '422': *7 x-github: @@ -83606,9 +83672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *225 - - *226 - - &518 + - *227 + - *228 + - &520 name: per description: The time frame to display results for. in: query @@ -83639,7 +83705,7 @@ paths: - 128 clones: type: array - items: &519 + items: &521 title: Traffic type: object properties: @@ -83726,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83821,8 +83887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83885,9 +83951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *225 - - *226 - - *518 + - *227 + - *228 + - *520 responses: '200': description: Response @@ -83908,7 +83974,7 @@ paths: - 3782 views: type: array - items: *519 + items: *521 required: - uniques - count @@ -83985,8 +84051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -84260,8 +84326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -84284,8 +84350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -84307,8 +84373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -84334,8 +84400,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *225 - - *226 + - *227 + - *228 - name: ref in: path required: true @@ -84427,9 +84493,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84678,7 +84744,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &520 + text_matches: &522 title: Search Result Text Matches type: array items: @@ -84841,7 +84907,7 @@ paths: enum: - author-date - committer-date - - &521 + - &523 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 @@ -84910,7 +84976,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 comment_count: type: integer message: @@ -84929,7 +84995,7 @@ paths: url: type: string format: uri - verification: *399 + verification: *401 required: - author - committer @@ -84944,7 +85010,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 parents: type: array items: @@ -84961,7 +85027,7 @@ paths: type: number node_id: type: string - text_matches: *520 + text_matches: *522 required: - sha - node_id @@ -85153,7 +85219,7 @@ paths: - interactions - created - updated - - *521 + - *523 - *17 - *18 responses: @@ -85255,7 +85321,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 comments: type: integer created_at: @@ -85269,7 +85335,7 @@ paths: - string - 'null' format: date-time - text_matches: *520 + text_matches: *522 pull_request: type: object properties: @@ -85491,7 +85557,7 @@ paths: enum: - created - updated - - *521 + - *523 - *17 - *18 responses: @@ -85536,7 +85602,7 @@ paths: - 'null' score: type: number - text_matches: *520 + text_matches: *522 required: - id - node_id @@ -85621,7 +85687,7 @@ paths: - forks - help-wanted-issues - updated - - *521 + - *523 - *17 - *18 responses: @@ -85858,7 +85924,7 @@ paths: - admin - pull - push - text_matches: *520 + text_matches: *522 temp_clone_token: type: string allow_merge_commit: @@ -86166,7 +86232,7 @@ paths: - string - 'null' format: uri - text_matches: *520 + text_matches: *522 related: type: - array @@ -86359,7 +86425,7 @@ paths: - followers - repositories - joined - - *521 + - *523 - *17 - *18 responses: @@ -86469,7 +86535,7 @@ paths: type: - boolean - 'null' - text_matches: *520 + text_matches: *522 blog: type: - string @@ -86551,7 +86617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &522 + - &524 name: team_id description: The unique identifier of the team. in: path @@ -86563,9 +86629,9 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -86592,7 +86658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *522 + - *524 requestBody: required: true content: @@ -86656,16 +86722,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '201': description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 '422': *15 '403': *27 @@ -86693,7 +86759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *522 + - *524 responses: '204': description: Response @@ -86724,7 +86790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *522 + - *524 - *40 - *17 - *18 @@ -86735,9 +86801,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *523 + default: *525 headers: Link: *37 x-github: @@ -86766,7 +86832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *522 + - *524 requestBody: required: true content: @@ -86800,9 +86866,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: triggersNotification: true githubCloudOnly: false @@ -86829,16 +86895,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86863,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: false content: @@ -86887,9 +86953,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86914,8 +86980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 responses: '204': description: Response @@ -86944,8 +87010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *522 - - *214 + - *524 + - *216 - *40 - *17 - *18 @@ -86956,9 +87022,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *525 + default: *527 headers: Link: *37 x-github: @@ -86987,8 +87053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: true content: @@ -87010,9 +87076,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: triggersNotification: true githubCloudOnly: false @@ -87039,17 +87105,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87074,9 +87140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 requestBody: required: true content: @@ -87098,9 +87164,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87125,9 +87191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 responses: '204': description: Response @@ -87156,9 +87222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 - 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. @@ -87184,9 +87250,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -87215,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 requestBody: required: true content: @@ -87249,9 +87315,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87277,8 +87343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 - 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. @@ -87304,9 +87370,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -87335,8 +87401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: true content: @@ -87368,9 +87434,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87394,7 +87460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87432,7 +87498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *522 + - *524 - name: role description: Filters members returned by their role in the team. in: query @@ -87483,7 +87549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87520,7 +87586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87560,7 +87626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87597,16 +87663,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-user-is-a-team-maintainer: *527 + response-if-user-is-a-team-maintainer: *529 '404': *6 x-github: githubCloudOnly: false @@ -87639,7 +87705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 requestBody: required: false @@ -87665,9 +87731,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-users-membership-with-team-is-now-pending: *528 + response-if-users-membership-with-team-is-now-pending: *530 '403': description: Forbidden if team synchronization is set up '422': @@ -87701,7 +87767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87731,7 +87797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87741,9 +87807,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *529 + default: *531 headers: Link: *37 '404': *6 @@ -87770,16 +87836,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *522 - - *224 + - *524 + - *226 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: *530 + default: *532 '404': description: Not Found if project is not managed by this team x-github: @@ -87804,8 +87870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *522 - - *224 + - *524 + - *226 requestBody: required: false content: @@ -87873,8 +87939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *522 - - *224 + - *524 + - *226 responses: '204': description: Response @@ -87901,7 +87967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87943,15 +88009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *531 + schema: *533 examples: alternative-response-with-extra-repository-information: value: @@ -88102,9 +88168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 requestBody: required: false content: @@ -88154,9 +88220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 responses: '204': description: Response @@ -88181,7 +88247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -88193,7 +88259,7 @@ paths: type: array items: *158 examples: - response-if-child-teams-exist: *532 + response-if-child-teams-exist: *534 headers: Link: *37 '404': *6 @@ -88226,7 +88292,7 @@ paths: application/json: schema: oneOf: - - &534 + - &536 title: Private User description: Private User type: object @@ -88476,7 +88542,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *533 + - *535 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88636,7 +88702,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -88982,7 +89048,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -88990,7 +89056,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -89034,7 +89100,7 @@ paths: type: integer secrets: type: array - items: &535 + items: &537 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -89076,7 +89142,7 @@ paths: - visibility - selected_repositories_url examples: - default: *343 + default: *345 headers: Link: *37 x-github: @@ -89154,7 +89220,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: default: value: @@ -89300,7 +89366,7 @@ paths: type: array items: *105 examples: - default: *536 + default: *538 '401': *23 '403': *27 '404': *6 @@ -89452,7 +89518,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '304': *35 '500': *39 '401': *23 @@ -89510,7 +89576,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -89567,7 +89633,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &539 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -89620,7 +89686,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &538 + default: &540 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -89665,9 +89731,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *538 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -89704,9 +89770,9 @@ paths: type: integer machines: type: array - items: *342 + items: *344 examples: - default: *539 + default: *541 '304': *35 '500': *39 '401': *23 @@ -89791,11 +89857,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *236 + repository: *238 machine: anyOf: - type: 'null' - - *342 + - *344 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -90600,7 +90666,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '304': *35 '500': *39 '400': *14 @@ -90640,7 +90706,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '500': *39 '401': *23 '403': *27 @@ -90672,7 +90738,7 @@ paths: type: array items: *174 examples: - default: &552 + default: &554 value: - id: 197 name: hello_docker @@ -90773,7 +90839,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Email description: Email type: object @@ -90843,9 +90909,9 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: &554 + default: &556 value: - email: octocat@github.com verified: true @@ -90922,7 +90988,7 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: default: value: @@ -91179,7 +91245,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: GPG Key description: A unique encryption key type: object @@ -91324,7 +91390,7 @@ paths: - subkeys - revoked examples: - default: &565 + default: &567 value: - id: 3 name: Octocat's GPG Key @@ -91409,9 +91475,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: &542 + default: &544 value: id: 3 name: Octocat's GPG Key @@ -91468,7 +91534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &543 + - &545 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -91480,9 +91546,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 '404': *6 '304': *35 '403': *27 @@ -91505,7 +91571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *543 + - *545 responses: '204': description: Response @@ -91696,7 +91762,7 @@ paths: type: array items: *54 examples: - default: *544 + default: *546 headers: Link: *37 '404': *6 @@ -91810,7 +91876,7 @@ paths: required: true content: application/json: - schema: *410 + schema: *412 examples: default: value: @@ -91960,7 +92026,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Key description: Key type: object @@ -92058,9 +92124,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92093,15 +92159,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *436 + - *438 responses: '200': description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '404': *6 '304': *35 '403': *27 @@ -92124,7 +92190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *436 + - *438 responses: '204': description: Response @@ -92157,7 +92223,7 @@ paths: application/json: schema: type: array - items: &547 + items: &549 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -92236,7 +92302,7 @@ paths: - account - plan examples: - default: &548 + default: &550 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -92298,9 +92364,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *548 + default: *550 headers: Link: *37 '304': *35 @@ -93304,7 +93370,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *168 - - *549 + - *551 responses: '204': description: Response @@ -93374,7 +93440,7 @@ paths: type: array items: *85 examples: - default: *550 + default: *552 headers: Link: *37 '304': *35 @@ -93416,7 +93482,7 @@ paths: - docker - nuget - container - - *551 + - *553 - *18 - *17 responses: @@ -93428,8 +93494,8 @@ paths: type: array items: *174 examples: - default: *552 - '400': *553 + default: *554 + '400': *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93458,7 +93524,7 @@ paths: application/json: schema: *174 examples: - default: &566 + default: &568 value: id: 40201 name: octo-name @@ -93910,9 +93976,9 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: *554 + default: *556 headers: Link: *37 '304': *35 @@ -94025,7 +94091,7 @@ paths: type: array items: *54 examples: - default: &561 + default: &563 summary: Default response value: - id: 1296269 @@ -94341,9 +94407,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94381,9 +94447,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *555 + default: *557 headers: Link: *37 '304': *35 @@ -94462,7 +94528,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Social account description: Social media account type: object @@ -94479,7 +94545,7 @@ paths: - provider - url examples: - default: &557 + default: &559 value: - provider: twitter url: https://twitter.com/github @@ -94542,9 +94608,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *557 + default: *559 '422': *15 '304': *35 '404': *6 @@ -94632,7 +94698,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -94652,7 +94718,7 @@ paths: - title - created_at examples: - default: &573 + default: &575 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94719,9 +94785,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94752,7 +94818,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: - - &560 + - &562 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -94764,9 +94830,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '304': *35 '403': *27 @@ -94789,7 +94855,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: - - *560 + - *562 responses: '204': description: Response @@ -94818,7 +94884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &574 + - &576 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 @@ -94843,11 +94909,11 @@ paths: type: array items: *54 examples: - default-response: *561 + default-response: *563 application/vnd.github.v3.star+json: schema: type: array - items: &575 + items: &577 title: Starred Repository description: Starred Repository type: object @@ -95003,8 +95069,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: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response if this repository is starred by you @@ -95032,8 +95098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -95057,8 +95123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -95130,7 +95196,7 @@ paths: application/json: schema: type: array - items: *210 + items: *212 examples: default: value: @@ -95214,10 +95280,10 @@ paths: application/json: schema: oneOf: - - *534 - - *533 + - *536 + - *535 examples: - default-response: &563 + default-response: &565 summary: Default response value: login: octocat @@ -95252,7 +95318,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &564 + response-with-git-hub-plan-information: &566 summary: Response with GitHub plan information value: login: octocat @@ -95312,7 +95378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *562 + - *564 - *17 responses: '200': @@ -95359,11 +95425,11 @@ paths: application/json: schema: oneOf: - - *534 - - *533 + - *536 + - *535 examples: - default-response: *563 - response-with-git-hub-plan-information: *564 + default-response: *565 + response-with-git-hub-plan-information: *566 '404': *6 x-github: githubCloudOnly: false @@ -95527,7 +95593,7 @@ paths: type: array items: *174 examples: - default: *552 + default: *554 '403': *27 '401': *23 x-github: @@ -95931,9 +95997,9 @@ paths: application/json: schema: type: array - items: *541 + items: *543 examples: - default: *565 + default: *567 headers: Link: *37 x-github: @@ -96037,7 +96103,7 @@ paths: application/json: schema: *20 examples: - default: *409 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96115,7 +96181,7 @@ paths: type: array items: *85 examples: - default: *550 + default: *552 headers: Link: *37 x-github: @@ -96154,7 +96220,7 @@ paths: - docker - nuget - container - - *551 + - *553 - *118 - *18 - *17 @@ -96167,10 +96233,10 @@ paths: type: array items: *174 examples: - default: *552 + default: *554 '403': *27 '401': *23 - '400': *553 + '400': *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96200,7 +96266,7 @@ paths: application/json: schema: *174 examples: - default: *566 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96793,9 +96859,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96823,9 +96889,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96853,9 +96919,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96883,9 +96949,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *557 + default: *559 headers: Link: *37 x-github: @@ -96915,9 +96981,9 @@ paths: application/json: schema: type: array - items: *558 + items: *560 examples: - default: *573 + default: *575 headers: Link: *37 x-github: @@ -96942,7 +97008,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *118 - - *574 + - *576 - *40 - *17 - *18 @@ -96954,11 +97020,11 @@ paths: schema: anyOf: - type: array - items: *575 + items: *577 - type: array items: *54 examples: - default-response: *561 + default-response: *563 headers: Link: *37 x-github: @@ -97118,7 +97184,7 @@ webhooks: type: string enum: - disabled - enterprise: &576 + enterprise: &578 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -97187,7 +97253,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &577 + installation: &579 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -97208,7 +97274,7 @@ webhooks: required: - id - node_id - organization: &578 + organization: &580 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -97281,7 +97347,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &579 + repository: &581 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -98194,10 +98260,10 @@ webhooks: type: string enum: - enabled - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -98273,11 +98339,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: &580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: &582 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) @@ -98500,11 +98566,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: *580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: *582 sender: *4 required: - action @@ -98692,11 +98758,11 @@ webhooks: - everyone required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: *580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: *582 sender: *4 required: - action @@ -98780,7 +98846,7 @@ webhooks: type: string enum: - completed - check_run: &582 + check_run: &584 title: CheckRun description: A check performed on the code of a given code change type: object @@ -98848,7 +98914,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *304 + items: *306 repository: *105 status: type: string @@ -98893,7 +98959,7 @@ webhooks: - examples: - neutral - deployment: *581 + deployment: *583 details_url: type: string examples: @@ -98953,7 +99019,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *304 + items: *306 started_at: type: string format: date-time @@ -98991,9 +99057,9 @@ webhooks: - output - app - pull_requests - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -99386,10 +99452,10 @@ webhooks: type: string enum: - created - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -99785,10 +99851,10 @@ webhooks: type: string enum: - requested_action - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 requested_action: description: The action requested by the user. type: object @@ -100193,10 +100259,10 @@ webhooks: type: string enum: - rerequested - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -101188,10 +101254,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -101876,10 +101942,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -102558,10 +102624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -102868,20 +102934,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &583 + commit_oid: &585 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: *576 - installation: *577 - organization: *578 - ref: &584 + enterprise: *578 + installation: *579 + organization: *580 + ref: &586 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: *579 + repository: *581 sender: *4 required: - action @@ -103209,12 +103275,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -103312,7 +103378,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *319 + dismissed_comment: *321 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103484,12 +103550,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -103821,12 +103887,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -104095,9 +104161,9 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -104105,7 +104171,7 @@ webhooks: type: - string - 'null' - repository: *579 + repository: *581 sender: *4 required: - action @@ -104337,12 +104403,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -104604,10 +104670,10 @@ webhooks: - updated_at - author_association - body - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -104688,18 +104754,18 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *578 - pusher_type: &585 + organization: *580 + pusher_type: &587 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &586 + ref: &588 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -104709,7 +104775,7 @@ webhooks: enum: - tag - branch - repository: *579 + repository: *581 sender: *4 required: - ref @@ -104792,9 +104858,9 @@ webhooks: enum: - created definition: *188 - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -104878,9 +104944,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -104957,9 +105023,9 @@ webhooks: enum: - updated definition: *188 - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -105035,10 +105101,10 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - repository: *579 - organization: *578 + enterprise: *578 + installation: *579 + repository: *581 + organization: *580 sender: *4 new_property_values: type: array @@ -105123,18 +105189,18 @@ webhooks: title: delete event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - pusher_type: *585 - ref: *586 + enterprise: *578 + installation: *579 + organization: *580 + pusher_type: *587 + ref: *588 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *579 + repository: *581 sender: *4 required: - ref @@ -105218,11 +105284,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105306,11 +105372,11 @@ webhooks: type: string enum: - auto_reopened - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105394,11 +105460,11 @@ webhooks: type: string enum: - created - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105480,11 +105546,11 @@ webhooks: type: string enum: - dismissed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105566,11 +105632,11 @@ webhooks: type: string enum: - fixed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105653,11 +105719,11 @@ webhooks: type: string enum: - reintroduced - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105739,11 +105805,11 @@ webhooks: type: string enum: - reopened - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105820,9 +105886,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - key: &587 + enterprise: *578 + installation: *579 + key: &589 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -105858,8 +105924,8 @@ webhooks: - verified - created_at - read_only - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -105936,11 +106002,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - key: *587 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + key: *589 + organization: *580 + repository: *581 sender: *4 required: - action @@ -106512,12 +106578,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: &591 + workflow: &593 title: Workflow type: - object @@ -107255,13 +107321,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *374 + deployment: *376 pull_requests: type: array - items: *455 - repository: *579 - organization: *578 - installation: *577 + items: *457 + repository: *581 + organization: *580 + installation: *579 sender: *4 responses: '200': @@ -107332,7 +107398,7 @@ webhooks: type: string enum: - approved - approver: &588 + approver: &590 type: object properties: avatar_url: @@ -107375,11 +107441,11 @@ webhooks: type: string comment: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - reviewers: &589 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + reviewers: &591 type: array items: type: object @@ -107460,7 +107526,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &590 + workflow_job_run: &592 type: object properties: conclusion: @@ -108206,18 +108272,18 @@ webhooks: type: string enum: - rejected - approver: *588 + approver: *590 comment: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - reviewers: *589 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + reviewers: *591 sender: *4 since: type: string - workflow_job_run: *590 + workflow_job_run: *592 workflow_job_runs: type: array items: @@ -108934,13 +109000,13 @@ webhooks: type: string enum: - requested - enterprise: *576 + enterprise: *578 environment: type: string - installation: *577 - organization: *578 - repository: *579 - requestor: &596 + installation: *579 + organization: *580 + repository: *581 + requestor: &598 title: User type: - object @@ -110883,12 +110949,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Deployment Workflow Run type: @@ -111579,7 +111645,7 @@ webhooks: type: string enum: - answered - answer: &594 + answer: &596 type: object properties: author_association: @@ -111739,7 +111805,7 @@ webhooks: - created_at - updated_at - body - discussion: &592 + discussion: &594 title: Discussion description: A Discussion in a repository. type: object @@ -112035,7 +112101,7 @@ webhooks: - id labels: type: array - items: *419 + items: *421 required: - repository_url - category @@ -112057,10 +112123,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112187,11 +112253,11 @@ webhooks: - from required: - category - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112274,11 +112340,11 @@ webhooks: type: string enum: - closed - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112360,7 +112426,7 @@ webhooks: type: string enum: - created - comment: &593 + comment: &595 type: object properties: author_association: @@ -112520,11 +112586,11 @@ webhooks: - updated_at - body - reactions - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112607,12 +112673,12 @@ webhooks: type: string enum: - deleted - comment: *593 - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + comment: *595 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112707,12 +112773,12 @@ webhooks: - from required: - body - comment: *593 - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + comment: *595 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112796,11 +112862,11 @@ webhooks: type: string enum: - created - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112882,11 +112948,11 @@ webhooks: type: string enum: - deleted - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112986,11 +113052,11 @@ webhooks: type: string required: - from - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113072,10 +113138,10 @@ webhooks: type: string enum: - labeled - discussion: *592 - enterprise: *576 - installation: *577 - label: &595 + discussion: *594 + enterprise: *578 + installation: *579 + label: &597 title: Label type: object properties: @@ -113108,8 +113174,8 @@ webhooks: - color - default - description - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113192,11 +113258,11 @@ webhooks: type: string enum: - locked - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113278,11 +113344,11 @@ webhooks: type: string enum: - pinned - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113364,11 +113430,11 @@ webhooks: type: string enum: - reopened - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113453,16 +113519,16 @@ webhooks: changes: type: object properties: - new_discussion: *592 - new_repository: *579 + new_discussion: *594 + new_repository: *581 required: - new_discussion - new_repository - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113545,10 +113611,10 @@ webhooks: type: string enum: - unanswered - discussion: *592 - old_answer: *594 - organization: *578 - repository: *579 + discussion: *594 + old_answer: *596 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113630,12 +113696,12 @@ webhooks: type: string enum: - unlabeled - discussion: *592 - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113718,11 +113784,11 @@ webhooks: type: string enum: - unlocked - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113804,11 +113870,11 @@ webhooks: type: string enum: - unpinned - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113881,7 +113947,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *576 + enterprise: *578 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -114559,9 +114625,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - forkee @@ -114707,9 +114773,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pages: description: The pages that were updated. type: array @@ -114747,7 +114813,7 @@ webhooks: - action - sha - html_url - repository: *579 + repository: *581 sender: *4 required: - pages @@ -114823,10 +114889,10 @@ webhooks: type: string enum: - created - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: &597 + organization: *580 + repositories: &599 description: An array of repository objects that the installation can access. type: array @@ -114852,8 +114918,8 @@ webhooks: - name - full_name - private - repository: *579 - requester: *596 + repository: *581 + requester: *598 sender: *4 required: - action @@ -114928,11 +114994,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115009,11 +115075,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115090,10 +115156,10 @@ webhooks: type: string enum: - added - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories_added: &598 + organization: *580 + repositories_added: &600 description: An array of repository objects, which were added to the installation. type: array @@ -115139,15 +115205,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *579 - repository_selection: &599 + repository: *581 + repository_selection: &601 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *596 + requester: *598 sender: *4 required: - action @@ -115226,10 +115292,10 @@ webhooks: type: string enum: - removed - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories_added: *598 + organization: *580 + repositories_added: *600 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -115256,9 +115322,9 @@ webhooks: - name - full_name - private - repository: *579 - repository_selection: *599 - requester: *596 + repository: *581 + repository_selection: *601 + requester: *598 sender: *4 required: - action @@ -115337,11 +115403,11 @@ webhooks: type: string enum: - suspend - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115523,10 +115589,10 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 target_type: type: string @@ -115605,11 +115671,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115857,8 +115923,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117034,8 +117100,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -117115,7 +117181,7 @@ webhooks: type: string enum: - deleted - comment: &600 + comment: &602 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -117282,8 +117348,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118457,8 +118523,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -118538,7 +118604,7 @@ webhooks: type: string enum: - edited - changes: &625 + changes: &627 description: The changes to the comment. type: object properties: @@ -118550,9 +118616,9 @@ webhooks: type: string required: - from - comment: *600 - enterprise: *576 - installation: *577 + comment: *602 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119727,8 +119793,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -119810,10 +119876,10 @@ webhooks: type: string enum: - assigned - assignee: *596 - enterprise: *576 - installation: *577 - issue: &603 + assignee: *598 + enterprise: *578 + installation: *579 + issue: &605 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120743,8 +120809,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -120824,8 +120890,8 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121903,8 +121969,8 @@ webhooks: required: - state - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -121983,8 +122049,8 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122907,8 +122973,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -122987,8 +123053,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123915,7 +123981,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &601 + milestone: &603 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124058,8 +124124,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -124158,8 +124224,8 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125089,9 +125155,9 @@ webhooks: - active_lock_reason - body - reactions - label: *595 - organization: *578 - repository: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -125171,8 +125237,8 @@ webhooks: type: string enum: - labeled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126101,9 +126167,9 @@ webhooks: - active_lock_reason - body - reactions - label: *595 - organization: *578 - repository: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -126183,8 +126249,8 @@ webhooks: type: string enum: - locked - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127115,8 +127181,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -127195,8 +127261,8 @@ webhooks: type: string enum: - milestoned - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128121,9 +128187,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *601 - organization: *578 - repository: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -129609,8 +129675,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130539,8 +130605,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -130620,9 +130686,9 @@ webhooks: type: string enum: - pinned - enterprise: *576 - installation: *577 - issue: &602 + enterprise: *578 + installation: *579 + issue: &604 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131545,8 +131611,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -131625,8 +131691,8 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132556,8 +132622,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134043,11 +134109,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *576 - installation: *577 - issue: *602 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *604 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134128,7 +134194,7 @@ webhooks: type: string enum: - unassigned - assignee: &628 + assignee: &630 title: User type: - object @@ -134200,11 +134266,11 @@ webhooks: required: - login - id - enterprise: *576 - installation: *577 - issue: *603 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *605 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134283,12 +134349,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *576 - installation: *577 - issue: *603 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *605 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134368,8 +134434,8 @@ webhooks: type: string enum: - unlocked - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135298,8 +135364,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135379,11 +135445,11 @@ webhooks: type: string enum: - unpinned - enterprise: *576 - installation: *577 - issue: *602 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *604 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135462,11 +135528,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135544,11 +135610,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135658,11 +135724,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135744,9 +135810,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: &604 + enterprise: *578 + installation: *579 + marketplace_purchase: &606 title: Marketplace Purchase type: object required: @@ -135834,8 +135900,8 @@ webhooks: type: integer unit_count: type: integer - organization: *578 - previous_marketplace_purchase: &605 + organization: *580 + previous_marketplace_purchase: &607 title: Marketplace Purchase type: object properties: @@ -135919,7 +135985,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -135999,10 +136065,10 @@ webhooks: - changed effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136090,7 +136156,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -136172,10 +136238,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136261,7 +136327,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -136342,8 +136408,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 marketplace_purchase: title: Marketplace Purchase type: object @@ -136429,9 +136495,9 @@ webhooks: type: integer unit_count: type: integer - organization: *578 - previous_marketplace_purchase: *605 - repository: *579 + organization: *580 + previous_marketplace_purchase: *607 + repository: *581 sender: *4 required: - action @@ -136511,12 +136577,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 - previous_marketplace_purchase: *605 - repository: *579 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 + previous_marketplace_purchase: *607 + repository: *581 sender: *4 required: - action @@ -136618,11 +136684,11 @@ webhooks: type: string required: - to - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136724,11 +136790,11 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136807,11 +136873,11 @@ webhooks: type: string enum: - removed - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136889,11 +136955,11 @@ webhooks: type: string enum: - added - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 scope: description: The scope of the membership. Currently, can only be `team`. @@ -136971,7 +137037,7 @@ webhooks: required: - login - id - team: &606 + team: &608 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137164,11 +137230,11 @@ webhooks: type: string enum: - removed - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137247,7 +137313,7 @@ webhooks: required: - login - id - team: *606 + team: *608 required: - action - scope @@ -137329,8 +137395,8 @@ webhooks: type: string enum: - checks_requested - installation: *577 - merge_group: &607 + installation: *579 + merge_group: &609 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137349,15 +137415,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *308 + head_commit: *310 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137443,10 +137509,10 @@ webhooks: - merged - invalidated - dequeued - installation: *577 - merge_group: *607 - organization: *578 - repository: *579 + installation: *579 + merge_group: *609 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137519,7 +137585,7 @@ webhooks: type: string enum: - deleted - enterprise: *576 + enterprise: *578 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -137627,12 +137693,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *577 - organization: *578 + installation: *579 + organization: *580 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -137712,11 +137778,11 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137795,9 +137861,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - milestone: &608 + enterprise: *578 + installation: *579 + milestone: &610 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137939,8 +138005,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138019,11 +138085,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138133,11 +138199,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138217,11 +138283,11 @@ webhooks: type: string enum: - opened - enterprise: *576 - installation: *577 - milestone: *608 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *610 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138300,11 +138366,11 @@ webhooks: type: string enum: - blocked - blocked_user: *596 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + blocked_user: *598 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138383,11 +138449,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *596 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + blocked_user: *598 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138466,9 +138532,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - membership: &609 + enterprise: *578 + installation: *579 + membership: &611 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138562,8 +138628,8 @@ webhooks: - role - organization_url - user - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138641,11 +138707,11 @@ webhooks: type: string enum: - member_added - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138724,8 +138790,8 @@ webhooks: type: string enum: - member_invited - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -138847,10 +138913,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 - user: *596 + user: *598 required: - action - invitation @@ -138928,11 +138994,11 @@ webhooks: type: string enum: - member_removed - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -139019,11 +139085,11 @@ webhooks: properties: from: type: string - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -139099,9 +139165,9 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 package: description: Information about the package. type: object @@ -139624,7 +139690,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &610 + items: &612 title: Ruby Gems metadata type: object properties: @@ -139721,7 +139787,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -139797,9 +139863,9 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 package: description: Information about the package. type: object @@ -140161,7 +140227,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *610 + items: *612 source_url: type: string format: uri @@ -140232,7 +140298,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -140413,12 +140479,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *576 + enterprise: *578 id: type: integer - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - id @@ -140498,7 +140564,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &611 + personal_access_token_request: &613 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -140636,10 +140702,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *576 - organization: *578 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140718,11 +140784,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *611 - enterprise: *576 - organization: *578 + personal_access_token_request: *613 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140800,11 +140866,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *611 - enterprise: *576 - organization: *578 + personal_access_token_request: *613 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140881,11 +140947,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *611 - organization: *578 - enterprise: *576 + personal_access_token_request: *613 + organization: *580 + enterprise: *578 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140989,7 +141055,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *612 + last_response: *614 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141021,8 +141087,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 zen: description: Random string of GitHub zen. @@ -141267,10 +141333,10 @@ webhooks: - from required: - note - enterprise: *576 - installation: *577 - organization: *578 - project_card: &613 + enterprise: *578 + installation: *579 + organization: *580 + project_card: &615 title: Project Card type: object properties: @@ -141393,7 +141459,7 @@ webhooks: - creator - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -141474,11 +141540,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project_card: *613 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_card: *615 + repository: *581 sender: *4 required: - action @@ -141558,9 +141624,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 project_card: title: Project Card type: object @@ -141690,7 +141756,7 @@ webhooks: repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -141784,11 +141850,11 @@ webhooks: - from required: - note - enterprise: *576 - installation: *577 - organization: *578 - project_card: *613 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_card: *615 + repository: *581 sender: *4 required: - action @@ -141882,9 +141948,9 @@ webhooks: - from required: - column_id - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 project_card: allOf: - title: Project Card @@ -142081,7 +142147,7 @@ webhooks: type: string required: - after_id - repository: *579 + repository: *581 sender: *4 required: - action @@ -142161,10 +142227,10 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - organization: *578 - project: &615 + enterprise: *578 + installation: *579 + organization: *580 + project: &617 title: Project type: object properties: @@ -142291,7 +142357,7 @@ webhooks: - creator - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -142371,10 +142437,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project_column: &614 + enterprise: *578 + installation: *579 + organization: *580 + project_column: &616 title: Project Column type: object properties: @@ -142414,7 +142480,7 @@ webhooks: - name - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -142493,14 +142559,14 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -142589,11 +142655,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 + repository: *581 sender: *4 required: - action @@ -142673,11 +142739,11 @@ webhooks: type: string enum: - moved - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 + repository: *581 sender: *4 required: - action @@ -142757,11 +142823,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -142841,14 +142907,14 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - project: *615 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -142949,11 +143015,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -143032,11 +143098,11 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -143117,9 +143183,9 @@ webhooks: type: string enum: - closed - installation: *577 - organization: *578 - projects_v2: &616 + installation: *579 + organization: *580 + projects_v2: &618 title: Projects v2 Project description: A projects v2 project type: object @@ -143267,9 +143333,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143350,9 +143416,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143473,9 +143539,9 @@ webhooks: type: string to: type: string - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143558,7 +143624,7 @@ webhooks: type: string enum: - archived - changes: &620 + changes: &622 type: object properties: archived_at: @@ -143574,9 +143640,9 @@ webhooks: - string - 'null' format: date-time - installation: *577 - organization: *578 - projects_v2_item: &617 + installation: *579 + organization: *580 + projects_v2_item: &619 title: Projects v2 Item description: An item belonging to a project type: object @@ -143715,9 +143781,9 @@ webhooks: - 'null' to: type: string - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143799,9 +143865,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143882,9 +143948,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143989,7 +144055,7 @@ webhooks: oneOf: - type: string - type: integer - - &618 + - &620 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144009,7 +144075,7 @@ webhooks: required: - id - name - - &619 + - &621 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144038,8 +144104,8 @@ webhooks: oneOf: - type: string - type: integer - - *618 - - *619 + - *620 + - *621 type: - 'null' - string @@ -144062,9 +144128,9 @@ webhooks: - 'null' required: - body - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144161,9 +144227,9 @@ webhooks: type: - string - 'null' - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144246,10 +144312,10 @@ webhooks: type: string enum: - restored - changes: *620 - installation: *577 - organization: *578 - projects_v2_item: *617 + changes: *622 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144331,9 +144397,9 @@ webhooks: type: string enum: - reopened - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -144414,9 +144480,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2_status_update: &621 + installation: *579 + organization: *580 + projects_v2_status_update: &623 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144551,9 +144617,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2_status_update: *621 + installation: *579 + organization: *580 + projects_v2_status_update: *623 sender: *4 required: - action @@ -144699,9 +144765,9 @@ webhooks: - string - 'null' format: date - installation: *577 - organization: *578 - projects_v2_status_update: *621 + installation: *579 + organization: *580 + projects_v2_status_update: *623 sender: *4 required: - action @@ -144772,10 +144838,10 @@ webhooks: title: public event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - repository @@ -144852,13 +144918,13 @@ webhooks: type: string enum: - assigned - assignee: *596 - enterprise: *576 - installation: *577 - number: &622 + assignee: *598 + enterprise: *578 + installation: *579 + number: &624 description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -147207,7 +147273,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -147289,11 +147355,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -149635,7 +149701,7 @@ webhooks: - draft reason: type: string - repository: *579 + repository: *581 sender: *4 required: - action @@ -149717,11 +149783,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -152063,7 +152129,7 @@ webhooks: - draft reason: type: string - repository: *579 + repository: *581 sender: *4 required: - action @@ -152145,13 +152211,13 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: &623 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: &625 allOf: - - *455 + - *457 - type: object properties: allow_auto_merge: @@ -152213,7 +152279,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *579 + repository: *581 sender: *4 required: - action @@ -152294,12 +152360,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -152379,11 +152445,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *576 - milestone: *354 - number: *622 - organization: *578 - pull_request: &624 + enterprise: *578 + milestone: *356 + number: *624 + organization: *580 + pull_request: &626 title: Pull Request type: object properties: @@ -154710,7 +154776,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -154789,11 +154855,11 @@ webhooks: type: string enum: - dequeued - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -157139,7 +157205,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *579 + repository: *581 sender: *4 required: - action @@ -157263,12 +157329,12 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -157348,11 +157414,11 @@ webhooks: type: string enum: - enqueued - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -159683,7 +159749,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -159763,11 +159829,11 @@ webhooks: type: string enum: - labeled - enterprise: *576 - installation: *577 - label: *595 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + label: *597 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -162115,7 +162181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -162196,10 +162262,10 @@ webhooks: type: string enum: - locked - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -164545,7 +164611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -164625,12 +164691,12 @@ webhooks: type: string enum: - milestoned - enterprise: *576 - milestone: *354 - number: *622 - organization: *578 - pull_request: *624 - repository: *579 + enterprise: *578 + milestone: *356 + number: *624 + organization: *580 + pull_request: *626 + repository: *581 sender: *4 required: - action @@ -164709,12 +164775,12 @@ webhooks: type: string enum: - opened - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -164795,12 +164861,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -164880,12 +164946,12 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -165260,9 +165326,9 @@ webhooks: - start_side - side - reactions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -167492,7 +167558,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -167572,7 +167638,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &628 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167865,9 +167931,9 @@ webhooks: - start_side - side - reactions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -170085,7 +170151,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -170165,11 +170231,11 @@ webhooks: type: string enum: - edited - changes: *625 - comment: *626 - enterprise: *576 - installation: *577 - organization: *578 + changes: *627 + comment: *628 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -172390,7 +172456,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -172471,9 +172537,9 @@ webhooks: type: string enum: - dismissed - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -174706,7 +174772,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 review: description: The review that was affected. type: object @@ -174952,9 +175018,9 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -177068,8 +177134,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 - review: &627 + repository: *581 + review: &629 description: The review that was affected. type: object properties: @@ -177302,12 +177368,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -179654,7 +179720,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_reviewer: title: User type: @@ -179740,12 +179806,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -182099,7 +182165,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182294,12 +182360,12 @@ webhooks: type: string enum: - review_requested - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -184648,7 +184714,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_reviewer: title: User type: @@ -184735,12 +184801,12 @@ webhooks: type: string enum: - review_requested - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -187080,7 +187146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187264,9 +187330,9 @@ webhooks: type: string enum: - submitted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -189502,8 +189568,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 - review: *627 + repository: *581 + review: *629 sender: *4 required: - action @@ -189583,9 +189649,9 @@ webhooks: type: string enum: - resolved - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -191716,7 +191782,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 sender: *4 thread: type: object @@ -192108,9 +192174,9 @@ webhooks: type: string enum: - unresolved - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -194224,7 +194290,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 sender: *4 thread: type: object @@ -194618,10 +194684,10 @@ webhooks: type: string before: type: string - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -196956,7 +197022,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -197038,11 +197104,11 @@ webhooks: type: string enum: - unassigned - assignee: *628 - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + assignee: *630 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -199392,7 +199458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -199471,11 +199537,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *576 - installation: *577 - label: *595 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + label: *597 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -201814,7 +201880,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -201895,10 +201961,10 @@ webhooks: type: string enum: - unlocked - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -204227,7 +204293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -204430,7 +204496,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *576 + enterprise: *578 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204525,8 +204591,8 @@ webhooks: - url - author - committer - installation: *577 - organization: *578 + installation: *579 + organization: *580 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205114,9 +205180,9 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 registry_package: type: object properties: @@ -205593,7 +205659,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *610 + items: *612 summary: type: string tag_name: @@ -205649,7 +205715,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -205727,9 +205793,9 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 registry_package: type: object properties: @@ -206041,7 +206107,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *610 + items: *612 summary: type: string tag_name: @@ -206091,7 +206157,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -206168,10 +206234,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - release: &629 + enterprise: *578 + installation: *579 + organization: *580 + release: &631 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206487,7 +206553,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *579 + repository: *581 sender: *4 required: - action @@ -206564,11 +206630,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -206676,11 +206742,11 @@ webhooks: type: boolean required: - to - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -206758,9 +206824,9 @@ webhooks: type: string enum: - prereleased - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207081,7 +207147,7 @@ webhooks: - string - 'null' format: uri - repository: *579 + repository: *581 sender: *4 required: - action @@ -207157,10 +207223,10 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - release: &630 + enterprise: *578 + installation: *579 + organization: *580 + release: &632 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207478,7 +207544,7 @@ webhooks: - string - 'null' format: uri - repository: *579 + repository: *581 sender: *4 required: - action @@ -207554,11 +207620,11 @@ webhooks: type: string enum: - released - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -207634,11 +207700,11 @@ webhooks: type: string enum: - unpublished - enterprise: *576 - installation: *577 - organization: *578 - release: *630 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *632 + repository: *581 sender: *4 required: - action @@ -207714,11 +207780,11 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - repository_advisory: *508 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + repository_advisory: *510 sender: *4 required: - action @@ -207794,11 +207860,11 @@ webhooks: type: string enum: - reported - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - repository_advisory: *508 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + repository_advisory: *510 sender: *4 required: - action @@ -207874,10 +207940,10 @@ webhooks: type: string enum: - archived - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -207954,10 +208020,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208035,10 +208101,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208123,10 +208189,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208241,10 +208307,10 @@ webhooks: - 'null' items: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208316,10 +208382,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 status: type: string @@ -208400,10 +208466,10 @@ webhooks: type: string enum: - privatized - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208480,10 +208546,10 @@ webhooks: type: string enum: - publicized - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208577,10 +208643,10 @@ webhooks: - name required: - repository - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208660,10 +208726,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 sender: *4 required: @@ -208742,10 +208808,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 sender: *4 required: @@ -208824,10 +208890,10 @@ webhooks: type: string enum: - edited - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 changes: type: object @@ -209135,10 +209201,10 @@ webhooks: - from required: - owner - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209216,10 +209282,10 @@ webhooks: type: string enum: - unarchived - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209297,7 +209363,7 @@ webhooks: type: string enum: - create - alert: &631 + alert: &633 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209421,10 +209487,10 @@ webhooks: type: string enum: - open - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209634,10 +209700,10 @@ webhooks: type: string enum: - dismissed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209715,11 +209781,11 @@ webhooks: type: string enum: - reopen - alert: *631 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *633 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209921,10 +209987,10 @@ webhooks: enum: - fixed - open - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210002,7 +210068,7 @@ webhooks: type: string enum: - created - alert: &632 + alert: &634 type: object properties: number: *46 @@ -210079,10 +210145,21 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210163,11 +210240,11 @@ webhooks: type: string enum: - created - alert: *632 - installation: *577 - location: *633 - organization: *578 - repository: *579 + alert: *634 + installation: *579 + location: *635 + organization: *580 + repository: *581 sender: *4 required: - location @@ -210191,6 +210268,8 @@ webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -210343,6 +210422,88 @@ 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: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + sender: *4 + 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: |- @@ -210403,11 +210564,11 @@ webhooks: type: string enum: - reopened - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210485,11 +210646,11 @@ webhooks: type: string enum: - resolved - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210567,11 +210728,11 @@ webhooks: type: string enum: - validated - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210647,11 +210808,11 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - security_advisory: &634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + security_advisory: &636 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210837,11 +210998,11 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - security_advisory: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + security_advisory: *636 sender: *4 required: - action @@ -210914,10 +211075,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211104,10 +211265,10 @@ webhooks: type: object properties: security_and_analysis: *193 - enterprise: *576 - installation: *577 - organization: *578 - repository: *236 + enterprise: *578 + installation: *579 + organization: *580 + repository: *238 sender: *4 required: - changes @@ -211185,12 +211346,12 @@ webhooks: type: string enum: - cancelled - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: &635 + sponsorship: &637 type: object properties: created_at: @@ -211495,12 +211656,12 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - sponsorship @@ -211588,12 +211749,12 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211670,17 +211831,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &636 + effective_date: &638 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: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - sponsorship @@ -211754,7 +211915,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &637 + changes: &639 type: object properties: tier: @@ -211798,13 +211959,13 @@ webhooks: - from required: - tier - effective_date: *636 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + effective_date: *638 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211881,13 +212042,13 @@ webhooks: type: string enum: - tier_changed - changes: *637 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + changes: *639 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211961,10 +212122,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212048,10 +212209,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212480,15 +212641,15 @@ webhooks: type: - string - 'null' - enterprise: *576 + enterprise: *578 id: description: The unique identifier of the status. type: integer - installation: *577 + installation: *579 name: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 sha: description: The Commit SHA. @@ -212604,9 +212765,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212696,9 +212857,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212788,9 +212949,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212880,9 +213041,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212959,12 +213120,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - team: &638 + team: &640 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213157,9 +213318,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -213629,7 +213790,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -213705,9 +213866,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -214177,7 +214338,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -214254,9 +214415,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -214726,7 +214887,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -214870,9 +215031,9 @@ webhooks: - from required: - permissions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -215342,7 +215503,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - changes @@ -215420,9 +215581,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -215892,7 +216053,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -215968,10 +216129,10 @@ webhooks: type: string enum: - started - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -216044,17 +216205,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *576 + enterprise: *578 inputs: type: - object - 'null' additionalProperties: true - installation: *577 - organization: *578 + installation: *579 + organization: *580 ref: type: string - repository: *579 + repository: *581 sender: *4 workflow: type: string @@ -216136,10 +216297,10 @@ webhooks: type: string enum: - completed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: allOf: @@ -216395,7 +216556,7 @@ webhooks: type: string required: - conclusion - deployment: *374 + deployment: *376 required: - action - repository @@ -216474,10 +216635,10 @@ webhooks: type: string enum: - in_progress - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: allOf: @@ -216759,7 +216920,7 @@ webhooks: required: - status - steps - deployment: *374 + deployment: *376 required: - action - repository @@ -216838,10 +216999,10 @@ webhooks: type: string enum: - queued - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: type: object @@ -216987,7 +217148,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *374 + deployment: *376 required: - action - repository @@ -217066,10 +217227,10 @@ webhooks: type: string enum: - waiting - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: type: object @@ -217216,7 +217377,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *374 + deployment: *376 required: - action - repository @@ -217296,12 +217457,12 @@ webhooks: type: string enum: - completed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object @@ -218320,12 +218481,12 @@ webhooks: type: string enum: - in_progress - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object @@ -219329,12 +219490,12 @@ webhooks: type: string enum: - requested - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 98be9a78eb..dc52c2dbd7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -21093,6 +21093,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": { @@ -22119,6 +22139,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -22248,7 +22282,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, @@ -22334,7 +22370,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -54295,6 +54333,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -55032,6 +55080,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -139189,6 +139247,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": { @@ -140215,6 +140293,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -140344,7 +140436,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, @@ -140430,7 +140524,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -449867,6 +449963,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": { @@ -450342,6 +450458,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } } @@ -450404,7 +450534,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, @@ -450423,7 +450555,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -450978,635 +451112,20 @@ "inactive", "unknown" ] - } - } - }, - "examples": { - "default": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null, - "validity": "unknown" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "404": { - "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - }, - "patch": { - "summary": "Update a secret scanning alert", - "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", - "operationId": "secret-scanning/update-alert", - "tags": [ - "secret-scanning" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "alert_number", - "in": "path", - "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", - "required": true, - "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "state" - ] - }, - "examples": { - "default": { - "value": { - "state": "resolved", - "resolution": "false_positive" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "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." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "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).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." }, - "push_protection_bypassed": { + "publicly_leaked": { "type": [ "boolean", "null" ], - "description": "Whether push protection was bypassed for the detected secret." + "description": "Whether the detected secret was publicly leaked." }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "push_protection_bypassed_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -451618,52 +451137,699 @@ "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "resolved", - "resolution": "used_in_tests", - "resolved_at": "2020-11-16T22:42:07Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, "push_protection_bypassed_by": null, + "push_protection_bypassed": false, "push_protection_bypassed_at": null, - "resolution_comment": "Example comment", - "validity": "unknown" + "resolution_comment": null, + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } } } }, - "400": { - "description": "Bad request, resolution comment is invalid or the resolution was not changed." + "304": { + "description": "Not modified" }, "404": { "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, - "422": { - "description": "State does not match the resolution or resolution comment" - }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "secret-scanning" + } + }, + "patch": { + "summary": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "operationId": "secret-scanning/update-alert", + "tags": [ + "secret-scanning" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "required": true, + "schema": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolution_comment": { + "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "state" + ] + }, + "examples": { + "default": { + "value": { + "state": "resolved", + "resolution": "false_positive" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + }, + "created_at": { + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] + }, + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "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." + }, + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "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).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + } + } + }, + "examples": { + "default": { + "value": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "state": "resolved", + "resolution": "used_in_tests", + "resolved_at": "2020-11-16T22:42:07Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "push_protection_bypassed": false, + "push_protection_bypassed_by": null, + "push_protection_bypassed_at": null, + "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." + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "422": { + "description": "State does not match the resolution or resolution comment" + }, "503": { "description": "Service unavailable", "content": { @@ -1189416,205 +1189582,2185 @@ "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", + "null" + ] + }, + "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "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", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 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", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "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", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + "\"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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", - "null" - ] - }, - "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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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": { @@ -1191491,7 +1193637,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1191517,13 +1193662,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": [ { @@ -1191588,15 +1193733,187 @@ "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", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], + "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).\"", @@ -1193471,6 +1195788,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1193486,21 +1195804,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" }, @@ -1193567,13 +1195883,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": { @@ -1193584,6 +1195900,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1193603,6 +1195922,12 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": [ + "string", + "null" + ] + }, "dismiss_reason": { "type": "string" }, @@ -1193702,6 +1196027,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1193743,7 +1196071,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1195646,11 +1197974,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" }, @@ -1195717,13 +1198045,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": { @@ -1195734,9 +1198062,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1195756,12 +1198081,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": [ - "string", - "null" - ] - }, "dismiss_reason": { "type": "string" }, @@ -1195861,9 +1198180,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1195905,7 +1198221,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1197808,11 +1200124,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" }, @@ -1197879,13 +1200195,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": { @@ -1198055,6 +1200371,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1199958,13 +1202275,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": [ { @@ -1200029,185 +1202346,485 @@ "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": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", + "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": [ - "object", + "string", "null" ], - "required": [ - "login", - "id" + "description": "The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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" + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" ] - }, - "url": { - "type": "string", - "format": "uri" } - } - }, - "external_identifier": { - "type": "string" + ] }, - "external_reference": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "uri" - }, - "fix_reason": { - "type": "string" + "description": "An optional comment to resolve an alert." }, - "fixed_at": { + "secret_type": { "type": "string", - "format": "date-time" + "description": "The type of secret that secret scanning detected." }, - "fixed_in": { - "type": "string" + "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).\"" }, - "ghsa_id": { - "type": "string" + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "id": { - "type": "integer" + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." }, - "node_id": { - "type": "string" + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] }, - "number": { - "type": "integer" + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1202086,8 +1204703,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1202101,21 +1204717,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": [ { @@ -1202180,7 +1204797,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1202645,98 +1205262,22 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "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", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { + "publicly_leaked": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] + "description": "Whether the detected secret was publicly leaked." }, - "updated_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1202763,6 +1205304,354 @@ "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.", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", @@ -1204521,10 +1207410,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" + } + } } } } @@ -1204536,8 +1207600,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1204546,13 +1207611,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": [ { @@ -1204617,13 +1207682,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": { @@ -1205082,9 +1208147,113 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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).\"", @@ -1205110,354 +1208279,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.", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", @@ -1207216,183 +1210037,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" - } - } } } } @@ -1207404,9 +1210052,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1207951,6 +1210598,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1210388,6 +1213049,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1212825,6 +1215500,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 2e8f751dc2..c8cf14cc41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &209 + type: &211 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &510 + - &512 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8085,7 +8085,7 @@ paths: - development - runtime - - security_advisory: &366 + security_advisory: &368 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8352,7 +8352,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &367 + auto_dismissed_at: &369 type: - string - 'null' @@ -9099,6 +9099,24 @@ paths: required: false schema: type: string + - &207 + 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 + - &208 + 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 @@ -9106,7 +9124,7 @@ paths: application/json: schema: type: array - items: &207 + items: &209 type: object properties: number: *46 @@ -9122,14 +9140,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &503 + state: &505 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: &504 + resolution: &506 type: - string - 'null' @@ -9194,8 +9212,19 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. examples: - default: &208 + default: &210 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9315,6 +9344,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 @@ -9397,6 +9428,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *37 '404': *6 @@ -9760,7 +9793,7 @@ paths: milestone: anyOf: - type: 'null' - - &354 + - &356 title: Milestone description: A collection of related issues and pull requests. @@ -10010,7 +10043,7 @@ paths: - author_association - created_at - updated_at - comment: &413 + comment: &415 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10578,7 +10611,7 @@ paths: url: type: string format: uri - user: &533 + user: &535 title: Public User description: Public User type: object @@ -13909,14 +13942,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &225 + - &227 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &226 + - &228 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -13987,7 +14020,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &237 + '301': &239 description: Moved permanently content: application/json: @@ -14009,7 +14042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &441 + - &443 name: all description: If `true`, show notifications marked as read. in: query @@ -14017,7 +14050,7 @@ paths: schema: type: boolean default: false - - &442 + - &444 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14027,7 +14060,7 @@ paths: type: boolean default: false - *59 - - &443 + - &445 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: @@ -14545,7 +14578,7 @@ paths: - url - subscription_url examples: - default: &444 + default: &446 value: - id: '1' repository: @@ -15096,7 +15129,7 @@ paths: type: array items: *85 examples: - default: &550 + default: &552 value: - login: github id: 1 @@ -15296,6 +15329,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -15923,7 +15966,7 @@ paths: type: integer repository_cache_usages: type: array - items: &242 + items: &244 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16096,7 +16139,7 @@ paths: - all - local_only - selected - selected_actions_url: &248 + selected_actions_url: &250 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` @@ -16186,7 +16229,7 @@ paths: type: array items: *54 examples: - default: &544 + default: &546 value: total_count: 1 repositories: @@ -16514,7 +16557,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &254 type: object properties: default_workflow_permissions: &99 @@ -16565,7 +16608,7 @@ paths: required: false content: application/json: - schema: &253 + schema: &255 type: object properties: default_workflow_permissions: *99 @@ -17003,7 +17046,7 @@ paths: type: array items: *105 examples: - default: &536 + default: &538 value: total_count: 1 repositories: @@ -17646,7 +17689,7 @@ paths: application/json: schema: type: array - items: &254 + items: &256 title: Runner Application description: Runner Application type: object @@ -17671,7 +17714,7 @@ paths: - download_url - filename examples: - default: &255 + default: &257 value: - os: osx architecture: x64 @@ -17757,7 +17800,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &256 + '201': &258 description: Response content: application/json: @@ -17871,7 +17914,7 @@ paths: - token - expires_at examples: - default: &257 + default: &259 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -17910,7 +17953,7 @@ paths: application/json: schema: *109 examples: - default: &258 + default: &260 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -17944,7 +17987,7 @@ paths: application/json: schema: *107 examples: - default: &259 + default: &261 value: id: 23 name: MBP @@ -18168,7 +18211,7 @@ paths: - *86 - *106 responses: - '200': &260 + '200': &262 description: Response content: application/json: @@ -18225,7 +18268,7 @@ paths: parameters: - *86 - *106 - - &261 + - &263 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18357,7 +18400,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18392,7 +18435,7 @@ paths: - key_id - key examples: - default: &274 + default: &276 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18803,7 +18846,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *86 - - &247 + - &249 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)." @@ -19333,7 +19376,7 @@ paths: repository_id: type: integer examples: - default: &287 + default: &289 value: attestations: - bundle: @@ -19570,7 +19613,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *86 - - &312 + - &314 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`, @@ -19580,7 +19623,7 @@ paths: schema: &121 type: string description: The name of the tool used to generate the code scanning analysis. - - &313 + - &315 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 @@ -19604,7 +19647,7 @@ paths: be returned. in: query required: false - schema: &315 + schema: &317 type: string description: State of a code scanning alert. enum: @@ -19627,7 +19670,7 @@ paths: be returned. in: query required: false - schema: &316 + schema: &318 type: string description: Severity of a code scanning alert. enum: @@ -19653,7 +19696,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &317 + instances_url: &319 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19672,7 +19715,7 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: &318 + dismissed_reason: &320 type: - string - 'null' @@ -19683,14 +19726,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &319 + dismissed_comment: &321 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &320 + rule: &322 type: object properties: id: @@ -19751,7 +19794,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &321 + tool: &323 type: object properties: name: *121 @@ -19762,15 +19805,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *122 - most_recent_instance: &322 + most_recent_instance: &324 type: object properties: - ref: &314 + ref: &316 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &328 + analysis_key: &330 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19781,7 +19824,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &329 + category: &331 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -21227,7 +21270,7 @@ paths: machine: anyOf: - type: 'null' - - &342 + - &344 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22179,7 +22222,7 @@ paths: - updated_at - visibility examples: - default: &343 + default: &345 value: total_count: 2 secrets: @@ -22217,7 +22260,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &346 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22252,7 +22295,7 @@ paths: - key_id - key examples: - default: &345 + default: &347 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22284,7 +22327,7 @@ paths: application/json: schema: *129 examples: - default: &347 + default: &349 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23313,7 +23356,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &372 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23332,7 +23375,7 @@ paths: - key_id - key examples: - default: &371 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24630,7 +24673,7 @@ paths: application/json: schema: *20 examples: - default: &409 + default: &411 value: id: 1 account: @@ -24858,7 +24901,7 @@ paths: required: true content: application/json: - schema: &410 + schema: &412 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -25470,7 +25513,7 @@ paths: application/json: schema: *162 examples: - default: &341 + default: &343 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26705,7 +26748,7 @@ paths: parameters: - *86 - *168 - - &549 + - &551 name: repo_name description: repo_name parameter in: path @@ -27694,7 +27737,7 @@ paths: - nuget - container - *86 - - &551 + - &553 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -27735,7 +27778,7 @@ paths: default: *175 '403': *27 '401': *23 - '400': &553 + '400': &555 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29100,7 +29143,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &234 + '410': &236 description: Gone content: application/json: @@ -29994,7 +30037,7 @@ paths: description: Response content: application/json: - schema: &236 + schema: &238 title: Full Repository description: Full Repository type: object @@ -30459,7 +30502,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &360 + code_of_conduct: &362 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -30573,7 +30616,7 @@ paths: - network_count - subscribers_count examples: - default: &238 + default: &240 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31094,7 +31137,7 @@ paths: - *86 - *17 - *18 - - &490 + - &492 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31377,7 +31420,7 @@ paths: type: object description: A repository rule. oneOf: - - &472 + - &474 title: creation description: Only allow users with bypass permission to create matching refs. @@ -31389,7 +31432,7 @@ paths: type: string enum: - creation - - &473 + - &475 title: update description: Only allow users with bypass permission to update matching refs. @@ -31410,7 +31453,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &475 + - &477 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -31422,7 +31465,7 @@ paths: type: string enum: - deletion - - &476 + - &478 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -31434,7 +31477,7 @@ paths: type: string enum: - required_linear_history - - &477 + - &479 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -31512,7 +31555,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &478 + - &480 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -31536,7 +31579,7 @@ paths: type: string required: - required_deployment_environments - - &479 + - &481 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -31548,7 +31591,7 @@ paths: type: string enum: - required_signatures - - &480 + - &482 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -31594,7 +31637,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &481 + - &483 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -31642,7 +31685,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &482 + - &484 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -31654,7 +31697,7 @@ paths: type: string enum: - non_fast_forward - - &483 + - &485 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -31690,7 +31733,7 @@ paths: required: - operator - pattern - - &484 + - &486 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -31726,7 +31769,7 @@ paths: required: - operator - pattern - - &485 + - &487 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -31762,7 +31805,7 @@ paths: required: - operator - pattern - - &486 + - &488 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -31798,7 +31841,7 @@ paths: required: - operator - pattern - - &487 + - &489 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -31924,7 +31967,7 @@ paths: maximum: 100 required: - max_file_size - - &488 + - &490 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -31974,7 +32017,7 @@ paths: - repository_id required: - workflows - - &489 + - &491 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32211,7 +32254,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *86 - - &491 + - &493 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 @@ -32227,7 +32270,7 @@ paths: in: query schema: type: integer - - &492 + - &494 name: time_period description: |- The time period to filter by. @@ -32243,14 +32286,14 @@ paths: - week - month default: day - - &493 + - &495 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 - - &494 + - &496 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32270,7 +32313,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &497 title: Rule Suites description: Response type: array @@ -32326,7 +32369,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &496 + default: &498 value: - id: 21 actor_id: 12 @@ -32370,7 +32413,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *86 - - &497 + - &499 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -32386,7 +32429,7 @@ paths: description: Response content: application/json: - schema: &498 + schema: &500 title: Rule Suite description: Response type: object @@ -32493,7 +32536,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &499 + default: &501 value: id: 21 actor_id: 12 @@ -32711,7 +32754,7 @@ paths: - *40 - *18 - *17 - - &501 + - &503 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 @@ -32721,7 +32764,7 @@ paths: required: false schema: type: string - - &502 + - &504 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 @@ -32732,6 +32775,8 @@ paths: schema: type: string - *206 + - *207 + - *208 responses: '200': description: Response @@ -32739,9 +32784,9 @@ paths: application/json: schema: type: array - items: *207 + items: *209 examples: - default: *208 + default: *210 headers: Link: *37 '404': *6 @@ -32811,7 +32856,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 description: A repository security advisory. type: object properties: @@ -33055,7 +33100,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 credits_detailed: type: - array @@ -33066,7 +33111,7 @@ paths: type: object properties: user: *4 - type: *209 + type: *211 state: type: string description: The state of the user's acceptance of the @@ -33130,7 +33175,7 @@ paths: - private_fork additionalProperties: false examples: - default: &509 + default: &511 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -33604,7 +33649,7 @@ paths: description: Response content: application/json: - schema: &567 + schema: &569 type: object properties: total_minutes_used: @@ -33674,7 +33719,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &568 + default: &570 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -33710,7 +33755,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object properties: total_gigabytes_bandwidth_used: @@ -33728,7 +33773,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &570 + default: &572 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -33760,7 +33805,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 type: object properties: days_left_in_billing_cycle: @@ -33778,7 +33823,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &572 + default: &574 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -33979,7 +34024,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &212 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34359,7 +34404,7 @@ paths: - repos_count - organization examples: - default: &211 + default: &213 value: id: 1 node_id: MDQ6VGVhbTE= @@ -34436,9 +34481,9 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -34523,16 +34568,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '201': description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 '422': *15 '403': *27 @@ -34602,7 +34647,7 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -34713,7 +34758,7 @@ paths: - updated_at - url examples: - default: &523 + default: &525 value: - author: login: octocat @@ -34822,9 +34867,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: &213 + default: &215 value: author: login: octocat @@ -34898,7 +34943,7 @@ paths: parameters: - *86 - *169 - - &214 + - &216 name: discussion_number description: The number that identifies the discussion. in: path @@ -34910,9 +34955,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34936,7 +34981,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: false content: @@ -34959,9 +35004,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: &524 + default: &526 value: author: login: octocat @@ -35033,7 +35078,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 responses: '204': description: Response @@ -35061,7 +35106,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 - *40 - *17 - *18 @@ -35072,7 +35117,7 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35152,7 +35197,7 @@ paths: - updated_at - url examples: - default: &525 + default: &527 value: - author: login: octocat @@ -35222,7 +35267,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: true content: @@ -35244,9 +35289,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &216 + default: &218 value: author: login: octocat @@ -35314,8 +35359,8 @@ paths: parameters: - *86 - *169 - - *214 - - &217 + - *216 + - &219 name: comment_number description: The number that identifies the comment. in: path @@ -35327,9 +35372,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35353,8 +35398,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 requestBody: required: true content: @@ -35376,9 +35421,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &526 + default: &528 value: author: login: octocat @@ -35444,8 +35489,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 responses: '204': description: Response @@ -35473,8 +35518,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 - 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. @@ -35500,7 +35545,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -35544,7 +35589,7 @@ paths: - content - created_at examples: - default: &220 + default: &222 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35596,8 +35641,8 @@ paths: parameters: - *86 - *169 - - *214 - - *217 + - *216 + - *219 requestBody: required: true content: @@ -35630,9 +35675,9 @@ paths: team discussion comment content: application/json: - schema: *218 + schema: *220 examples: - default: &219 + default: &221 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -35661,9 +35706,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35688,9 +35733,9 @@ paths: parameters: - *86 - *169 - - *214 - - *217 - - &221 + - *216 + - *219 + - &223 name: reaction_id description: The unique identifier of the reaction. in: path @@ -35724,7 +35769,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 - 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. @@ -35750,9 +35795,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -35780,7 +35825,7 @@ paths: parameters: - *86 - *169 - - *214 + - *216 requestBody: required: true content: @@ -35812,16 +35857,16 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35846,8 +35891,8 @@ paths: parameters: - *86 - *169 - - *214 - - *221 + - *216 + - *223 responses: '204': description: Response @@ -35968,7 +36013,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Team Membership description: Team Membership type: object @@ -35996,7 +36041,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &527 + response-if-user-is-a-team-maintainer: &529 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36059,9 +36104,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-users-membership-with-team-is-now-pending: &528 + response-if-users-membership-with-team-is-now-pending: &530 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36135,7 +36180,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 title: Team Project description: A team's access to a project. type: object @@ -36204,7 +36249,7 @@ paths: - updated_at - permissions examples: - default: &529 + default: &531 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36267,7 +36312,7 @@ paths: parameters: - *86 - *169 - - &224 + - &226 name: project_id description: The unique identifier of the project. in: path @@ -36279,9 +36324,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: &530 + default: &532 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36343,7 +36388,7 @@ paths: parameters: - *86 - *169 - - *224 + - *226 requestBody: required: false content: @@ -36410,7 +36455,7 @@ paths: parameters: - *86 - *169 - - *224 + - *226 responses: '204': description: Response @@ -36478,14 +36523,14 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &531 + schema: &533 title: Team Repository description: A team's access to a repository. type: object @@ -37128,8 +37173,8 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -37176,8 +37221,8 @@ paths: parameters: - *86 - *169 - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -37214,7 +37259,7 @@ paths: type: array items: *158 examples: - response-if-child-teams-exist: &532 + response-if-child-teams-exist: &534 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37338,7 +37383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &227 + - &229 name: card_id description: The unique identifier of the card. in: path @@ -37350,7 +37395,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &230 title: Project Card description: Project cards represent a scope of work. type: object @@ -37425,7 +37470,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &231 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37475,7 +37520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *227 + - *229 requestBody: required: false content: @@ -37505,9 +37550,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '304': *35 '403': *27 '401': *23 @@ -37528,7 +37573,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *227 + - *229 responses: '204': description: Response @@ -37566,7 +37611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *227 + - *229 requestBody: required: true content: @@ -37673,7 +37718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &230 + - &232 name: column_id description: The unique identifier of the column. in: path @@ -37685,7 +37730,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &233 title: Project Column description: Project columns contain cards of work. type: object @@ -37739,7 +37784,7 @@ paths: - created_at - updated_at examples: - default: &232 + default: &234 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -37768,7 +37813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *230 + - *232 requestBody: required: true content: @@ -37793,9 +37838,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 '304': *35 '403': *27 '401': *23 @@ -37814,7 +37859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *230 + - *232 responses: '204': description: Response @@ -37837,7 +37882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *230 + - *232 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -37858,7 +37903,7 @@ paths: application/json: schema: type: array - items: *228 + items: *230 examples: default: value: @@ -37911,7 +37956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *230 + - *232 requestBody: required: true content: @@ -37955,9 +38000,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 '304': *35 '403': *27 '401': *23 @@ -38007,7 +38052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *230 + - *232 requestBody: required: true content: @@ -38064,7 +38109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *224 + - *226 responses: '200': description: Response @@ -38072,7 +38117,7 @@ paths: application/json: schema: *187 examples: - default: &233 + default: &235 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38125,7 +38170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *224 + - *226 requestBody: required: false content: @@ -38176,7 +38221,7 @@ paths: application/json: schema: *187 examples: - default: *233 + default: *235 '404': description: Not Found if the authenticated user does not have access to the project @@ -38197,7 +38242,7 @@ paths: items: type: string '401': *23 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -38215,7 +38260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *224 + - *226 responses: '204': description: Delete Success @@ -38236,7 +38281,7 @@ paths: items: type: string '401': *23 - '410': *234 + '410': *236 '404': *6 x-github: githubCloudOnly: false @@ -38259,7 +38304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *224 + - *226 - 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 @@ -38311,7 +38356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *224 + - *226 - *118 requestBody: required: false @@ -38361,7 +38406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *224 + - *226 - *118 responses: '204': @@ -38390,7 +38435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *224 + - *226 - *118 responses: '200': @@ -38455,7 +38500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *224 + - *226 - *17 - *18 responses: @@ -38465,7 +38510,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -38497,7 +38542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *224 + - *226 requestBody: required: true content: @@ -38521,7 +38566,7 @@ paths: description: Response content: application/json: - schema: *231 + schema: *233 examples: default: value: @@ -38582,7 +38627,7 @@ paths: resources: type: object properties: - core: &235 + core: &237 title: Rate Limit type: object properties: @@ -38599,19 +38644,19 @@ paths: - remaining - reset - used - graphql: *235 - search: *235 - code_search: *235 - source_import: *235 - integration_manifest: *235 - code_scanning_upload: *235 - actions_runner_registration: *235 - scim: *235 - dependency_snapshots: *235 + graphql: *237 + search: *237 + code_search: *237 + source_import: *237 + integration_manifest: *237 + code_scanning_upload: *237 + actions_runner_registration: *237 + scim: *237 + dependency_snapshots: *237 required: - core - search - rate: *235 + rate: *237 required: - rate - resources @@ -38710,14 +38755,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default-response: summary: Default response @@ -39218,7 +39263,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *237 + '301': *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39236,8 +39281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -39474,10 +39519,10 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 - '307': &239 + default: *240 + '307': &241 description: Temporary Redirect content: application/json: @@ -39506,8 +39551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -39529,7 +39574,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *239 + '307': *241 '404': *6 x-github: githubCloudOnly: false @@ -39552,11 +39597,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - - &265 + - &267 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -39579,7 +39624,7 @@ paths: type: integer artifacts: type: array - items: &240 + items: &242 title: Artifact description: An artifact type: object @@ -39665,7 +39710,7 @@ paths: - expires_at - updated_at examples: - default: &266 + default: &268 value: total_count: 2 artifacts: @@ -39724,9 +39769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *225 - - *226 - - &241 + - *227 + - *228 + - &243 name: artifact_id description: The unique identifier of the artifact. in: path @@ -39738,7 +39783,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: default: value: @@ -39775,9 +39820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *225 - - *226 - - *241 + - *227 + - *228 + - *243 responses: '204': description: Response @@ -39801,9 +39846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *225 - - *226 - - *241 + - *227 + - *228 + - *243 - name: archive_format in: path required: true @@ -39817,7 +39862,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': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39840,14 +39885,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: default: value: @@ -39873,11 +39918,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - - &243 + - &245 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 @@ -39911,7 +39956,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &246 title: Repository actions caches description: Repository actions caches type: object @@ -39961,7 +40006,7 @@ paths: - total_count - actions_caches examples: - default: &245 + default: &247 value: total_count: 1 actions_caches: @@ -39993,23 +40038,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: - - *225 - - *226 + - *227 + - *228 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *243 + - *245 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40029,8 +40074,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: - - *225 - - *226 + - *227 + - *228 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40061,9 +40106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *225 - - *226 - - &246 + - *227 + - *228 + - &248 name: job_id description: The unique identifier of the job. in: path @@ -40075,7 +40120,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &271 title: Job description: Information of a job execution in a workflow run type: object @@ -40422,9 +40467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *225 - - *226 - - *246 + - *227 + - *228 + - *248 responses: '302': description: Response @@ -40452,9 +40497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *225 - - *226 - - *246 + - *227 + - *228 + - *248 requestBody: required: false content: @@ -40500,8 +40545,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Status response @@ -40551,8 +40596,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -40615,8 +40660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -40634,7 +40679,7 @@ paths: type: integer secrets: type: array - items: &271 + items: &273 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -40655,7 +40700,7 @@ paths: - created_at - updated_at examples: - default: &272 + default: &274 value: total_count: 2 secrets: @@ -40688,9 +40733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *225 - - *226 - - *247 + - *227 + - *228 + - *249 - *18 responses: '200': @@ -40707,7 +40752,7 @@ paths: type: integer variables: type: array - items: &275 + items: &277 title: Actions Variable type: object properties: @@ -40741,7 +40786,7 @@ paths: - created_at - updated_at examples: - default: &276 + default: &278 value: total_count: 2 variables: @@ -40774,8 +40819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -40784,11 +40829,11 @@ paths: schema: type: object properties: - enabled: &249 + enabled: &251 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *95 - selected_actions_url: *248 + selected_actions_url: *250 required: - enabled examples: @@ -40815,8 +40860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -40827,7 +40872,7 @@ paths: schema: type: object properties: - enabled: *249 + enabled: *251 allowed_actions: *95 required: - enabled @@ -40857,14 +40902,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &250 + schema: &252 type: object properties: access_level: @@ -40881,7 +40926,7 @@ paths: required: - access_level examples: - default: &251 + default: &253 value: access_level: organization x-github: @@ -40905,15 +40950,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: application/json: - schema: *250 + schema: *252 examples: - default: *251 + default: *253 responses: '204': description: Response @@ -40937,8 +40982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -40965,8 +41010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -40998,14 +41043,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: default: *101 x-github: @@ -41028,8 +41073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Success response @@ -41040,7 +41085,7 @@ paths: required: true content: application/json: - schema: *253 + schema: *255 examples: default: *101 x-github: @@ -41069,8 +41114,8 @@ paths: in: query schema: type: string - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -41114,8 +41159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -41123,9 +41168,9 @@ paths: application/json: schema: type: array - items: *254 + items: *256 examples: - default: *255 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41147,8 +41192,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -41191,7 +41236,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *256 + '201': *258 '404': *6 '422': *7 x-github: @@ -41221,8 +41266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -41230,7 +41275,7 @@ paths: application/json: schema: *109 examples: - default: *257 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41258,8 +41303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -41267,7 +41312,7 @@ paths: application/json: schema: *109 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41289,8 +41334,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '200': @@ -41299,7 +41344,7 @@ paths: application/json: schema: *107 examples: - default: *259 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41320,8 +41365,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '204': @@ -41347,8 +41392,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: '200': *111 @@ -41373,8 +41418,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: - - *225 - - *226 + - *227 + - *228 - *106 requestBody: required: true @@ -41423,8 +41468,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: - - *225 - - *226 + - *227 + - *228 - *106 requestBody: required: true @@ -41474,11 +41519,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: - - *225 - - *226 + - *227 + - *228 - *106 responses: - '200': *260 + '200': *262 '404': *6 x-github: githubCloudOnly: false @@ -41505,10 +41550,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: - - *225 - - *226 + - *227 + - *228 - *106 - - *261 + - *263 responses: '200': *111 '404': *6 @@ -41536,9 +41581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *225 - - *226 - - &279 + - *227 + - *228 + - &281 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. @@ -41546,7 +41591,7 @@ paths: required: false schema: type: string - - &280 + - &282 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41554,7 +41599,7 @@ paths: required: false schema: type: string - - &281 + - &283 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41563,7 +41608,7 @@ paths: required: false schema: type: string - - &282 + - &284 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 @@ -41590,7 +41635,7 @@ paths: - pending - *17 - *18 - - &283 + - &285 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)." @@ -41599,7 +41644,7 @@ paths: schema: type: string format: date-time - - &262 + - &264 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -41608,13 +41653,13 @@ paths: schema: type: boolean default: false - - &284 + - &286 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &285 + - &287 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -41637,7 +41682,7 @@ paths: type: integer workflow_runs: type: array - items: &263 + items: &265 title: Workflow Run description: An invocation of a workflow type: object @@ -41754,7 +41799,7 @@ paths: type: - array - 'null' - items: &304 + items: &306 title: Pull Request Minimal type: object properties: @@ -41881,7 +41926,7 @@ paths: head_commit: anyOf: - type: 'null' - - &308 + - &310 title: Simple Commit description: A commit. type: object @@ -41996,7 +42041,7 @@ paths: - workflow_url - pull_requests examples: - default: &286 + default: &288 value: total_count: 1 workflow_runs: @@ -42232,24 +42277,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *225 - - *226 - - &264 + - *227 + - *228 + - &266 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: &267 + default: &269 value: id: 30433642 name: Build @@ -42490,9 +42535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '204': description: Response @@ -42515,9 +42560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -42645,9 +42690,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: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '201': description: Response @@ -42680,12 +42725,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 - *17 - *18 - - *265 + - *267 responses: '200': description: Response @@ -42701,9 +42746,9 @@ paths: type: integer artifacts: type: array - items: *240 + items: *242 examples: - default: *266 + default: *268 headers: Link: *37 x-github: @@ -42727,25 +42772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *225 - - *226 - - *264 - - &268 + - *227 + - *228 + - *266 + - &270 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: - default: *267 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42768,10 +42813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *225 - - *226 - - *264 - - *268 + - *227 + - *228 + - *266 + - *270 - *17 - *18 responses: @@ -42789,9 +42834,9 @@ paths: type: integer jobs: type: array - items: *269 + items: *271 examples: - default: &270 + default: &272 value: total_count: 1 jobs: @@ -42904,10 +42949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *225 - - *226 - - *264 - - *268 + - *227 + - *228 + - *266 + - *270 responses: '302': description: Response @@ -42935,9 +42980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '202': description: Response @@ -42970,9 +43015,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: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: true content: @@ -43039,9 +43084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '202': description: Response @@ -43074,9 +43119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 - 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 @@ -43106,9 +43151,9 @@ paths: type: integer jobs: type: array - items: *269 + items: *271 examples: - default: *270 + default: *272 headers: Link: *37 x-github: @@ -43133,9 +43178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '302': description: Response @@ -43162,9 +43207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '204': description: Response @@ -43191,9 +43236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -43262,7 +43307,7 @@ paths: items: type: object properties: - type: &379 + type: &381 type: string description: The type of reviewer. enum: @@ -43348,9 +43393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: true content: @@ -43400,7 +43445,7 @@ paths: application/json: schema: type: array - items: &374 + items: &376 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43512,7 +43557,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43568,9 +43613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: false content: @@ -43615,9 +43660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 requestBody: required: false content: @@ -43664,9 +43709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *225 - - *226 - - *264 + - *227 + - *228 + - *266 responses: '200': description: Response @@ -43803,8 +43848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -43822,9 +43867,9 @@ paths: type: integer secrets: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 headers: Link: *37 x-github: @@ -43849,16 +43894,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43880,17 +43925,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: &392 + default: &394 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43916,8 +43961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -43972,8 +44017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -43999,9 +44044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *225 - - *226 - - *247 + - *227 + - *228 + - *249 - *18 responses: '200': @@ -44018,9 +44063,9 @@ paths: type: integer variables: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 headers: Link: *37 x-github: @@ -44043,8 +44088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -44096,17 +44141,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &393 + default: &395 value: name: USERNAME value: octocat @@ -44132,8 +44177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 requestBody: required: true @@ -44176,8 +44221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 responses: '204': @@ -44203,8 +44248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -44222,7 +44267,7 @@ paths: type: integer workflows: type: array - items: &277 + items: &279 title: Workflow description: A GitHub Actions workflow type: object @@ -44340,9 +44385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *225 - - *226 - - &278 + - *227 + - *228 + - &280 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44357,7 +44402,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: default: value: @@ -44390,9 +44435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44417,9 +44462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44470,9 +44515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '204': description: Response @@ -44497,19 +44542,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *225 - - *226 - - *278 - - *279 + - *227 + - *228 - *280 - *281 - *282 - - *17 - - *18 - *283 - - *262 - *284 + - *17 + - *18 - *285 + - *264 + - *286 + - *287 responses: '200': description: Response @@ -44525,9 +44570,9 @@ paths: type: integer workflow_runs: type: array - items: *263 + items: *265 examples: - default: *286 + default: *288 headers: Link: *37 x-github: @@ -44553,9 +44598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *225 - - *226 - - *278 + - *227 + - *228 + - *280 responses: '200': description: Response @@ -44616,8 +44661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *225 - - *226 + - *227 + - *228 - *40 - *17 - *41 @@ -44785,8 +44830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -44823,8 +44868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *225 - - *226 + - *227 + - *228 - name: assignee in: path required: true @@ -44860,8 +44905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -44973,8 +45018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *41 - *42 @@ -45018,7 +45063,7 @@ paths: repository_id: type: integer examples: - default: *287 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45038,8 +45083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -45047,7 +45092,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Autolink reference description: An autolink reference. type: object @@ -45101,8 +45146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -45141,9 +45186,9 @@ paths: description: response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 1 key_prefix: TICKET- @@ -45174,9 +45219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *225 - - *226 - - &290 + - *227 + - *228 + - &292 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45188,9 +45233,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 x-github: githubCloudOnly: false @@ -45210,9 +45255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *225 - - *226 - - *290 + - *227 + - *228 + - *292 responses: '204': description: Response @@ -45236,8 +45281,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response if Dependabot is enabled @@ -45287,8 +45332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -45309,8 +45354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -45330,8 +45375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *225 - - *226 + - *227 + - *228 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45369,7 +45414,7 @@ paths: - url protected: type: boolean - protection: &292 + protection: &294 title: Branch Protection description: Branch Protection type: object @@ -45412,7 +45457,7 @@ paths: required: - contexts - checks - enforce_admins: &295 + enforce_admins: &297 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45429,7 +45474,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &297 + required_pull_request_reviews: &299 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45513,7 +45558,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &294 + restrictions: &296 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -45838,9 +45883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *225 - - *226 - - &293 + - *227 + - *228 + - &295 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). @@ -45854,14 +45899,14 @@ paths: description: Response content: application/json: - schema: &303 + schema: &305 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &350 + commit: &352 title: Commit description: Commit type: object @@ -45900,7 +45945,7 @@ paths: author: anyOf: - type: 'null' - - &291 + - &293 title: Git User description: Metaproperties for Git author/committer information. @@ -45921,7 +45966,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 message: type: string examples: @@ -45945,7 +45990,7 @@ paths: required: - sha - url - verification: &399 + verification: &401 title: Verification type: object properties: @@ -46020,7 +46065,7 @@ paths: type: integer files: type: array - items: &362 + items: &364 title: Diff Entry description: Diff Entry type: object @@ -46114,7 +46159,7 @@ paths: - self protected: type: boolean - protection: *292 + protection: *294 protection_url: type: string format: uri @@ -46222,7 +46267,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *237 + '301': *239 '404': *6 x-github: githubCloudOnly: false @@ -46244,15 +46289,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -46446,9 +46491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -46708,7 +46753,7 @@ paths: url: type: string format: uri - required_status_checks: &300 + required_status_checks: &302 title: Status Check Policy description: Status Check Policy type: object @@ -46867,7 +46912,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *294 + restrictions: *296 required_conversation_resolution: type: object properties: @@ -46979,9 +47024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47006,17 +47051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &296 + default: &298 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47038,17 +47083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *296 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47067,9 +47112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47094,17 +47139,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &298 + default: &300 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47200,9 +47245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47300,9 +47345,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -47323,9 +47368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47352,17 +47397,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: &299 + default: &301 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47385,17 +47430,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *295 + schema: *297 examples: - default: *299 + default: *301 '404': *6 x-github: githubCloudOnly: false @@ -47415,9 +47460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47442,17 +47487,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: &301 + default: &303 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47478,9 +47523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47532,9 +47577,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - default: *301 + default: *303 '404': *6 '422': *15 x-github: @@ -47556,9 +47601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47582,9 +47627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -47618,9 +47663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47687,9 +47732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -47753,9 +47798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: content: application/json: @@ -47821,15 +47866,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response content: application/json: - schema: *294 + schema: *296 examples: default: value: @@ -47920,9 +47965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '204': description: Response @@ -47945,9 +47990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -47957,7 +48002,7 @@ paths: type: array items: *5 examples: - default: &302 + default: &304 value: - id: 1 slug: octoapp @@ -48014,9 +48059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48050,7 +48095,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48071,9 +48116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48107,7 +48152,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48128,9 +48173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48164,7 +48209,7 @@ paths: type: array items: *5 examples: - default: *302 + default: *304 '422': *15 x-github: githubCloudOnly: false @@ -48186,9 +48231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -48218,9 +48263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -48279,9 +48324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: false content: @@ -48340,9 +48385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: content: application/json: @@ -48401,9 +48446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 responses: '200': description: Response @@ -48437,9 +48482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48497,9 +48542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48557,9 +48602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48619,9 +48664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 requestBody: required: true content: @@ -48643,7 +48688,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *305 examples: default: value: @@ -48758,8 +48803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -49038,7 +49083,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &307 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49173,8 +49218,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *304 - deployment: &581 + items: *306 + deployment: &583 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -49461,9 +49506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *225 - - *226 - - &306 + - *227 + - *228 + - &308 name: check_run_id description: The unique identifier of the check run. in: path @@ -49475,9 +49520,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: &307 + default: &309 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49577,9 +49622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 requestBody: required: true content: @@ -49819,9 +49864,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *307 examples: - default: *307 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49841,9 +49886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 - *17 - *18 responses: @@ -49955,9 +50000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *225 - - *226 - - *306 + - *227 + - *228 + - *308 responses: '201': description: Response @@ -50001,8 +50046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -50024,7 +50069,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &309 + schema: &311 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50105,7 +50150,7 @@ paths: type: - array - 'null' - items: *304 + items: *306 app: anyOf: - type: 'null' @@ -50121,7 +50166,7 @@ paths: - string - 'null' format: date-time - head_commit: *308 + head_commit: *310 latest_check_runs_count: type: integer check_runs_url: @@ -50149,7 +50194,7 @@ paths: - check_runs_url - pull_requests examples: - default: &310 + default: &312 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50440,9 +50485,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50461,8 +50506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -50771,9 +50816,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *225 - - *226 - - &311 + - *227 + - *228 + - &313 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50785,9 +50830,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50810,17 +50855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *225 - - *226 - - *311 - - &357 + - *227 + - *228 + - *313 + - &359 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &358 + - &360 name: status description: Returns check runs with the specified `status`. in: query @@ -50859,9 +50904,9 @@ paths: type: integer check_runs: type: array - items: *305 + items: *307 examples: - default: &359 + default: &361 value: total_count: 1 check_runs: @@ -50963,9 +51008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *225 - - *226 - - *311 + - *227 + - *228 + - *313 responses: '201': description: Response @@ -50998,21 +51043,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *225 - - *226 - - *312 - - *313 + - *227 + - *228 + - *314 + - *315 - *18 - *17 - - &326 + - &328 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: *314 - - &327 + schema: *316 + - &329 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51037,13 +51082,13 @@ paths: be returned. in: query required: false - schema: *315 + schema: *317 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *316 + schema: *318 responses: '200': description: Response @@ -51059,7 +51104,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *317 + instances_url: *319 state: *123 fixed_at: *119 dismissed_by: @@ -51067,11 +51112,11 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: *318 - dismissed_comment: *319 - rule: *320 - tool: *321 - most_recent_instance: *322 + dismissed_reason: *320 + dismissed_comment: *321 + rule: *322 + tool: *323 + most_recent_instance: *324 required: - number - created_at @@ -51187,7 +51232,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &323 + '403': &325 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51214,9 +51259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *225 - - *226 - - &324 + - *227 + - *228 + - &326 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51230,7 +51275,7 @@ paths: description: Response content: application/json: - schema: &325 + schema: &327 type: object properties: number: *46 @@ -51238,7 +51283,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *317 + instances_url: *319 state: *123 fixed_at: *119 dismissed_by: @@ -51246,8 +51291,8 @@ paths: - type: 'null' - *4 dismissed_at: *120 - dismissed_reason: *318 - dismissed_comment: *319 + dismissed_reason: *320 + dismissed_comment: *321 rule: type: object properties: @@ -51309,8 +51354,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *321 - most_recent_instance: *322 + tool: *323 + most_recent_instance: *324 required: - number - created_at @@ -51399,7 +51444,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51419,9 +51464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 requestBody: required: true content: @@ -51436,8 +51481,8 @@ paths: enum: - open - dismissed - dismissed_reason: *318 - dismissed_comment: *319 + dismissed_reason: *320 + dismissed_comment: *321 required: - state examples: @@ -51452,7 +51497,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -51527,7 +51572,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &332 + '403': &334 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51554,13 +51599,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 - *18 - *17 - - *326 - - *327 + - *328 + - *329 responses: '200': description: Response @@ -51568,7 +51613,7 @@ paths: application/json: schema: type: array - items: *322 + items: *324 examples: default: value: @@ -51607,7 +51652,7 @@ paths: end_column: 50 classifications: - source - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51641,25 +51686,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *225 - - *226 - - *312 - - *313 + - *227 + - *228 + - *314 + - *315 - *18 - *17 - - *327 + - *329 - 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: *314 + schema: *316 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &330 + schema: &332 type: string description: An identifier for the upload. examples: @@ -51681,23 +51726,23 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object properties: - ref: *314 - commit_sha: &340 + ref: *316 + commit_sha: &342 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: *328 + analysis_key: *330 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *329 + category: *331 error: type: string examples: @@ -51722,8 +51767,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *330 - tool: *321 + sarif_id: *332 + tool: *323 deletable: type: boolean warning: @@ -51785,7 +51830,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51821,8 +51866,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: - - *225 - - *226 + - *227 + - *228 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -51835,7 +51880,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: response: summary: application/json response @@ -51889,7 +51934,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -51971,8 +52016,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: - - *225 - - *226 + - *227 + - *228 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52028,7 +52073,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *332 + '403': *334 '404': *6 '503': *57 x-github: @@ -52050,8 +52095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -52059,7 +52104,7 @@ paths: application/json: schema: type: array - items: &333 + items: &335 title: CodeQL Database description: A CodeQL database. type: object @@ -52171,7 +52216,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': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -52200,8 +52245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: language in: path description: The language of the CodeQL database. @@ -52213,7 +52258,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *335 examples: default: value: @@ -52245,9 +52290,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': &364 + '302': &366 description: Found - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -52275,8 +52320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -52285,7 +52330,7 @@ paths: type: object additionalProperties: false properties: - language: &334 + language: &336 type: string description: The language targeted by the CodeQL query enum: @@ -52363,7 +52408,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &338 + schema: &340 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52373,7 +52418,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *334 + query_language: *336 query_pack_url: type: string description: The download url for the query pack. @@ -52421,7 +52466,7 @@ paths: items: type: object properties: - repository: &335 + repository: &337 title: Repository Identifier description: Repository Identifier type: object @@ -52463,7 +52508,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &339 + analysis_status: &341 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52495,7 +52540,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &336 + access_mismatch_repos: &338 type: object properties: repository_count: @@ -52510,7 +52555,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: *335 + items: *337 required: - repository_count - repositories @@ -52533,8 +52578,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *336 - over_limit_repos: *336 + no_codeql_db_repos: *338 + over_limit_repos: *338 required: - access_mismatch_repos - not_found_repos @@ -52550,7 +52595,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &337 + value: &339 summary: Default response value: id: 1 @@ -52702,10 +52747,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *337 + value: *339 repository_lists: summary: Response for a successful variant analysis submission - value: *337 + value: *339 '404': *6 '422': description: Unable to process variant analysis submission @@ -52733,8 +52778,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: - - *225 - - *226 + - *227 + - *228 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52746,9 +52791,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *337 + default: *339 '404': *6 '503': *57 x-github: @@ -52771,7 +52816,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: - - *225 + - *227 - name: repo in: path description: The name of the controller repository. @@ -52806,7 +52851,7 @@ paths: type: object properties: repository: *51 - analysis_status: *339 + analysis_status: *341 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -52931,8 +52976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -52997,7 +53042,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *323 + '403': *325 '404': *6 '503': *57 x-github: @@ -53018,8 +53063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53089,7 +53134,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *332 + '403': *334 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -53154,8 +53199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53163,7 +53208,7 @@ paths: schema: type: object properties: - commit_sha: *340 + commit_sha: *342 ref: type: string description: |- @@ -53223,7 +53268,7 @@ paths: schema: type: object properties: - id: *330 + id: *332 url: type: string description: The REST API URL for checking the status of the upload. @@ -53237,7 +53282,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': *332 + '403': *334 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -53260,8 +53305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *225 - - *226 + - *227 + - *228 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53309,7 +53354,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': *323 + '403': *325 '404': description: Not Found if the sarif id does not match any upload '503': *57 @@ -53334,8 +53379,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -53412,8 +53457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *225 - - *226 + - *227 + - *228 - 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 @@ -53541,8 +53586,8 @@ paths: parameters: - *17 - *18 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -53856,8 +53901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -53923,7 +53968,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -53931,7 +53976,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '400': *14 '401': *23 '403': *27 @@ -53960,8 +54005,8 @@ paths: parameters: - *17 - *18 - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -54025,8 +54070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54063,9 +54108,9 @@ paths: type: integer machines: type: array - items: *342 + items: *344 examples: - default: &539 + default: &541 value: total_count: 2 machines: @@ -54105,8 +54150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *225 - - *226 + - *227 + - *228 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54193,8 +54238,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: - - *225 - - *226 + - *227 + - *228 - 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 @@ -54263,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -54282,7 +54327,7 @@ paths: type: integer secrets: type: array - items: &346 + items: &348 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54303,7 +54348,7 @@ paths: - created_at - updated_at examples: - default: *343 + default: *345 headers: Link: *37 x-github: @@ -54326,16 +54371,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54355,17 +54400,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *346 + schema: *348 examples: - default: *347 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54385,8 +54430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -54439,8 +54484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -54469,8 +54514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *225 - - *226 + - *227 + - *228 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54508,7 +54553,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 title: Collaborator description: Collaborator type: object @@ -54701,8 +54746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '204': @@ -54745,8 +54790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 requestBody: required: false @@ -54773,7 +54818,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &412 + schema: &414 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -54994,8 +55039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '204': @@ -55025,8 +55070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *118 responses: '200': @@ -55047,7 +55092,7 @@ paths: user: anyOf: - type: 'null' - - *348 + - *350 required: - permission - role_name @@ -55101,8 +55146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -55112,7 +55157,7 @@ paths: application/json: schema: type: array - items: &349 + items: &351 title: Commit Comment description: Commit Comment type: object @@ -55170,7 +55215,7 @@ paths: - created_at - updated_at examples: - default: &352 + default: &354 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55229,17 +55274,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &353 + default: &355 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55296,8 +55341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -55320,7 +55365,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -55371,8 +55416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -55394,8 +55439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55422,9 +55467,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -55445,8 +55490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -55479,16 +55524,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -55510,10 +55555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -55561,8 +55606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *225 - - *226 + - *227 + - *228 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55618,9 +55663,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: &459 + default: &461 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55713,9 +55758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *225 - - *226 - - &351 + - *227 + - *228 + - &353 name: commit_sha description: The SHA of the commit. in: path @@ -55787,9 +55832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 - *17 - *18 responses: @@ -55799,9 +55844,9 @@ paths: application/json: schema: type: array - items: *349 + items: *351 examples: - default: *352 + default: *354 headers: Link: *37 x-github: @@ -55829,9 +55874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 requestBody: required: true content: @@ -55866,9 +55911,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *353 + default: *355 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55896,9 +55941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 - *17 - *18 responses: @@ -55908,7 +55953,7 @@ paths: application/json: schema: type: array - items: &450 + items: &452 title: Pull Request Simple description: Pull Request Simple type: object @@ -56028,7 +56073,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 active_lock_reason: type: - string @@ -56127,7 +56172,7 @@ paths: _links: type: object properties: - comments: &355 + comments: &357 title: Link description: Hypermedia Link type: object @@ -56136,13 +56181,13 @@ paths: type: string required: - href - commits: *355 - statuses: *355 - html: *355 - issue: *355 - review_comments: *355 - review_comment: *355 - self: *355 + commits: *357 + statuses: *357 + html: *357 + issue: *357 + review_comments: *357 + review_comment: *357 + self: *357 required: - comments - commits @@ -56153,7 +56198,7 @@ paths: - review_comment - self author_association: *55 - auto_merge: &452 + auto_merge: &454 title: Auto merge description: The status of auto merging a pull request. type: @@ -56218,7 +56263,7 @@ paths: - author_association - auto_merge examples: - default: &451 + default: &453 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56754,11 +56799,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 - - &356 + - &358 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)" @@ -56773,9 +56818,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: &438 + default: &440 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -56887,11 +56932,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *225 - - *226 - - *356 - - *357 + - *227 + - *228 - *358 + - *359 + - *360 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -56925,9 +56970,9 @@ paths: type: integer check_runs: type: array - items: *305 + items: *307 examples: - default: *359 + default: *361 headers: Link: *37 x-github: @@ -56952,9 +56997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -56962,7 +57007,7 @@ paths: schema: type: integer example: 1 - - *357 + - *359 - *17 - *18 responses: @@ -56980,7 +57025,7 @@ paths: type: integer check_suites: type: array - items: *309 + items: *311 examples: default: value: @@ -57180,9 +57225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - *17 - *18 responses: @@ -57384,9 +57429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *225 - - *226 - - *356 + - *227 + - *228 + - *358 - *17 - *18 responses: @@ -57396,7 +57441,7 @@ paths: application/json: schema: type: array - items: &513 + items: &515 title: Status description: The status of a commit. type: object @@ -57477,7 +57522,7 @@ paths: site_admin: false headers: Link: *37 - '301': *237 + '301': *239 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57505,8 +57550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -57539,11 +57584,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *360 + - *362 code_of_conduct_file: anyOf: - type: 'null' - - &361 + - &363 title: Community Health File type: object properties: @@ -57563,19 +57608,19 @@ paths: contributing: anyOf: - type: 'null' - - *361 + - *363 readme: anyOf: - type: 'null' - - *361 + - *363 issue_template: anyOf: - type: 'null' - - *361 + - *363 pull_request_template: anyOf: - type: 'null' - - *361 + - *363 required: - code_of_conduct - code_of_conduct_file @@ -57703,8 +57748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 - name: basehead @@ -57752,8 +57797,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *350 - merge_base_commit: *350 + base_commit: *352 + merge_base_commit: *352 status: type: string enum: @@ -57777,10 +57822,10 @@ paths: - 6 commits: type: array - items: *350 + items: *352 files: type: array - items: *362 + items: *364 required: - url - html_url @@ -58063,8 +58108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -58215,7 +58260,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &363 + response-if-content-is-a-file: &365 summary: Response if content is a file value: type: file @@ -58352,7 +58397,7 @@ paths: - size - type - url - - &464 + - &466 title: Content File description: Content File type: object @@ -58570,7 +58615,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *363 + response-if-content-is-a-file: *365 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58639,7 +58684,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *364 + '302': *366 '304': *35 x-github: githubCloudOnly: false @@ -58662,8 +58707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -58758,7 +58803,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &367 title: File Commit description: File Commit type: object @@ -58909,7 +58954,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: example-for-creating-a-file: value: @@ -58962,7 +59007,7 @@ paths: schema: oneOf: - *3 - - &394 + - &396 description: Repository rule violation was detected type: object properties: @@ -58983,7 +59028,7 @@ paths: items: type: object properties: - placeholder_id: &506 + placeholder_id: &508 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59015,8 +59060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *225 - - *226 + - *227 + - *228 - name: path description: path parameter in: path @@ -59077,7 +59122,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: default: value: @@ -59131,8 +59176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *225 - - *226 + - *227 + - *228 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59256,8 +59301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *133 - *134 - *135 @@ -59298,7 +59343,7 @@ paths: application/json: schema: type: array - items: &368 + items: &370 type: object description: A Dependabot alert. properties: @@ -59333,7 +59378,7 @@ paths: - development - runtime - - security_advisory: *366 + security_advisory: *368 security_vulnerability: *45 url: *49 html_url: *50 @@ -59364,7 +59409,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: *367 + auto_dismissed_at: *369 required: - number - state @@ -59591,9 +59636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *225 - - *226 - - &369 + - *227 + - *228 + - &371 name: alert_number in: path description: |- @@ -59608,7 +59653,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -59718,9 +59763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *225 - - *226 - - *369 + - *227 + - *228 + - *371 requestBody: required: true content: @@ -59765,7 +59810,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -59894,8 +59939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -59913,7 +59958,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &374 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -59967,16 +60012,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59996,15 +60041,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '200': description: Response content: application/json: - schema: *372 + schema: *374 examples: default: value: @@ -60030,8 +60075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 requestBody: required: true @@ -60084,8 +60129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *225 - - *226 + - *227 + - *228 - *113 responses: '204': @@ -60108,8 +60153,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: - - *225 - - *226 + - *227 + - *228 - 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 @@ -60283,8 +60328,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -60507,8 +60552,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -60591,7 +60636,7 @@ paths: - version - url additionalProperties: false - metadata: &373 + metadata: &375 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60630,7 +60675,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *373 + metadata: *375 resolved: type: object description: A collection of resolved package dependencies. @@ -60644,7 +60689,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *373 + metadata: *375 relationship: type: string description: A notation of whether a dependency is requested @@ -60777,8 +60822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *225 - - *226 + - *227 + - *228 - name: sha description: The SHA recorded at creation time. in: query @@ -60819,9 +60864,9 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: - default: *375 + default: *377 headers: Link: *37 x-github: @@ -60887,8 +60932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -60970,7 +61015,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: simple-example: summary: Simple example @@ -61043,9 +61088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *225 - - *226 - - &376 + - *227 + - *228 + - &378 name: deployment_id description: deployment_id parameter in: path @@ -61057,7 +61102,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -61122,9 +61167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 responses: '204': description: Response @@ -61146,9 +61191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 - *17 - *18 responses: @@ -61158,7 +61203,7 @@ paths: application/json: schema: type: array - items: &377 + items: &379 title: Deployment Status description: The status of a deployment. type: object @@ -61322,9 +61367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 requestBody: required: true content: @@ -61399,9 +61444,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: &378 + default: &380 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61457,9 +61502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *225 - - *226 - - *376 + - *227 + - *228 + - *378 - name: status_id in: path required: true @@ -61470,9 +61515,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -61497,8 +61542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -61554,8 +61599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -61573,7 +61618,7 @@ paths: - 5 environments: type: array - items: &380 + items: &382 title: Environment description: Details of a deployment environment type: object @@ -61635,7 +61680,7 @@ paths: type: string examples: - wait_timer - wait_timer: &382 + wait_timer: &384 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -61677,7 +61722,7 @@ paths: items: type: object properties: - type: *379 + type: *381 reviewer: anyOf: - *4 @@ -61704,7 +61749,7 @@ paths: - id - node_id - type - deployment_branch_policy: &383 + deployment_branch_policy: &385 type: - object - 'null' @@ -61821,9 +61866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *225 - - *226 - - &381 + - *227 + - *228 + - &383 name: environment_name in: path required: true @@ -61836,9 +61881,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: &384 + default: &386 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -61922,9 +61967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: false content: @@ -61934,7 +61979,7 @@ paths: - object - 'null' properties: - wait_timer: *382 + wait_timer: *384 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -61953,14 +61998,14 @@ paths: items: type: object properties: - type: *379 + type: *381 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *383 + deployment_branch_policy: *385 additionalProperties: false examples: default: @@ -61980,9 +62025,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - default: *384 + default: *386 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62006,9 +62051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 responses: '204': description: Default response @@ -62033,9 +62078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *17 - *18 responses: @@ -62054,7 +62099,7 @@ paths: - 2 branch_policies: type: array - items: &385 + items: &387 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -62115,9 +62160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: true content: @@ -62165,9 +62210,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - example-wildcard: &386 + example-wildcard: &388 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62209,10 +62254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - &387 + - *227 + - *228 + - *383 + - &389 name: branch_policy_id in: path required: true @@ -62224,9 +62269,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62245,10 +62290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - *387 + - *227 + - *228 + - *383 + - *389 requestBody: required: true content: @@ -62277,9 +62322,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62298,10 +62343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *225 - - *226 - - *381 - - *387 + - *227 + - *228 + - *383 + - *389 responses: '204': description: Response @@ -62326,9 +62371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 responses: '200': description: List of deployment protection rules @@ -62345,7 +62390,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &388 + items: &390 title: Deployment protection rule description: Deployment protection rule type: object @@ -62367,7 +62412,7 @@ paths: for the environment. examples: - true - app: &389 + app: &391 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62470,9 +62515,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: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 requestBody: content: application/json: @@ -62493,9 +62538,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *388 + schema: *390 examples: - default: &390 + default: &392 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62530,9 +62575,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: - - *381 - - *226 - - *225 + - *383 + - *228 + - *227 - *18 - *17 responses: @@ -62552,7 +62597,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *389 + items: *391 examples: default: value: @@ -62587,10 +62632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *225 - - *226 - - *381 - - &391 + - *227 + - *228 + - *383 + - &393 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62602,9 +62647,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *390 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62625,10 +62670,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *381 - - *226 - - *225 - - *391 + - *383 + - *228 + - *227 + - *393 responses: '204': description: Response @@ -62654,9 +62699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *17 - *18 responses: @@ -62674,9 +62719,9 @@ paths: type: integer secrets: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 headers: Link: *37 x-github: @@ -62701,17 +62746,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 responses: '200': description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62733,18 +62778,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *392 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62766,9 +62811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 requestBody: required: true @@ -62826,9 +62871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *113 responses: '204': @@ -62854,10 +62899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *225 - - *226 - - *381 - - *247 + - *227 + - *228 + - *383 + - *249 - *18 responses: '200': @@ -62874,9 +62919,9 @@ paths: type: integer variables: type: array - items: *275 + items: *277 examples: - default: *276 + default: *278 headers: Link: *37 x-github: @@ -62899,9 +62944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 requestBody: required: true content: @@ -62953,18 +62998,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *225 - - *226 - - *381 + - *227 + - *228 + - *383 - *116 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *393 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62985,10 +63030,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 - - *381 + - *383 requestBody: required: true content: @@ -63030,10 +63075,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *225 - - *226 + - *227 + - *228 - *116 - - *381 + - *383 responses: '204': description: Response @@ -63055,8 +63100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -63133,8 +63178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *225 - - *226 + - *227 + - *228 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63293,8 +63338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -63327,9 +63372,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 '400': *14 '422': *15 '403': *27 @@ -63350,8 +63395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -63411,7 +63456,7 @@ paths: schema: oneOf: - *89 - - *394 + - *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63436,8 +63481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *225 - - *226 + - *227 + - *228 - name: file_sha in: path required: true @@ -63536,8 +63581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -63646,7 +63691,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63866,15 +63911,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *225 - - *226 - - *351 + - *227 + - *228 + - *353 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -63929,9 +63974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *225 - - *226 - - &396 + - *227 + - *228 + - &398 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. @@ -63948,7 +63993,7 @@ paths: application/json: schema: type: array - items: &397 + items: &399 title: Git Reference description: Git references within a repository type: object @@ -64024,17 +64069,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 responses: '200': description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: &398 + default: &400 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64063,8 +64108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64093,9 +64138,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -64121,9 +64166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 requestBody: required: true content: @@ -64152,9 +64197,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 '422': *15 '409': *125 x-github: @@ -64172,9 +64217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *225 - - *226 - - *396 + - *227 + - *228 + - *398 responses: '204': description: Response @@ -64226,8 +64271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64294,7 +64339,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 title: Git Tag description: Metadata for a Git tag type: object @@ -64350,7 +64395,7 @@ paths: - sha - type - url - verification: *399 + verification: *401 required: - sha - url @@ -64360,7 +64405,7 @@ paths: - tag - message examples: - default: &401 + default: &403 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64431,8 +64476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *225 - - *226 + - *227 + - *228 - name: tag_sha in: path required: true @@ -64443,9 +64488,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: - default: *401 + default: *403 '404': *6 '409': *125 x-github: @@ -64469,8 +64514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -64544,7 +64589,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64662,8 +64707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *225 - - *226 + - *227 + - *228 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64686,7 +64731,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default-response: summary: Default response @@ -64745,8 +64790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -64756,7 +64801,7 @@ paths: application/json: schema: type: array - items: &403 + items: &405 title: Webhook description: Webhooks for repositories. type: object @@ -64819,7 +64864,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &612 + last_response: &614 title: Hook Response type: object properties: @@ -64896,8 +64941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -64950,9 +64995,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &404 + default: &406 value: type: Repository id: 12345678 @@ -65000,17 +65045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 '404': *6 x-github: githubCloudOnly: false @@ -65030,8 +65075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 requestBody: required: true @@ -65077,9 +65122,9 @@ paths: description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *404 + default: *406 '422': *15 '404': *6 x-github: @@ -65097,8 +65142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65123,8 +65168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '200': @@ -65152,8 +65197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *146 requestBody: required: false @@ -65198,8 +65243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *17 - *147 @@ -65236,8 +65281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *16 responses: @@ -65266,8 +65311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 - *16 responses: @@ -65291,8 +65336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65318,8 +65363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *225 - - *226 + - *227 + - *228 - *146 responses: '204': @@ -65378,14 +65423,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: Import description: A repository import from an external source. type: object @@ -65492,7 +65537,7 @@ paths: - html_url - authors_url examples: - default: &408 + default: &410 value: vcs: subversion use_lfs: true @@ -65508,7 +65553,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &406 + '503': &408 description: Unavailable due to service under maintenance. content: application/json: @@ -65537,8 +65582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -65586,7 +65631,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -65611,7 +65656,7 @@ paths: type: string '422': *15 '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -65692,7 +65737,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: example-1: summary: Example 1 @@ -65740,7 +65785,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': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65763,12 +65808,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65794,9 +65839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *225 - - *226 - - &562 + - *227 + - *228 + - &564 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -65810,7 +65855,7 @@ paths: application/json: schema: type: array - items: &407 + items: &409 title: Porter Author description: Porter Author type: object @@ -65864,7 +65909,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65889,8 +65934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *225 - - *226 + - *227 + - *228 - name: author_id in: path required: true @@ -65920,7 +65965,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -65933,7 +65978,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65957,8 +66002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -65999,7 +66044,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66027,8 +66072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -66055,11 +66100,11 @@ paths: description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *408 + default: *410 '422': *15 - '503': *406 + '503': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66082,8 +66127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -66091,8 +66136,8 @@ paths: application/json: schema: *20 examples: - default: *409 - '301': *237 + default: *411 + '301': *239 '404': *6 x-github: githubCloudOnly: false @@ -66112,8 +66157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -66126,7 +66171,7 @@ paths: properties: {} additionalProperties: false examples: - default: &411 + default: &413 value: limit: collaborators_only origin: repository @@ -66151,13 +66196,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: application/json: - schema: *410 + schema: *412 examples: default: summary: Example request body @@ -66171,7 +66216,7 @@ paths: application/json: schema: *153 examples: - default: *411 + default: *413 '409': description: Response x-github: @@ -66193,8 +66238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -66217,8 +66262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -66228,9 +66273,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: &555 + default: &557 value: - id: 1 repository: @@ -66361,8 +66406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *225 - - *226 + - *227 + - *228 - *157 requestBody: required: false @@ -66392,7 +66437,7 @@ paths: description: Response content: application/json: - schema: *412 + schema: *414 examples: default: value: @@ -66523,8 +66568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *225 - - *226 + - *227 + - *228 - *157 responses: '204': @@ -66556,8 +66601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *225 - - *226 + - *227 + - *228 - 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 @@ -66770,7 +66815,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *237 + '301': *239 '422': *15 '404': *6 x-github: @@ -66799,8 +66844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -66883,7 +66928,7 @@ paths: application/json: schema: *69 examples: - default: &416 + default: &418 value: id: 1 node_id: MDU6SXNzdWUx @@ -67039,7 +67084,7 @@ paths: '422': *15 '503': *57 '404': *6 - '410': *234 + '410': *236 x-github: triggersNotification: true githubCloudOnly: false @@ -67067,8 +67112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *78 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67089,9 +67134,9 @@ paths: application/json: schema: type: array - items: *413 + items: *415 examples: - default: &418 + default: &420 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67149,17 +67194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: &414 + default: &416 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67213,8 +67258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -67237,9 +67282,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 '422': *15 x-github: githubCloudOnly: false @@ -67257,8 +67302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -67279,8 +67324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67307,9 +67352,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -67330,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -67364,16 +67409,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -67395,10 +67440,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -67418,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -67429,7 +67474,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Issue Event description: Issue Event type: object @@ -67768,8 +67813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *225 - - *226 + - *227 + - *228 - name: event_id in: path required: true @@ -67780,7 +67825,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: default: value: @@ -67973,7 +68018,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *234 + '410': *236 '403': *27 x-github: githubCloudOnly: false @@ -68007,9 +68052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *225 - - *226 - - &417 + - *227 + - *228 + - &419 name: issue_number description: The number that identifies the issue. in: path @@ -68023,10 +68068,10 @@ paths: application/json: schema: *69 examples: - default: *416 - '301': *237 + default: *418 + '301': *239 '404': *6 - '410': *234 + '410': *236 '304': *35 x-github: githubCloudOnly: false @@ -68051,9 +68096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -68163,13 +68208,13 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 '422': *15 '503': *57 '403': *27 - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68187,9 +68232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -68217,7 +68262,7 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68233,9 +68278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: content: application/json: @@ -68262,7 +68307,7 @@ paths: application/json: schema: *69 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68284,9 +68329,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: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - name: assignee in: path required: true @@ -68326,9 +68371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *59 - *17 - *18 @@ -68339,13 +68384,13 @@ paths: application/json: schema: type: array - items: *413 + items: *415 examples: - default: *418 + default: *420 headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68374,9 +68419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: true content: @@ -68398,16 +68443,16 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: - default: *414 + default: *416 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *234 + '410': *236 '422': *15 '404': *6 x-github: @@ -68427,9 +68472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -68443,7 +68488,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &421 + - &423 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68492,7 +68537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &422 + - &424 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68620,7 +68665,7 @@ paths: - performed_via_github_app - assignee - assigner - - &423 + - &425 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68666,7 +68711,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &424 + - &426 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68712,7 +68757,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &425 + - &427 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68761,7 +68806,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &426 + - &428 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68803,7 +68848,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &427 + - &429 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68845,7 +68890,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &428 + - &430 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68901,7 +68946,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &429 + - &431 title: Locked Issue Event description: Locked Issue Event type: object @@ -68946,7 +68991,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &430 + - &432 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69007,7 +69052,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &431 + - &433 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69068,7 +69113,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &432 + - &434 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69129,7 +69174,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &433 + - &435 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69222,7 +69267,7 @@ paths: color: red headers: Link: *37 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69239,9 +69284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -69251,7 +69296,7 @@ paths: application/json: schema: type: array - items: &419 + items: &421 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69306,7 +69351,7 @@ paths: - color - default examples: - default: &420 + default: &422 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69324,9 +69369,9 @@ paths: default: false headers: Link: *37 - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69343,9 +69388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69404,12 +69449,12 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 - '301': *237 + default: *422 + '301': *239 '404': *6 - '410': *234 + '410': *236 '422': *15 x-github: githubCloudOnly: false @@ -69426,9 +69471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69488,12 +69533,12 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 - '301': *237 + default: *422 + '301': *239 '404': *6 - '410': *234 + '410': *236 '422': *15 x-github: githubCloudOnly: false @@ -69510,15 +69555,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 responses: '204': description: Response - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69537,9 +69582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - name: name in: path required: true @@ -69552,7 +69597,7 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: default: value: @@ -69563,9 +69608,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *237 + '301': *239 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69585,9 +69630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: false content: @@ -69616,7 +69661,7 @@ paths: '204': description: Response '403': *27 - '410': *234 + '410': *236 '404': *6 '422': *15 x-github: @@ -69634,9 +69679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 responses: '204': description: Response @@ -69658,9 +69703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - 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. @@ -69686,13 +69731,13 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69710,9 +69755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 requestBody: required: true content: @@ -69744,16 +69789,16 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -69775,10 +69820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *225 - - *226 - - *417 - - *221 + - *227 + - *228 + - *419 + - *223 responses: '204': description: Response @@ -69798,9 +69843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *225 - - *226 - - *417 + - *227 + - *228 + - *419 - *17 - *18 responses: @@ -69815,8 +69860,6 @@ paths: description: Timeline Event type: object anyOf: - - *421 - - *422 - *423 - *424 - *425 @@ -69828,6 +69871,8 @@ paths: - *431 - *432 - *433 + - *434 + - *435 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70146,7 +70191,7 @@ paths: type: string comments: type: array - items: &453 + items: &455 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70384,7 +70429,7 @@ paths: type: string comments: type: array - items: *349 + items: *351 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70659,7 +70704,7 @@ paths: headers: Link: *37 '404': *6 - '410': *234 + '410': *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70676,8 +70721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -70687,7 +70732,7 @@ paths: application/json: schema: type: array - items: &434 + items: &436 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -70751,8 +70796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -70788,9 +70833,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: &435 + default: &437 value: id: 1 key: ssh-rsa AAA... @@ -70823,9 +70868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *225 - - *226 - - &436 + - *227 + - *228 + - &438 name: key_id description: The unique identifier of the key. in: path @@ -70837,9 +70882,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *436 examples: - default: *435 + default: *437 '404': *6 x-github: githubCloudOnly: false @@ -70857,9 +70902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *225 - - *226 - - *436 + - *227 + - *228 + - *438 responses: '204': description: Response @@ -70879,8 +70924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -70890,9 +70935,9 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 + default: *422 headers: Link: *37 '404': *6 @@ -70913,8 +70958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -70950,9 +70995,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: &437 + default: &439 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -70984,8 +71029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -70996,9 +71041,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *437 + default: *439 '404': *6 x-github: githubCloudOnly: false @@ -71015,8 +71060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -71055,7 +71100,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: default: value: @@ -71081,8 +71126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *225 - - *226 + - *227 + - *228 - name: name in: path required: true @@ -71108,8 +71153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -71148,9 +71193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *225 - - *226 - - *326 + - *227 + - *228 + - *328 responses: '200': description: Response @@ -71297,8 +71342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71363,8 +71408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71398,9 +71443,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *350 + schema: *352 examples: - default: *438 + default: *440 '204': description: Response when already merged '404': @@ -71425,8 +71470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71467,7 +71512,7 @@ paths: application/json: schema: type: array - items: *354 + items: *356 examples: default: value: @@ -71523,8 +71568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -71564,9 +71609,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: &439 + default: &441 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71625,9 +71670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *225 - - *226 - - &440 + - *227 + - *228 + - &442 name: milestone_number description: The number that identifies the milestone. in: path @@ -71639,9 +71684,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *439 + default: *441 '404': *6 x-github: githubCloudOnly: false @@ -71658,9 +71703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 requestBody: required: false content: @@ -71698,9 +71743,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *439 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71716,9 +71761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 responses: '204': description: Response @@ -71739,9 +71784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *225 - - *226 - - *440 + - *227 + - *228 + - *442 - *17 - *18 responses: @@ -71751,9 +71796,9 @@ paths: application/json: schema: type: array - items: *419 + items: *421 examples: - default: *420 + default: *422 headers: Link: *37 x-github: @@ -71772,12 +71817,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *225 - - *226 - - *441 - - *442 - - *59 + - *227 + - *228 - *443 + - *444 + - *59 + - *445 - *17 - *18 responses: @@ -71789,7 +71834,7 @@ paths: type: array items: *81 examples: - default: *444 + default: *446 headers: Link: *37 x-github: @@ -71813,8 +71858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -71872,14 +71917,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: &445 + schema: &447 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72023,7 +72068,7 @@ paths: - custom_404 - public examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72064,8 +72109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72120,9 +72165,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '422': *15 '409': *125 x-github: @@ -72145,8 +72190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72246,8 +72291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -72273,8 +72318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -72284,7 +72329,7 @@ paths: application/json: schema: type: array - items: &447 + items: &449 title: Page Build description: Page Build type: object @@ -72376,8 +72421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *225 - - *226 + - *227 + - *228 responses: '201': description: Response @@ -72424,16 +72469,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72481,8 +72526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *225 - - *226 + - *227 + - *228 - name: build_id in: path required: true @@ -72493,9 +72538,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72515,8 +72560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -72625,9 +72670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *225 - - *226 - - &449 + - *227 + - *228 + - &451 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72685,9 +72730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *225 - - *226 - - *449 + - *227 + - *228 + - *451 responses: '204': *128 '404': *6 @@ -72714,8 +72759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -73010,8 +73055,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: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Private vulnerability reporting status @@ -73048,8 +73093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': *128 '422': *14 @@ -73070,8 +73115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': *128 '422': *14 @@ -73094,8 +73139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: Indicates the state of the projects to return. in: query @@ -73156,7 +73201,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -73176,8 +73221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73205,11 +73250,11 @@ paths: application/json: schema: *187 examples: - default: *233 + default: *235 '401': *23 '403': *27 '404': *6 - '410': *234 + '410': *236 '422': *7 x-github: githubCloudOnly: false @@ -73229,8 +73274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -73269,8 +73314,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73332,8 +73377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *225 - - *226 + - *227 + - *228 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73393,9 +73438,9 @@ paths: application/json: schema: type: array - items: *450 + items: *452 examples: - default: *451 + default: *453 headers: Link: *37 '304': *35 @@ -73427,8 +73472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -73495,7 +73540,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73624,7 +73669,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 active_lock_reason: type: - string @@ -74611,14 +74656,14 @@ paths: _links: type: object properties: - comments: *355 - commits: *355 - statuses: *355 - html: *355 - issue: *355 - review_comments: *355 - review_comment: *355 - self: *355 + comments: *357 + commits: *357 + statuses: *357 + html: *357 + issue: *357 + review_comments: *357 + review_comment: *357 + self: *357 required: - comments - commits @@ -74629,7 +74674,7 @@ paths: - review_comment - self author_association: *55 - auto_merge: *452 + auto_merge: *454 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -74731,7 +74776,7 @@ paths: - merged_by - review_comments examples: - default: &456 + default: &458 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75258,8 +75303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - name: sort in: query required: false @@ -75288,9 +75333,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: &458 + default: &460 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75367,17 +75412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: &454 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -75452,8 +75497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -75476,9 +75521,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75494,8 +75539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 + - *227 + - *228 - *68 responses: '204': @@ -75517,8 +75562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75545,9 +75590,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -75568,8 +75613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *225 - - *226 + - *227 + - *228 - *68 requestBody: required: true @@ -75602,16 +75647,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -75633,10 +75678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *225 - - *226 + - *227 + - *228 - *68 - - *221 + - *223 responses: '204': description: Response @@ -75679,9 +75724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *225 - - *226 - - &457 + - *227 + - *228 + - &459 name: pull_number description: The number that identifies the pull request. in: path @@ -75694,9 +75739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '304': *35 '404': *6 '406': @@ -75731,9 +75776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -75775,9 +75820,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 '422': *15 '403': *27 x-github: @@ -75799,9 +75844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -75864,7 +75909,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -75872,7 +75917,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -75902,9 +75947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *78 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75925,9 +75970,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *458 + default: *460 headers: Link: *37 x-github: @@ -75960,9 +76005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -76068,7 +76113,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: example-for-a-multi-line-comment: value: @@ -76156,9 +76201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *68 requestBody: required: true @@ -76181,7 +76226,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -76267,9 +76312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -76279,9 +76324,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: *459 + default: *461 headers: Link: *37 x-github: @@ -76311,9 +76356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -76323,7 +76368,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -76361,9 +76406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 responses: '204': description: Response if pull request has been merged @@ -76386,9 +76431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -76500,9 +76545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 responses: '200': description: Response @@ -76577,9 +76622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -76616,7 +76661,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -77152,9 +77197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: true content: @@ -77188,7 +77233,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -77693,9 +77738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 - *17 - *18 responses: @@ -77705,7 +77750,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77861,9 +77906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -77953,9 +77998,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &462 + default: &464 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78018,10 +78063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - &461 + - *227 + - *228 + - *459 + - &463 name: review_id description: The unique identifier of the review. in: path @@ -78033,9 +78078,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &463 + default: &465 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -78094,10 +78139,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78120,7 +78165,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -78182,18 +78227,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *462 + default: *464 '422': *7 '404': *6 x-github: @@ -78220,10 +78265,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 - *17 - *18 responses: @@ -78321,9 +78366,9 @@ paths: _links: type: object properties: - self: *355 - html: *355 - pull_request: *355 + self: *357 + html: *357 + pull_request: *357 required: - self - html @@ -78474,10 +78519,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78506,7 +78551,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -78569,10 +78614,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *225 - - *226 - - *457 - - *461 + - *227 + - *228 + - *459 + - *463 requestBody: required: true content: @@ -78607,9 +78652,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *463 + default: *465 '404': *6 '422': *7 '403': *27 @@ -78631,9 +78676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *225 - - *226 - - *457 + - *227 + - *228 + - *459 requestBody: required: false content: @@ -78697,8 +78742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *225 - - *226 + - *227 + - *228 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -78711,9 +78756,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &465 + default: &467 value: type: file encoding: base64 @@ -78755,8 +78800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *225 - - *226 + - *227 + - *228 - name: dir description: The alternate path to look for a README file in: path @@ -78776,9 +78821,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *465 + default: *467 '404': *6 '422': *15 x-github: @@ -78800,8 +78845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -78811,7 +78856,7 @@ paths: application/json: schema: type: array - items: &466 + items: &468 title: Release description: A release. type: object @@ -78883,7 +78928,7 @@ paths: author: *4 assets: type: array - items: &467 + items: &469 title: Release Asset description: Data related to a release. type: object @@ -79063,8 +79108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -79140,9 +79185,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: &470 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -79243,9 +79288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *225 - - *226 - - &468 + - *227 + - *228 + - &470 name: asset_id description: The unique identifier of the asset. in: path @@ -79257,9 +79302,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &469 + default: &471 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 @@ -79293,7 +79338,7 @@ paths: type: User site_admin: false '404': *6 - '302': *364 + '302': *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79309,9 +79354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *225 - - *226 - - *468 + - *227 + - *228 + - *470 requestBody: required: false content: @@ -79340,9 +79385,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *469 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79358,9 +79403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *225 - - *226 - - *468 + - *227 + - *228 + - *470 responses: '204': description: Response @@ -79384,8 +79429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -79471,16 +79516,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79497,8 +79542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *225 - - *226 + - *227 + - *228 - name: tag description: tag parameter in: path @@ -79511,9 +79556,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 '404': *6 x-github: githubCloudOnly: false @@ -79535,9 +79580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *225 - - *226 - - &471 + - *227 + - *228 + - &473 name: release_id description: The unique identifier of the release. in: path @@ -79551,9 +79596,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: *466 + schema: *468 examples: - default: *470 + default: *472 '401': description: Unauthorized x-github: @@ -79571,9 +79616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 requestBody: required: false content: @@ -79637,9 +79682,9 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *470 + default: *472 '404': description: Not Found if the discussion category name is invalid content: @@ -79660,9 +79705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 responses: '204': description: Response @@ -79682,9 +79727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - *17 - *18 responses: @@ -79694,7 +79739,7 @@ paths: application/json: schema: type: array - items: *467 + items: *469 examples: default: value: @@ -79774,9 +79819,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: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - name: name in: query required: true @@ -79802,7 +79847,7 @@ paths: description: Response for successful upload content: application/json: - schema: *467 + schema: *469 examples: response-for-successful-upload: value: @@ -79856,9 +79901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 - 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. @@ -79882,9 +79927,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 '404': *6 @@ -79905,9 +79950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *225 - - *226 - - *471 + - *227 + - *228 + - *473 requestBody: required: true content: @@ -79937,16 +79982,16 @@ paths: description: Reaction exists content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '201': description: Reaction created content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -79968,10 +80013,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *225 - - *226 - - *471 - - *221 + - *227 + - *228 + - *473 + - *223 responses: '204': description: Response @@ -79995,9 +80040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *225 - - *226 - - *293 + - *227 + - *228 + - *295 - *17 - *18 responses: @@ -80013,8 +80058,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *472 - - &474 + - *474 + - &476 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80033,54 +80078,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *473 - - *474 - allOf: - *475 - - *474 - - allOf: - *476 - - *474 - allOf: - *477 - - *474 + - *476 - allOf: - *478 - - *474 + - *476 - allOf: - *479 - - *474 + - *476 - allOf: - *480 - - *474 + - *476 - allOf: - *481 - - *474 + - *476 - allOf: - *482 - - *474 + - *476 - allOf: - *483 - - *474 + - *476 - allOf: - *484 - - *474 + - *476 - allOf: - *485 - - *474 + - *476 - allOf: - *486 - - *474 + - *476 - allOf: - *487 - - *474 + - *476 - allOf: - *488 - - *474 + - *476 - allOf: - *489 - - *474 + - *476 + - allOf: + - *490 + - *476 + - allOf: + - *491 + - *476 examples: default: value: @@ -80119,8 +80164,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 - name: includes_parents @@ -80131,7 +80176,7 @@ paths: schema: type: boolean default: true - - *490 + - *492 responses: '200': description: Response @@ -80186,8 +80231,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 requestBody: description: Request body required: true @@ -80249,7 +80294,7 @@ paths: application/json: schema: *200 examples: - default: &500 + default: &502 value: id: 42 name: super cool ruleset @@ -80296,12 +80341,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *225 - - *226 - - *491 - - *492 + - *227 + - *228 - *493 - *494 + - *495 + - *496 - *17 - *18 responses: @@ -80309,9 +80354,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 '404': *6 '500': *39 x-github: @@ -80332,17 +80377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *225 - - *226 - - *497 + - *227 + - *228 + - *499 responses: '200': description: Response content: application/json: - schema: *498 + schema: *500 examples: - default: *499 + default: *501 '404': *6 '500': *39 x-github: @@ -80370,8 +80415,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80393,7 +80438,7 @@ paths: application/json: schema: *200 examples: - default: *500 + default: *502 '404': *6 '500': *39 put: @@ -80411,8 +80456,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80476,7 +80521,7 @@ paths: application/json: schema: *200 examples: - default: *500 + default: *502 '404': *6 '500': *39 delete: @@ -80494,8 +80539,8 @@ paths: category: repos subcategory: rules parameters: - - *225 - - *226 + - *227 + - *228 - name: ruleset_id description: The ID of the ruleset. in: path @@ -80523,8 +80568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 - *202 - *203 - *204 @@ -80532,9 +80577,11 @@ paths: - *40 - *18 - *17 - - *501 - - *502 + - *503 + - *504 - *206 + - *207 + - *208 responses: '200': description: Response @@ -80542,7 +80589,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 type: object properties: number: *46 @@ -80558,8 +80605,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *503 - resolution: *504 + state: *505 + resolution: *506 resolved_at: type: - string @@ -80611,6 +80658,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. examples: default: value: @@ -80667,6 +80725,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 @@ -80684,6 +80744,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 @@ -80709,15 +80771,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -80738,6 +80800,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *35 '404': description: Repository is public, or secret scanning is disabled for the @@ -80763,9 +80827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 requestBody: required: true content: @@ -80773,8 +80837,8 @@ paths: schema: type: object properties: - state: *503 - resolution: *504 + state: *505 + resolution: *506 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80793,7 +80857,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -80832,6 +80896,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. @@ -80862,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *225 - - *226 - - *324 + - *227 + - *228 + - *326 - *18 - *17 responses: @@ -80875,7 +80941,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &633 + items: &635 type: object properties: type: @@ -81254,8 +81320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81263,14 +81329,14 @@ paths: schema: type: object properties: - reason: &507 + reason: &509 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *506 + placeholder_id: *508 required: - reason - placeholder_id @@ -81287,7 +81353,7 @@ paths: schema: type: object properties: - reason: *507 + reason: *509 expire_at: type: - string @@ -81333,8 +81399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *225 - - *226 + - *227 + - *228 - *40 - name: sort description: The property to sort the results by. @@ -81378,9 +81444,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 '400': *14 '404': *6 x-github: @@ -81403,8 +81469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81484,7 +81550,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 required: - login - type @@ -81574,9 +81640,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &511 + default: &513 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81809,8 +81875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -81923,7 +81989,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -82070,17 +82136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '200': description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *511 + default: *513 '403': *27 '404': *6 x-github: @@ -82104,9 +82170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 requestBody: required: true content: @@ -82186,7 +82252,7 @@ paths: login: type: string description: The username of the user credited. - type: *209 + type: *211 required: - login - type @@ -82277,10 +82343,10 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *511 - add_credit: *511 + default: *513 + add_credit: *513 '403': *27 '404': *6 '422': @@ -82318,9 +82384,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: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '202': *91 '400': *14 @@ -82347,17 +82413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *225 - - *226 - - *510 + - *227 + - *228 + - *512 responses: '202': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 '400': *14 '422': *15 '403': *27 @@ -82383,8 +82449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -82480,8 +82546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -82490,7 +82556,7 @@ paths: application/json: schema: type: array - items: &512 + items: &514 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -82523,8 +82589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -82602,8 +82668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -82697,8 +82763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82852,8 +82918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82863,7 +82929,7 @@ paths: application/json: schema: type: array - items: *512 + items: *514 examples: default: value: @@ -82896,8 +82962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *225 - - *226 + - *227 + - *228 - name: sha in: path required: true @@ -82953,7 +83019,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default: value: @@ -83007,8 +83073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83040,14 +83106,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &514 + schema: &516 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -83120,8 +83186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: false content: @@ -83147,7 +83213,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: default: value: @@ -83174,8 +83240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -83195,8 +83261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83278,8 +83344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83287,7 +83353,7 @@ paths: application/json: schema: type: array - items: &515 + items: &517 title: Tag protection description: Tag protection type: object @@ -83344,8 +83410,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: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -83368,7 +83434,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -83399,8 +83465,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: - - *225 - - *226 + - *227 + - *228 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -83437,8 +83503,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *225 - - *226 + - *227 + - *228 - name: ref in: path required: true @@ -83474,8 +83540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *225 - - *226 + - *227 + - *228 - *17 - *18 responses: @@ -83507,8 +83573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *225 - - *226 + - *227 + - *228 - *18 - *17 responses: @@ -83516,7 +83582,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -83528,7 +83594,7 @@ paths: required: - names examples: - default: &517 + default: &519 value: names: - octocat @@ -83551,8 +83617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -83583,9 +83649,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *517 + default: *519 '404': *6 '422': *7 x-github: @@ -83606,9 +83672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *225 - - *226 - - &518 + - *227 + - *228 + - &520 name: per description: The time frame to display results for. in: query @@ -83639,7 +83705,7 @@ paths: - 128 clones: type: array - items: &519 + items: &521 title: Traffic type: object properties: @@ -83726,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83821,8 +83887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response @@ -83885,9 +83951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *225 - - *226 - - *518 + - *227 + - *228 + - *520 responses: '200': description: Response @@ -83908,7 +83974,7 @@ paths: - 3782 views: type: array - items: *519 + items: *521 required: - uniques - count @@ -83985,8 +84051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *225 - - *226 + - *227 + - *228 requestBody: required: true content: @@ -84260,8 +84326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -84284,8 +84350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -84307,8 +84373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -84334,8 +84400,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *225 - - *226 + - *227 + - *228 - name: ref in: path required: true @@ -84427,9 +84493,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84678,7 +84744,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &520 + text_matches: &522 title: Search Result Text Matches type: array items: @@ -84841,7 +84907,7 @@ paths: enum: - author-date - committer-date - - &521 + - &523 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 @@ -84910,7 +84976,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 comment_count: type: integer message: @@ -84929,7 +84995,7 @@ paths: url: type: string format: uri - verification: *399 + verification: *401 required: - author - committer @@ -84944,7 +85010,7 @@ paths: committer: anyOf: - type: 'null' - - *291 + - *293 parents: type: array items: @@ -84961,7 +85027,7 @@ paths: type: number node_id: type: string - text_matches: *520 + text_matches: *522 required: - sha - node_id @@ -85153,7 +85219,7 @@ paths: - interactions - created - updated - - *521 + - *523 - *17 - *18 responses: @@ -85255,7 +85321,7 @@ paths: milestone: anyOf: - type: 'null' - - *354 + - *356 comments: type: integer created_at: @@ -85269,7 +85335,7 @@ paths: - string - 'null' format: date-time - text_matches: *520 + text_matches: *522 pull_request: type: object properties: @@ -85491,7 +85557,7 @@ paths: enum: - created - updated - - *521 + - *523 - *17 - *18 responses: @@ -85536,7 +85602,7 @@ paths: - 'null' score: type: number - text_matches: *520 + text_matches: *522 required: - id - node_id @@ -85621,7 +85687,7 @@ paths: - forks - help-wanted-issues - updated - - *521 + - *523 - *17 - *18 responses: @@ -85858,7 +85924,7 @@ paths: - admin - pull - push - text_matches: *520 + text_matches: *522 temp_clone_token: type: string allow_merge_commit: @@ -86166,7 +86232,7 @@ paths: - string - 'null' format: uri - text_matches: *520 + text_matches: *522 related: type: - array @@ -86359,7 +86425,7 @@ paths: - followers - repositories - joined - - *521 + - *523 - *17 - *18 responses: @@ -86469,7 +86535,7 @@ paths: type: - boolean - 'null' - text_matches: *520 + text_matches: *522 blog: type: - string @@ -86551,7 +86617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &522 + - &524 name: team_id description: The unique identifier of the team. in: path @@ -86563,9 +86629,9 @@ paths: description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 x-github: githubCloudOnly: false @@ -86592,7 +86658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *522 + - *524 requestBody: required: true content: @@ -86656,16 +86722,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '201': description: Response content: application/json: - schema: *210 + schema: *212 examples: - default: *211 + default: *213 '404': *6 '422': *15 '403': *27 @@ -86693,7 +86759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *522 + - *524 responses: '204': description: Response @@ -86724,7 +86790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *522 + - *524 - *40 - *17 - *18 @@ -86735,9 +86801,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *523 + default: *525 headers: Link: *37 x-github: @@ -86766,7 +86832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *522 + - *524 requestBody: required: true content: @@ -86800,9 +86866,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: triggersNotification: true githubCloudOnly: false @@ -86829,16 +86895,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86863,8 +86929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: false content: @@ -86887,9 +86953,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *524 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86914,8 +86980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 responses: '204': description: Response @@ -86944,8 +87010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *522 - - *214 + - *524 + - *216 - *40 - *17 - *18 @@ -86956,9 +87022,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *525 + default: *527 headers: Link: *37 x-github: @@ -86987,8 +87053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: true content: @@ -87010,9 +87076,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: triggersNotification: true githubCloudOnly: false @@ -87039,17 +87105,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 responses: '200': description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87074,9 +87140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 requestBody: required: true content: @@ -87098,9 +87164,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87125,9 +87191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 responses: '204': description: Response @@ -87156,9 +87222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 - 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. @@ -87184,9 +87250,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -87215,9 +87281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *522 - - *214 - - *217 + - *524 + - *216 + - *219 requestBody: required: true content: @@ -87249,9 +87315,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87277,8 +87343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 - 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. @@ -87304,9 +87370,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *220 + default: *222 headers: Link: *37 x-github: @@ -87335,8 +87401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *522 - - *214 + - *524 + - *216 requestBody: required: true content: @@ -87368,9 +87434,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87394,7 +87460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87432,7 +87498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *522 + - *524 - name: role description: Filters members returned by their role in the team. in: query @@ -87483,7 +87549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87520,7 +87586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87560,7 +87626,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87597,16 +87663,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-user-is-a-team-maintainer: *527 + response-if-user-is-a-team-maintainer: *529 '404': *6 x-github: githubCloudOnly: false @@ -87639,7 +87705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 requestBody: required: false @@ -87665,9 +87731,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *224 examples: - response-if-users-membership-with-team-is-now-pending: *528 + response-if-users-membership-with-team-is-now-pending: *530 '403': description: Forbidden if team synchronization is set up '422': @@ -87701,7 +87767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *522 + - *524 - *118 responses: '204': @@ -87731,7 +87797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87741,9 +87807,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *529 + default: *531 headers: Link: *37 '404': *6 @@ -87770,16 +87836,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *522 - - *224 + - *524 + - *226 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: *530 + default: *532 '404': description: Not Found if project is not managed by this team x-github: @@ -87804,8 +87870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *522 - - *224 + - *524 + - *226 requestBody: required: false content: @@ -87873,8 +87939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *522 - - *224 + - *524 + - *226 responses: '204': description: Response @@ -87901,7 +87967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -87943,15 +88009,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *531 + schema: *533 examples: alternative-response-with-extra-repository-information: value: @@ -88102,9 +88168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 requestBody: required: false content: @@ -88154,9 +88220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *522 - - *225 - - *226 + - *524 + - *227 + - *228 responses: '204': description: Response @@ -88181,7 +88247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *522 + - *524 - *17 - *18 responses: @@ -88193,7 +88259,7 @@ paths: type: array items: *158 examples: - response-if-child-teams-exist: *532 + response-if-child-teams-exist: *534 headers: Link: *37 '404': *6 @@ -88226,7 +88292,7 @@ paths: application/json: schema: oneOf: - - &534 + - &536 title: Private User description: Private User type: object @@ -88476,7 +88542,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *533 + - *535 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -88636,7 +88702,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -88982,7 +89048,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -88990,7 +89056,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -89034,7 +89100,7 @@ paths: type: integer secrets: type: array - items: &535 + items: &537 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -89076,7 +89142,7 @@ paths: - visibility - selected_repositories_url examples: - default: *343 + default: *345 headers: Link: *37 x-github: @@ -89154,7 +89220,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: default: value: @@ -89300,7 +89366,7 @@ paths: type: array items: *105 examples: - default: *536 + default: *538 '401': *23 '403': *27 '404': *6 @@ -89452,7 +89518,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '304': *35 '500': *39 '401': *23 @@ -89510,7 +89576,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '401': *23 '403': *27 '404': *6 @@ -89567,7 +89633,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &539 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -89620,7 +89686,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &538 + default: &540 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -89665,9 +89731,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *539 examples: - default: *538 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -89704,9 +89770,9 @@ paths: type: integer machines: type: array - items: *342 + items: *344 examples: - default: *539 + default: *541 '304': *35 '500': *39 '401': *23 @@ -89791,11 +89857,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *236 + repository: *238 machine: anyOf: - type: 'null' - - *342 + - *344 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -90600,7 +90666,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '304': *35 '500': *39 '400': *14 @@ -90640,7 +90706,7 @@ paths: application/json: schema: *162 examples: - default: *341 + default: *343 '500': *39 '401': *23 '403': *27 @@ -90672,7 +90738,7 @@ paths: type: array items: *174 examples: - default: &552 + default: &554 value: - id: 197 name: hello_docker @@ -90773,7 +90839,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Email description: Email type: object @@ -90843,9 +90909,9 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: &554 + default: &556 value: - email: octocat@github.com verified: true @@ -90922,7 +90988,7 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: default: value: @@ -91179,7 +91245,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: GPG Key description: A unique encryption key type: object @@ -91324,7 +91390,7 @@ paths: - subkeys - revoked examples: - default: &565 + default: &567 value: - id: 3 name: Octocat's GPG Key @@ -91409,9 +91475,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: &542 + default: &544 value: id: 3 name: Octocat's GPG Key @@ -91468,7 +91534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &543 + - &545 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -91480,9 +91546,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *543 examples: - default: *542 + default: *544 '404': *6 '304': *35 '403': *27 @@ -91505,7 +91571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *543 + - *545 responses: '204': description: Response @@ -91696,7 +91762,7 @@ paths: type: array items: *54 examples: - default: *544 + default: *546 headers: Link: *37 '404': *6 @@ -91810,7 +91876,7 @@ paths: required: true content: application/json: - schema: *410 + schema: *412 examples: default: value: @@ -91960,7 +92026,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: Key description: Key type: object @@ -92058,9 +92124,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: &546 + default: &548 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -92093,15 +92159,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *436 + - *438 responses: '200': description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '404': *6 '304': *35 '403': *27 @@ -92124,7 +92190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *436 + - *438 responses: '204': description: Response @@ -92157,7 +92223,7 @@ paths: application/json: schema: type: array - items: &547 + items: &549 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -92236,7 +92302,7 @@ paths: - account - plan examples: - default: &548 + default: &550 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -92298,9 +92364,9 @@ paths: application/json: schema: type: array - items: *547 + items: *549 examples: - default: *548 + default: *550 headers: Link: *37 '304': *35 @@ -93304,7 +93370,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *168 - - *549 + - *551 responses: '204': description: Response @@ -93374,7 +93440,7 @@ paths: type: array items: *85 examples: - default: *550 + default: *552 headers: Link: *37 '304': *35 @@ -93416,7 +93482,7 @@ paths: - docker - nuget - container - - *551 + - *553 - *18 - *17 responses: @@ -93428,8 +93494,8 @@ paths: type: array items: *174 examples: - default: *552 - '400': *553 + default: *554 + '400': *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93458,7 +93524,7 @@ paths: application/json: schema: *174 examples: - default: &566 + default: &568 value: id: 40201 name: octo-name @@ -93910,9 +93976,9 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: *554 + default: *556 headers: Link: *37 '304': *35 @@ -94025,7 +94091,7 @@ paths: type: array items: *54 examples: - default: &561 + default: &563 summary: Default response value: - id: 1296269 @@ -94341,9 +94407,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *238 + default: *240 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94381,9 +94447,9 @@ paths: application/json: schema: type: array - items: *412 + items: *414 examples: - default: *555 + default: *557 headers: Link: *37 '304': *35 @@ -94462,7 +94528,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Social account description: Social media account type: object @@ -94479,7 +94545,7 @@ paths: - provider - url examples: - default: &557 + default: &559 value: - provider: twitter url: https://twitter.com/github @@ -94542,9 +94608,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *557 + default: *559 '422': *15 '304': *35 '404': *6 @@ -94632,7 +94698,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -94652,7 +94718,7 @@ paths: - title - created_at examples: - default: &573 + default: &575 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94719,9 +94785,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: &559 + default: &561 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94752,7 +94818,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: - - &560 + - &562 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -94764,9 +94830,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 '404': *6 '304': *35 '403': *27 @@ -94789,7 +94855,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: - - *560 + - *562 responses: '204': description: Response @@ -94818,7 +94884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &574 + - &576 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 @@ -94843,11 +94909,11 @@ paths: type: array items: *54 examples: - default-response: *561 + default-response: *563 application/vnd.github.v3.star+json: schema: type: array - items: &575 + items: &577 title: Starred Repository description: Starred Repository type: object @@ -95003,8 +95069,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: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response if this repository is starred by you @@ -95032,8 +95098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -95057,8 +95123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -95130,7 +95196,7 @@ paths: application/json: schema: type: array - items: *210 + items: *212 examples: default: value: @@ -95214,10 +95280,10 @@ paths: application/json: schema: oneOf: - - *534 - - *533 + - *536 + - *535 examples: - default-response: &563 + default-response: &565 summary: Default response value: login: octocat @@ -95252,7 +95318,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &564 + response-with-git-hub-plan-information: &566 summary: Response with GitHub plan information value: login: octocat @@ -95312,7 +95378,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *562 + - *564 - *17 responses: '200': @@ -95359,11 +95425,11 @@ paths: application/json: schema: oneOf: - - *534 - - *533 + - *536 + - *535 examples: - default-response: *563 - response-with-git-hub-plan-information: *564 + default-response: *565 + response-with-git-hub-plan-information: *566 '404': *6 x-github: githubCloudOnly: false @@ -95527,7 +95593,7 @@ paths: type: array items: *174 examples: - default: *552 + default: *554 '403': *27 '401': *23 x-github: @@ -95931,9 +95997,9 @@ paths: application/json: schema: type: array - items: *541 + items: *543 examples: - default: *565 + default: *567 headers: Link: *37 x-github: @@ -96037,7 +96103,7 @@ paths: application/json: schema: *20 examples: - default: *409 + default: *411 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96115,7 +96181,7 @@ paths: type: array items: *85 examples: - default: *550 + default: *552 headers: Link: *37 x-github: @@ -96154,7 +96220,7 @@ paths: - docker - nuget - container - - *551 + - *553 - *118 - *18 - *17 @@ -96167,10 +96233,10 @@ paths: type: array items: *174 examples: - default: *552 + default: *554 '403': *27 '401': *23 - '400': *553 + '400': *555 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96200,7 +96266,7 @@ paths: application/json: schema: *174 examples: - default: *566 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96793,9 +96859,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96823,9 +96889,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96853,9 +96919,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96883,9 +96949,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *557 + default: *559 headers: Link: *37 x-github: @@ -96915,9 +96981,9 @@ paths: application/json: schema: type: array - items: *558 + items: *560 examples: - default: *573 + default: *575 headers: Link: *37 x-github: @@ -96942,7 +97008,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *118 - - *574 + - *576 - *40 - *17 - *18 @@ -96954,11 +97020,11 @@ paths: schema: anyOf: - type: array - items: *575 + items: *577 - type: array items: *54 examples: - default-response: *561 + default-response: *563 headers: Link: *37 x-github: @@ -97118,7 +97184,7 @@ webhooks: type: string enum: - disabled - enterprise: &576 + enterprise: &578 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -97187,7 +97253,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &577 + installation: &579 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -97208,7 +97274,7 @@ webhooks: required: - id - node_id - organization: &578 + organization: &580 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -97281,7 +97347,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &579 + repository: &581 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -98194,10 +98260,10 @@ webhooks: type: string enum: - enabled - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -98273,11 +98339,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: &580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: &582 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) @@ -98500,11 +98566,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: *580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: *582 sender: *4 required: - action @@ -98692,11 +98758,11 @@ webhooks: - everyone required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - rule: *580 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + rule: *582 sender: *4 required: - action @@ -98780,7 +98846,7 @@ webhooks: type: string enum: - completed - check_run: &582 + check_run: &584 title: CheckRun description: A check performed on the code of a given code change type: object @@ -98848,7 +98914,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *304 + items: *306 repository: *105 status: type: string @@ -98893,7 +98959,7 @@ webhooks: - examples: - neutral - deployment: *581 + deployment: *583 details_url: type: string examples: @@ -98953,7 +99019,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *304 + items: *306 started_at: type: string format: date-time @@ -98991,9 +99057,9 @@ webhooks: - output - app - pull_requests - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -99386,10 +99452,10 @@ webhooks: type: string enum: - created - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -99785,10 +99851,10 @@ webhooks: type: string enum: - requested_action - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 requested_action: description: The action requested by the user. type: object @@ -100193,10 +100259,10 @@ webhooks: type: string enum: - rerequested - check_run: *582 - installation: *577 - organization: *578 - repository: *579 + check_run: *584 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - check_run @@ -101188,10 +101254,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -101876,10 +101942,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -102558,10 +102624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -102868,20 +102934,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &583 + commit_oid: &585 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: *576 - installation: *577 - organization: *578 - ref: &584 + enterprise: *578 + installation: *579 + organization: *580 + ref: &586 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: *579 + repository: *581 sender: *4 required: - action @@ -103209,12 +103275,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -103312,7 +103378,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *319 + dismissed_comment: *321 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -103484,12 +103550,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -103821,12 +103887,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -104095,9 +104161,9 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -104105,7 +104171,7 @@ webhooks: type: - string - 'null' - repository: *579 + repository: *581 sender: *4 required: - action @@ -104337,12 +104403,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *583 - enterprise: *576 - installation: *577 - organization: *578 - ref: *584 - repository: *579 + commit_oid: *585 + enterprise: *578 + installation: *579 + organization: *580 + ref: *586 + repository: *581 sender: *4 required: - action @@ -104604,10 +104670,10 @@ webhooks: - updated_at - author_association - body - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -104688,18 +104754,18 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *578 - pusher_type: &585 + organization: *580 + pusher_type: &587 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &586 + ref: &588 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -104709,7 +104775,7 @@ webhooks: enum: - tag - branch - repository: *579 + repository: *581 sender: *4 required: - ref @@ -104792,9 +104858,9 @@ webhooks: enum: - created definition: *188 - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -104878,9 +104944,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -104957,9 +105023,9 @@ webhooks: enum: - updated definition: *188 - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 sender: *4 required: - action @@ -105035,10 +105101,10 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - repository: *579 - organization: *578 + enterprise: *578 + installation: *579 + repository: *581 + organization: *580 sender: *4 new_property_values: type: array @@ -105123,18 +105189,18 @@ webhooks: title: delete event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - pusher_type: *585 - ref: *586 + enterprise: *578 + installation: *579 + organization: *580 + pusher_type: *587 + ref: *588 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *579 + repository: *581 sender: *4 required: - ref @@ -105218,11 +105284,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105306,11 +105372,11 @@ webhooks: type: string enum: - auto_reopened - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105394,11 +105460,11 @@ webhooks: type: string enum: - created - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105480,11 +105546,11 @@ webhooks: type: string enum: - dismissed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105566,11 +105632,11 @@ webhooks: type: string enum: - fixed - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105653,11 +105719,11 @@ webhooks: type: string enum: - reintroduced - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105739,11 +105805,11 @@ webhooks: type: string enum: - reopened - alert: *368 - installation: *577 - organization: *578 - enterprise: *576 - repository: *579 + alert: *370 + installation: *579 + organization: *580 + enterprise: *578 + repository: *581 sender: *4 required: - action @@ -105820,9 +105886,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - key: &587 + enterprise: *578 + installation: *579 + key: &589 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -105858,8 +105924,8 @@ webhooks: - verified - created_at - read_only - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -105936,11 +106002,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - key: *587 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + key: *589 + organization: *580 + repository: *581 sender: *4 required: - action @@ -106512,12 +106578,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: &591 + workflow: &593 title: Workflow type: - object @@ -107255,13 +107321,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *374 + deployment: *376 pull_requests: type: array - items: *455 - repository: *579 - organization: *578 - installation: *577 + items: *457 + repository: *581 + organization: *580 + installation: *579 sender: *4 responses: '200': @@ -107332,7 +107398,7 @@ webhooks: type: string enum: - approved - approver: &588 + approver: &590 type: object properties: avatar_url: @@ -107375,11 +107441,11 @@ webhooks: type: string comment: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - reviewers: &589 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + reviewers: &591 type: array items: type: object @@ -107460,7 +107526,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &590 + workflow_job_run: &592 type: object properties: conclusion: @@ -108206,18 +108272,18 @@ webhooks: type: string enum: - rejected - approver: *588 + approver: *590 comment: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - reviewers: *589 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + reviewers: *591 sender: *4 since: type: string - workflow_job_run: *590 + workflow_job_run: *592 workflow_job_runs: type: array items: @@ -108934,13 +109000,13 @@ webhooks: type: string enum: - requested - enterprise: *576 + enterprise: *578 environment: type: string - installation: *577 - organization: *578 - repository: *579 - requestor: &596 + installation: *579 + organization: *580 + repository: *581 + requestor: &598 title: User type: - object @@ -110883,12 +110949,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Deployment Workflow Run type: @@ -111579,7 +111645,7 @@ webhooks: type: string enum: - answered - answer: &594 + answer: &596 type: object properties: author_association: @@ -111739,7 +111805,7 @@ webhooks: - created_at - updated_at - body - discussion: &592 + discussion: &594 title: Discussion description: A Discussion in a repository. type: object @@ -112035,7 +112101,7 @@ webhooks: - id labels: type: array - items: *419 + items: *421 required: - repository_url - category @@ -112057,10 +112123,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112187,11 +112253,11 @@ webhooks: - from required: - category - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112274,11 +112340,11 @@ webhooks: type: string enum: - closed - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112360,7 +112426,7 @@ webhooks: type: string enum: - created - comment: &593 + comment: &595 type: object properties: author_association: @@ -112520,11 +112586,11 @@ webhooks: - updated_at - body - reactions - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112607,12 +112673,12 @@ webhooks: type: string enum: - deleted - comment: *593 - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + comment: *595 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112707,12 +112773,12 @@ webhooks: - from required: - body - comment: *593 - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + comment: *595 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112796,11 +112862,11 @@ webhooks: type: string enum: - created - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112882,11 +112948,11 @@ webhooks: type: string enum: - deleted - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -112986,11 +113052,11 @@ webhooks: type: string required: - from - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113072,10 +113138,10 @@ webhooks: type: string enum: - labeled - discussion: *592 - enterprise: *576 - installation: *577 - label: &595 + discussion: *594 + enterprise: *578 + installation: *579 + label: &597 title: Label type: object properties: @@ -113108,8 +113174,8 @@ webhooks: - color - default - description - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113192,11 +113258,11 @@ webhooks: type: string enum: - locked - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113278,11 +113344,11 @@ webhooks: type: string enum: - pinned - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113364,11 +113430,11 @@ webhooks: type: string enum: - reopened - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113453,16 +113519,16 @@ webhooks: changes: type: object properties: - new_discussion: *592 - new_repository: *579 + new_discussion: *594 + new_repository: *581 required: - new_discussion - new_repository - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113545,10 +113611,10 @@ webhooks: type: string enum: - unanswered - discussion: *592 - old_answer: *594 - organization: *578 - repository: *579 + discussion: *594 + old_answer: *596 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113630,12 +113696,12 @@ webhooks: type: string enum: - unlabeled - discussion: *592 - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113718,11 +113784,11 @@ webhooks: type: string enum: - unlocked - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113804,11 +113870,11 @@ webhooks: type: string enum: - unpinned - discussion: *592 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + discussion: *594 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -113881,7 +113947,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *576 + enterprise: *578 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -114559,9 +114625,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - forkee @@ -114707,9 +114773,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pages: description: The pages that were updated. type: array @@ -114747,7 +114813,7 @@ webhooks: - action - sha - html_url - repository: *579 + repository: *581 sender: *4 required: - pages @@ -114823,10 +114889,10 @@ webhooks: type: string enum: - created - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: &597 + organization: *580 + repositories: &599 description: An array of repository objects that the installation can access. type: array @@ -114852,8 +114918,8 @@ webhooks: - name - full_name - private - repository: *579 - requester: *596 + repository: *581 + requester: *598 sender: *4 required: - action @@ -114928,11 +114994,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115009,11 +115075,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115090,10 +115156,10 @@ webhooks: type: string enum: - added - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories_added: &598 + organization: *580 + repositories_added: &600 description: An array of repository objects, which were added to the installation. type: array @@ -115139,15 +115205,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *579 - repository_selection: &599 + repository: *581 + repository_selection: &601 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *596 + requester: *598 sender: *4 required: - action @@ -115226,10 +115292,10 @@ webhooks: type: string enum: - removed - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories_added: *598 + organization: *580 + repositories_added: *600 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -115256,9 +115322,9 @@ webhooks: - name - full_name - private - repository: *579 - repository_selection: *599 - requester: *596 + repository: *581 + repository_selection: *601 + requester: *598 sender: *4 required: - action @@ -115337,11 +115403,11 @@ webhooks: type: string enum: - suspend - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115523,10 +115589,10 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 target_type: type: string @@ -115605,11 +115671,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *576 + enterprise: *578 installation: *20 - organization: *578 - repositories: *597 - repository: *579 + organization: *580 + repositories: *599 + repository: *581 requester: type: - 'null' @@ -115857,8 +115923,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117034,8 +117100,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -117115,7 +117181,7 @@ webhooks: type: string enum: - deleted - comment: &600 + comment: &602 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -117282,8 +117348,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118457,8 +118523,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -118538,7 +118604,7 @@ webhooks: type: string enum: - edited - changes: &625 + changes: &627 description: The changes to the comment. type: object properties: @@ -118550,9 +118616,9 @@ webhooks: type: string required: - from - comment: *600 - enterprise: *576 - installation: *577 + comment: *602 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119727,8 +119793,8 @@ webhooks: - state - locked - assignee - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -119810,10 +119876,10 @@ webhooks: type: string enum: - assigned - assignee: *596 - enterprise: *576 - installation: *577 - issue: &603 + assignee: *598 + enterprise: *578 + installation: *579 + issue: &605 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120743,8 +120809,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -120824,8 +120890,8 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -121903,8 +121969,8 @@ webhooks: required: - state - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -121983,8 +122049,8 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122907,8 +122973,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -122987,8 +123053,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123915,7 +123981,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &601 + milestone: &603 title: Milestone description: A collection of related issues and pull requests. type: object @@ -124058,8 +124124,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -124158,8 +124224,8 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125089,9 +125155,9 @@ webhooks: - active_lock_reason - body - reactions - label: *595 - organization: *578 - repository: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -125171,8 +125237,8 @@ webhooks: type: string enum: - labeled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126101,9 +126167,9 @@ webhooks: - active_lock_reason - body - reactions - label: *595 - organization: *578 - repository: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -126183,8 +126249,8 @@ webhooks: type: string enum: - locked - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127115,8 +127181,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -127195,8 +127261,8 @@ webhooks: type: string enum: - milestoned - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128121,9 +128187,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *601 - organization: *578 - repository: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -129609,8 +129675,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130539,8 +130605,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -130620,9 +130686,9 @@ webhooks: type: string enum: - pinned - enterprise: *576 - installation: *577 - issue: &602 + enterprise: *578 + installation: *579 + issue: &604 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131545,8 +131611,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -131625,8 +131691,8 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132556,8 +132622,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134043,11 +134109,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *576 - installation: *577 - issue: *602 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *604 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134128,7 +134194,7 @@ webhooks: type: string enum: - unassigned - assignee: &628 + assignee: &630 title: User type: - object @@ -134200,11 +134266,11 @@ webhooks: required: - login - id - enterprise: *576 - installation: *577 - issue: *603 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *605 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134283,12 +134349,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *576 - installation: *577 - issue: *603 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *605 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -134368,8 +134434,8 @@ webhooks: type: string enum: - unlocked - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135298,8 +135364,8 @@ webhooks: format: uri user_view_type: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135379,11 +135445,11 @@ webhooks: type: string enum: - unpinned - enterprise: *576 - installation: *577 - issue: *602 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + issue: *604 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135462,11 +135528,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135544,11 +135610,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135658,11 +135724,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - label: *595 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + label: *597 + organization: *580 + repository: *581 sender: *4 required: - action @@ -135744,9 +135810,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: &604 + enterprise: *578 + installation: *579 + marketplace_purchase: &606 title: Marketplace Purchase type: object required: @@ -135834,8 +135900,8 @@ webhooks: type: integer unit_count: type: integer - organization: *578 - previous_marketplace_purchase: &605 + organization: *580 + previous_marketplace_purchase: &607 title: Marketplace Purchase type: object properties: @@ -135919,7 +135985,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -135999,10 +136065,10 @@ webhooks: - changed effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136090,7 +136156,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -136172,10 +136238,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -136261,7 +136327,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *579 + repository: *581 sender: *4 required: - action @@ -136342,8 +136408,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 marketplace_purchase: title: Marketplace Purchase type: object @@ -136429,9 +136495,9 @@ webhooks: type: integer unit_count: type: integer - organization: *578 - previous_marketplace_purchase: *605 - repository: *579 + organization: *580 + previous_marketplace_purchase: *607 + repository: *581 sender: *4 required: - action @@ -136511,12 +136577,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *576 - installation: *577 - marketplace_purchase: *604 - organization: *578 - previous_marketplace_purchase: *605 - repository: *579 + enterprise: *578 + installation: *579 + marketplace_purchase: *606 + organization: *580 + previous_marketplace_purchase: *607 + repository: *581 sender: *4 required: - action @@ -136618,11 +136684,11 @@ webhooks: type: string required: - to - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136724,11 +136790,11 @@ webhooks: type: - string - 'null' - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136807,11 +136873,11 @@ webhooks: type: string enum: - removed - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 sender: *4 required: - action @@ -136889,11 +136955,11 @@ webhooks: type: string enum: - added - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 scope: description: The scope of the membership. Currently, can only be `team`. @@ -136971,7 +137037,7 @@ webhooks: required: - login - id - team: &606 + team: &608 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -137164,11 +137230,11 @@ webhooks: type: string enum: - removed - enterprise: *576 - installation: *577 - member: *596 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + member: *598 + organization: *580 + repository: *581 scope: description: The scope of the membership. Currently, can only be `team`. @@ -137247,7 +137313,7 @@ webhooks: required: - login - id - team: *606 + team: *608 required: - action - scope @@ -137329,8 +137395,8 @@ webhooks: type: string enum: - checks_requested - installation: *577 - merge_group: &607 + installation: *579 + merge_group: &609 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -137349,15 +137415,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *308 + head_commit: *310 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137443,10 +137509,10 @@ webhooks: - merged - invalidated - dequeued - installation: *577 - merge_group: *607 - organization: *578 - repository: *579 + installation: *579 + merge_group: *609 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137519,7 +137585,7 @@ webhooks: type: string enum: - deleted - enterprise: *576 + enterprise: *578 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -137627,12 +137693,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *577 - organization: *578 + installation: *579 + organization: *580 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -137712,11 +137778,11 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -137795,9 +137861,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - milestone: &608 + enterprise: *578 + installation: *579 + milestone: &610 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137939,8 +138005,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138019,11 +138085,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138133,11 +138199,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - milestone: *601 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *603 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138217,11 +138283,11 @@ webhooks: type: string enum: - opened - enterprise: *576 - installation: *577 - milestone: *608 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + milestone: *610 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138300,11 +138366,11 @@ webhooks: type: string enum: - blocked - blocked_user: *596 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + blocked_user: *598 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138383,11 +138449,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *596 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + blocked_user: *598 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138466,9 +138532,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - membership: &609 + enterprise: *578 + installation: *579 + membership: &611 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -138562,8 +138628,8 @@ webhooks: - role - organization_url - user - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138641,11 +138707,11 @@ webhooks: type: string enum: - member_added - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -138724,8 +138790,8 @@ webhooks: type: string enum: - member_invited - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -138847,10 +138913,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 - user: *596 + user: *598 required: - action - invitation @@ -138928,11 +138994,11 @@ webhooks: type: string enum: - member_removed - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -139019,11 +139085,11 @@ webhooks: properties: from: type: string - enterprise: *576 - installation: *577 - membership: *609 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + membership: *611 + organization: *580 + repository: *581 sender: *4 required: - action @@ -139099,9 +139165,9 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 package: description: Information about the package. type: object @@ -139624,7 +139690,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &610 + items: &612 title: Ruby Gems metadata type: object properties: @@ -139721,7 +139787,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -139797,9 +139863,9 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 package: description: Information about the package. type: object @@ -140161,7 +140227,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *610 + items: *612 source_url: type: string format: uri @@ -140232,7 +140298,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -140413,12 +140479,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *576 + enterprise: *578 id: type: integer - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - id @@ -140498,7 +140564,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &611 + personal_access_token_request: &613 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -140636,10 +140702,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *576 - organization: *578 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140718,11 +140784,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *611 - enterprise: *576 - organization: *578 + personal_access_token_request: *613 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140800,11 +140866,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *611 - enterprise: *576 - organization: *578 + personal_access_token_request: *613 + enterprise: *578 + organization: *580 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140881,11 +140947,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *611 - organization: *578 - enterprise: *576 + personal_access_token_request: *613 + organization: *580 + enterprise: *578 sender: *4 - installation: *577 + installation: *579 required: - action - personal_access_token_request @@ -140989,7 +141055,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *612 + last_response: *614 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -141021,8 +141087,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 zen: description: Random string of GitHub zen. @@ -141267,10 +141333,10 @@ webhooks: - from required: - note - enterprise: *576 - installation: *577 - organization: *578 - project_card: &613 + enterprise: *578 + installation: *579 + organization: *580 + project_card: &615 title: Project Card type: object properties: @@ -141393,7 +141459,7 @@ webhooks: - creator - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -141474,11 +141540,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project_card: *613 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_card: *615 + repository: *581 sender: *4 required: - action @@ -141558,9 +141624,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 project_card: title: Project Card type: object @@ -141690,7 +141756,7 @@ webhooks: repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -141784,11 +141850,11 @@ webhooks: - from required: - note - enterprise: *576 - installation: *577 - organization: *578 - project_card: *613 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_card: *615 + repository: *581 sender: *4 required: - action @@ -141882,9 +141948,9 @@ webhooks: - from required: - column_id - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 project_card: allOf: - title: Project Card @@ -142081,7 +142147,7 @@ webhooks: type: string required: - after_id - repository: *579 + repository: *581 sender: *4 required: - action @@ -142161,10 +142227,10 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - organization: *578 - project: &615 + enterprise: *578 + installation: *579 + organization: *580 + project: &617 title: Project type: object properties: @@ -142291,7 +142357,7 @@ webhooks: - creator - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -142371,10 +142437,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project_column: &614 + enterprise: *578 + installation: *579 + organization: *580 + project_column: &616 title: Project Column type: object properties: @@ -142414,7 +142480,7 @@ webhooks: - name - created_at - updated_at - repository: *579 + repository: *581 sender: *4 required: - action @@ -142493,14 +142559,14 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -142589,11 +142655,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 + repository: *581 sender: *4 required: - action @@ -142673,11 +142739,11 @@ webhooks: type: string enum: - moved - enterprise: *576 - installation: *577 - organization: *578 - project_column: *614 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project_column: *616 + repository: *581 sender: *4 required: - action @@ -142757,11 +142823,11 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -142841,14 +142907,14 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - project: *615 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 repository: anyOf: - type: 'null' - - *579 + - *581 sender: *4 required: - action @@ -142949,11 +143015,11 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -143032,11 +143098,11 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 - organization: *578 - project: *615 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + project: *617 + repository: *581 sender: *4 required: - action @@ -143117,9 +143183,9 @@ webhooks: type: string enum: - closed - installation: *577 - organization: *578 - projects_v2: &616 + installation: *579 + organization: *580 + projects_v2: &618 title: Projects v2 Project description: A projects v2 project type: object @@ -143267,9 +143333,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143350,9 +143416,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143473,9 +143539,9 @@ webhooks: type: string to: type: string - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -143558,7 +143624,7 @@ webhooks: type: string enum: - archived - changes: &620 + changes: &622 type: object properties: archived_at: @@ -143574,9 +143640,9 @@ webhooks: - string - 'null' format: date-time - installation: *577 - organization: *578 - projects_v2_item: &617 + installation: *579 + organization: *580 + projects_v2_item: &619 title: Projects v2 Item description: An item belonging to a project type: object @@ -143715,9 +143781,9 @@ webhooks: - 'null' to: type: string - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143799,9 +143865,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143882,9 +143948,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -143989,7 +144055,7 @@ webhooks: oneOf: - type: string - type: integer - - &618 + - &620 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -144009,7 +144075,7 @@ webhooks: required: - id - name - - &619 + - &621 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -144038,8 +144104,8 @@ webhooks: oneOf: - type: string - type: integer - - *618 - - *619 + - *620 + - *621 type: - 'null' - string @@ -144062,9 +144128,9 @@ webhooks: - 'null' required: - body - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144161,9 +144227,9 @@ webhooks: type: - string - 'null' - installation: *577 - organization: *578 - projects_v2_item: *617 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144246,10 +144312,10 @@ webhooks: type: string enum: - restored - changes: *620 - installation: *577 - organization: *578 - projects_v2_item: *617 + changes: *622 + installation: *579 + organization: *580 + projects_v2_item: *619 sender: *4 required: - action @@ -144331,9 +144397,9 @@ webhooks: type: string enum: - reopened - installation: *577 - organization: *578 - projects_v2: *616 + installation: *579 + organization: *580 + projects_v2: *618 sender: *4 required: - action @@ -144414,9 +144480,9 @@ webhooks: type: string enum: - created - installation: *577 - organization: *578 - projects_v2_status_update: &621 + installation: *579 + organization: *580 + projects_v2_status_update: &623 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -144551,9 +144617,9 @@ webhooks: type: string enum: - deleted - installation: *577 - organization: *578 - projects_v2_status_update: *621 + installation: *579 + organization: *580 + projects_v2_status_update: *623 sender: *4 required: - action @@ -144699,9 +144765,9 @@ webhooks: - string - 'null' format: date - installation: *577 - organization: *578 - projects_v2_status_update: *621 + installation: *579 + organization: *580 + projects_v2_status_update: *623 sender: *4 required: - action @@ -144772,10 +144838,10 @@ webhooks: title: public event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - repository @@ -144852,13 +144918,13 @@ webhooks: type: string enum: - assigned - assignee: *596 - enterprise: *576 - installation: *577 - number: &622 + assignee: *598 + enterprise: *578 + installation: *579 + number: &624 description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -147207,7 +147273,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -147289,11 +147355,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -149635,7 +149701,7 @@ webhooks: - draft reason: type: string - repository: *579 + repository: *581 sender: *4 required: - action @@ -149717,11 +149783,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -152063,7 +152129,7 @@ webhooks: - draft reason: type: string - repository: *579 + repository: *581 sender: *4 required: - action @@ -152145,13 +152211,13 @@ webhooks: type: string enum: - closed - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: &623 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: &625 allOf: - - *455 + - *457 - type: object properties: allow_auto_merge: @@ -152213,7 +152279,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *579 + repository: *581 sender: *4 required: - action @@ -152294,12 +152360,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -152379,11 +152445,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *576 - milestone: *354 - number: *622 - organization: *578 - pull_request: &624 + enterprise: *578 + milestone: *356 + number: *624 + organization: *580 + pull_request: &626 title: Pull Request type: object properties: @@ -154710,7 +154776,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -154789,11 +154855,11 @@ webhooks: type: string enum: - dequeued - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -157139,7 +157205,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *579 + repository: *581 sender: *4 required: - action @@ -157263,12 +157329,12 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -157348,11 +157414,11 @@ webhooks: type: string enum: - enqueued - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -159683,7 +159749,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -159763,11 +159829,11 @@ webhooks: type: string enum: - labeled - enterprise: *576 - installation: *577 - label: *595 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + label: *597 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -162115,7 +162181,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -162196,10 +162262,10 @@ webhooks: type: string enum: - locked - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -164545,7 +164611,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -164625,12 +164691,12 @@ webhooks: type: string enum: - milestoned - enterprise: *576 - milestone: *354 - number: *622 - organization: *578 - pull_request: *624 - repository: *579 + enterprise: *578 + milestone: *356 + number: *624 + organization: *580 + pull_request: *626 + repository: *581 sender: *4 required: - action @@ -164709,12 +164775,12 @@ webhooks: type: string enum: - opened - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -164795,12 +164861,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -164880,12 +164946,12 @@ webhooks: type: string enum: - reopened - enterprise: *576 - installation: *577 - number: *622 - organization: *578 - pull_request: *623 - repository: *579 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 + pull_request: *625 + repository: *581 sender: *4 required: - action @@ -165260,9 +165326,9 @@ webhooks: - start_side - side - reactions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -167492,7 +167558,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -167572,7 +167638,7 @@ webhooks: type: string enum: - deleted - comment: &626 + comment: &628 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -167865,9 +167931,9 @@ webhooks: - start_side - side - reactions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -170085,7 +170151,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -170165,11 +170231,11 @@ webhooks: type: string enum: - edited - changes: *625 - comment: *626 - enterprise: *576 - installation: *577 - organization: *578 + changes: *627 + comment: *628 + enterprise: *578 + installation: *579 + organization: *580 pull_request: type: object properties: @@ -172390,7 +172456,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *579 + repository: *581 sender: *4 required: - action @@ -172471,9 +172537,9 @@ webhooks: type: string enum: - dismissed - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -174706,7 +174772,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 review: description: The review that was affected. type: object @@ -174952,9 +175018,9 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -177068,8 +177134,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 - review: &627 + repository: *581 + review: &629 description: The review that was affected. type: object properties: @@ -177302,12 +177368,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -179654,7 +179720,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_reviewer: title: User type: @@ -179740,12 +179806,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -182099,7 +182165,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_team: title: Team description: Groups of organization members that gives permissions @@ -182294,12 +182360,12 @@ webhooks: type: string enum: - review_requested - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -184648,7 +184714,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_reviewer: title: User type: @@ -184735,12 +184801,12 @@ webhooks: type: string enum: - review_requested - enterprise: *576 - installation: *577 + enterprise: *578 + installation: *579 number: description: The pull request number. type: integer - organization: *578 + organization: *580 pull_request: title: Pull Request type: object @@ -187080,7 +187146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187264,9 +187330,9 @@ webhooks: type: string enum: - submitted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -189502,8 +189568,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 - review: *627 + repository: *581 + review: *629 sender: *4 required: - action @@ -189583,9 +189649,9 @@ webhooks: type: string enum: - resolved - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -191716,7 +191782,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 sender: *4 thread: type: object @@ -192108,9 +192174,9 @@ webhooks: type: string enum: - unresolved - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 pull_request: title: Simple Pull Request type: object @@ -194224,7 +194290,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *579 + repository: *581 sender: *4 thread: type: object @@ -194618,10 +194684,10 @@ webhooks: type: string before: type: string - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -196956,7 +197022,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -197038,11 +197104,11 @@ webhooks: type: string enum: - unassigned - assignee: *628 - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + assignee: *630 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -199392,7 +199458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -199471,11 +199537,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *576 - installation: *577 - label: *595 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + label: *597 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -201814,7 +201880,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -201895,10 +201961,10 @@ webhooks: type: string enum: - unlocked - enterprise: *576 - installation: *577 - number: *622 - organization: *578 + enterprise: *578 + installation: *579 + number: *624 + organization: *580 pull_request: title: Pull Request type: object @@ -204227,7 +204293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *579 + repository: *581 sender: *4 required: - action @@ -204430,7 +204496,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *576 + enterprise: *578 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204525,8 +204591,8 @@ webhooks: - url - author - committer - installation: *577 - organization: *578 + installation: *579 + organization: *580 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205114,9 +205180,9 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 registry_package: type: object properties: @@ -205593,7 +205659,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *610 + items: *612 summary: type: string tag_name: @@ -205649,7 +205715,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -205727,9 +205793,9 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 registry_package: type: object properties: @@ -206041,7 +206107,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *610 + items: *612 summary: type: string tag_name: @@ -206091,7 +206157,7 @@ webhooks: - owner - package_version - registry - repository: *579 + repository: *581 sender: *4 required: - action @@ -206168,10 +206234,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - release: &629 + enterprise: *578 + installation: *579 + organization: *580 + release: &631 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206487,7 +206553,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *579 + repository: *581 sender: *4 required: - action @@ -206564,11 +206630,11 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -206676,11 +206742,11 @@ webhooks: type: boolean required: - to - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -206758,9 +206824,9 @@ webhooks: type: string enum: - prereleased - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207081,7 +207147,7 @@ webhooks: - string - 'null' format: uri - repository: *579 + repository: *581 sender: *4 required: - action @@ -207157,10 +207223,10 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - release: &630 + enterprise: *578 + installation: *579 + organization: *580 + release: &632 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207478,7 +207544,7 @@ webhooks: - string - 'null' format: uri - repository: *579 + repository: *581 sender: *4 required: - action @@ -207554,11 +207620,11 @@ webhooks: type: string enum: - released - enterprise: *576 - installation: *577 - organization: *578 - release: *629 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *631 + repository: *581 sender: *4 required: - action @@ -207634,11 +207700,11 @@ webhooks: type: string enum: - unpublished - enterprise: *576 - installation: *577 - organization: *578 - release: *630 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + release: *632 + repository: *581 sender: *4 required: - action @@ -207714,11 +207780,11 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - repository_advisory: *508 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + repository_advisory: *510 sender: *4 required: - action @@ -207794,11 +207860,11 @@ webhooks: type: string enum: - reported - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - repository_advisory: *508 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + repository_advisory: *510 sender: *4 required: - action @@ -207874,10 +207940,10 @@ webhooks: type: string enum: - archived - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -207954,10 +208020,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208035,10 +208101,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208123,10 +208189,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208241,10 +208307,10 @@ webhooks: - 'null' items: type: string - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208316,10 +208382,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 status: type: string @@ -208400,10 +208466,10 @@ webhooks: type: string enum: - privatized - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208480,10 +208546,10 @@ webhooks: type: string enum: - publicized - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208577,10 +208643,10 @@ webhooks: - name required: - repository - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -208660,10 +208726,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 sender: *4 required: @@ -208742,10 +208808,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 sender: *4 required: @@ -208824,10 +208890,10 @@ webhooks: type: string enum: - edited - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 repository_ruleset: *200 changes: type: object @@ -209135,10 +209201,10 @@ webhooks: - from required: - owner - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209216,10 +209282,10 @@ webhooks: type: string enum: - unarchived - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209297,7 +209363,7 @@ webhooks: type: string enum: - create - alert: &631 + alert: &633 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209421,10 +209487,10 @@ webhooks: type: string enum: - open - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209634,10 +209700,10 @@ webhooks: type: string enum: - dismissed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209715,11 +209781,11 @@ webhooks: type: string enum: - reopen - alert: *631 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *633 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -209921,10 +209987,10 @@ webhooks: enum: - fixed - open - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210002,7 +210068,7 @@ webhooks: type: string enum: - created - alert: &632 + alert: &634 type: object properties: number: *46 @@ -210079,10 +210145,21 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210163,11 +210240,11 @@ webhooks: type: string enum: - created - alert: *632 - installation: *577 - location: *633 - organization: *578 - repository: *579 + alert: *634 + installation: *579 + location: *635 + organization: *580 + repository: *581 sender: *4 required: - location @@ -210191,6 +210268,8 @@ webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -210343,6 +210422,88 @@ 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: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + sender: *4 + 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: |- @@ -210403,11 +210564,11 @@ webhooks: type: string enum: - reopened - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210485,11 +210646,11 @@ webhooks: type: string enum: - resolved - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210567,11 +210728,11 @@ webhooks: type: string enum: - validated - alert: *632 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + alert: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -210647,11 +210808,11 @@ webhooks: type: string enum: - published - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - security_advisory: &634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + security_advisory: &636 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210837,11 +210998,11 @@ webhooks: type: string enum: - updated - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 - security_advisory: *634 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 + security_advisory: *636 sender: *4 required: - action @@ -210914,10 +211075,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211104,10 +211265,10 @@ webhooks: type: object properties: security_and_analysis: *193 - enterprise: *576 - installation: *577 - organization: *578 - repository: *236 + enterprise: *578 + installation: *579 + organization: *580 + repository: *238 sender: *4 required: - changes @@ -211185,12 +211346,12 @@ webhooks: type: string enum: - cancelled - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: &635 + sponsorship: &637 type: object properties: created_at: @@ -211495,12 +211656,12 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - sponsorship @@ -211588,12 +211749,12 @@ webhooks: type: string required: - from - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211670,17 +211831,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &636 + effective_date: &638 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: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - sponsorship @@ -211754,7 +211915,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &637 + changes: &639 type: object properties: tier: @@ -211798,13 +211959,13 @@ webhooks: - from required: - tier - effective_date: *636 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + effective_date: *638 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211881,13 +212042,13 @@ webhooks: type: string enum: - tier_changed - changes: *637 - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + changes: *639 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - sponsorship: *635 + sponsorship: *637 required: - action - changes @@ -211961,10 +212122,10 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212048,10 +212209,10 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212480,15 +212641,15 @@ webhooks: type: - string - 'null' - enterprise: *576 + enterprise: *578 id: description: The unique identifier of the status. type: integer - installation: *577 + installation: *579 name: type: string - organization: *578 - repository: *579 + organization: *580 + repository: *581 sender: *4 sha: description: The Commit SHA. @@ -212604,9 +212765,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212696,9 +212857,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212788,9 +212949,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212880,9 +213041,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *69 - installation: *577 - organization: *578 - repository: *579 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -212959,12 +213120,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - team: &638 + team: &640 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213157,9 +213318,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -213629,7 +213790,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -213705,9 +213866,9 @@ webhooks: type: string enum: - created - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -214177,7 +214338,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -214254,9 +214415,9 @@ webhooks: type: string enum: - deleted - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -214726,7 +214887,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -214870,9 +215031,9 @@ webhooks: - from required: - permissions - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -215342,7 +215503,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - changes @@ -215420,9 +215581,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *576 - installation: *577 - organization: *578 + enterprise: *578 + installation: *579 + organization: *580 repository: title: Repository description: A git repository @@ -215892,7 +216053,7 @@ webhooks: - topics - visibility sender: *4 - team: *638 + team: *640 required: - action - team @@ -215968,10 +216129,10 @@ webhooks: type: string enum: - started - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 required: - action @@ -216044,17 +216205,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *576 + enterprise: *578 inputs: type: - object - 'null' additionalProperties: true - installation: *577 - organization: *578 + installation: *579 + organization: *580 ref: type: string - repository: *579 + repository: *581 sender: *4 workflow: type: string @@ -216136,10 +216297,10 @@ webhooks: type: string enum: - completed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: allOf: @@ -216395,7 +216556,7 @@ webhooks: type: string required: - conclusion - deployment: *374 + deployment: *376 required: - action - repository @@ -216474,10 +216635,10 @@ webhooks: type: string enum: - in_progress - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: allOf: @@ -216759,7 +216920,7 @@ webhooks: required: - status - steps - deployment: *374 + deployment: *376 required: - action - repository @@ -216838,10 +216999,10 @@ webhooks: type: string enum: - queued - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: type: object @@ -216987,7 +217148,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *374 + deployment: *376 required: - action - repository @@ -217066,10 +217227,10 @@ webhooks: type: string enum: - waiting - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 workflow_job: type: object @@ -217216,7 +217377,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *374 + deployment: *376 required: - action - repository @@ -217296,12 +217457,12 @@ webhooks: type: string enum: - completed - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object @@ -218320,12 +218481,12 @@ webhooks: type: string enum: - in_progress - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object @@ -219329,12 +219490,12 @@ webhooks: type: string enum: - requested - enterprise: *576 - installation: *577 - organization: *578 - repository: *579 + enterprise: *578 + installation: *579 + organization: *580 + repository: *581 sender: *4 - workflow: *591 + workflow: *593 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 28dad824da..c5099e601e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -30533,6 +30533,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": { @@ -31559,6 +31579,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -31688,7 +31722,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, @@ -31774,7 +31810,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -65693,6 +65731,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -66445,6 +66493,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -156289,6 +156347,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": { @@ -157315,6 +157393,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -157444,7 +157536,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, @@ -157530,7 +157624,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -468507,6 +468603,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": { @@ -468982,6 +469098,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } } @@ -469044,7 +469174,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, @@ -469063,7 +469195,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -469618,635 +469752,20 @@ "inactive", "unknown" ] - } - } - }, - "examples": { - "default": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null, - "validity": "unknown" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "404": { - "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - }, - "patch": { - "summary": "Update a secret scanning alert", - "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", - "operationId": "secret-scanning/update-alert", - "tags": [ - "secret-scanning" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "alert_number", - "in": "path", - "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", - "required": true, - "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "state" - ] - }, - "examples": { - "default": { - "value": { - "state": "resolved", - "resolution": "false_positive" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "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." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "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).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." }, - "push_protection_bypassed": { + "publicly_leaked": { "type": [ "boolean", "null" ], - "description": "Whether push protection was bypassed for the detected secret." + "description": "Whether the detected secret was publicly leaked." }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "push_protection_bypassed_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -470258,52 +469777,699 @@ "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "resolved", - "resolution": "used_in_tests", - "resolved_at": "2020-11-16T22:42:07Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, "push_protection_bypassed_by": null, + "push_protection_bypassed": false, "push_protection_bypassed_at": null, - "resolution_comment": "Example comment", - "validity": "unknown" + "resolution_comment": null, + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } } } }, - "400": { - "description": "Bad request, resolution comment is invalid or the resolution was not changed." + "304": { + "description": "Not modified" }, "404": { "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, - "422": { - "description": "State does not match the resolution or resolution comment" - }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "secret-scanning" + } + }, + "patch": { + "summary": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "operationId": "secret-scanning/update-alert", + "tags": [ + "secret-scanning" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "required": true, + "schema": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolution_comment": { + "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "state" + ] + }, + "examples": { + "default": { + "value": { + "state": "resolved", + "resolution": "false_positive" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + }, + "created_at": { + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] + }, + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "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." + }, + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "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).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + } + } + }, + "examples": { + "default": { + "value": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "state": "resolved", + "resolution": "used_in_tests", + "resolved_at": "2020-11-16T22:42:07Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "push_protection_bypassed": false, + "push_protection_bypassed_by": null, + "push_protection_bypassed_at": null, + "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." + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "422": { + "description": "State does not match the resolution or resolution comment" + }, "503": { "description": "Service unavailable", "content": { @@ -1242507,205 +1242673,2185 @@ "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", + "null" + ] + }, + "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "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", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 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", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "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", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + "\"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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", - "null" - ] - }, - "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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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": { @@ -1244582,7 +1246728,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1244608,13 +1246753,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": [ { @@ -1244679,15 +1246824,187 @@ "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", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], + "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).\"", @@ -1246562,6 +1248879,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1246577,21 +1248895,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" }, @@ -1246658,13 +1248974,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": { @@ -1246675,6 +1248991,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1246694,6 +1249013,12 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": [ + "string", + "null" + ] + }, "dismiss_reason": { "type": "string" }, @@ -1246793,6 +1249118,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1246834,7 +1249162,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1248737,11 +1251065,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" }, @@ -1248808,13 +1251136,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": { @@ -1248825,9 +1251153,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1248847,12 +1251172,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": [ - "string", - "null" - ] - }, "dismiss_reason": { "type": "string" }, @@ -1248952,9 +1251271,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1248996,7 +1251312,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1250899,11 +1253215,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" }, @@ -1250970,13 +1253286,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": { @@ -1251146,6 +1253462,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1253049,13 +1255366,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": [ { @@ -1253120,185 +1255437,485 @@ "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": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", + "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": [ - "object", + "string", "null" ], - "required": [ - "login", - "id" + "description": "The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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" + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" ] - }, - "url": { - "type": "string", - "format": "uri" } - } - }, - "external_identifier": { - "type": "string" + ] }, - "external_reference": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "uri" - }, - "fix_reason": { - "type": "string" + "description": "An optional comment to resolve an alert." }, - "fixed_at": { + "secret_type": { "type": "string", - "format": "date-time" + "description": "The type of secret that secret scanning detected." }, - "fixed_in": { - "type": "string" + "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).\"" }, - "ghsa_id": { - "type": "string" + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "id": { - "type": "integer" + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." }, - "node_id": { - "type": "string" + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] }, - "number": { - "type": "integer" + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1255177,8 +1257794,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1255192,21 +1257808,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": [ { @@ -1255271,7 +1257888,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1255736,98 +1258353,22 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "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", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { + "publicly_leaked": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] + "description": "Whether the detected secret was publicly leaked." }, - "updated_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1255854,6 +1258395,354 @@ "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.", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", @@ -1257612,10 +1260501,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" + } + } } } } @@ -1257627,8 +1260691,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1257637,13 +1260702,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": [ { @@ -1257708,13 +1260773,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": { @@ -1258173,9 +1261238,113 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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).\"", @@ -1258201,354 +1261370,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.", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", @@ -1260307,183 +1263128,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" - } - } } } } @@ -1260495,9 +1263143,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1261042,6 +1263689,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1263479,6 +1266140,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1265916,6 +1268591,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 1754aebd88..4ddc35b92a 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &250 + type: &252 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &551 + - &553 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1739,7 +1739,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &561 + schema: &563 title: Scim Error description: Scim Error type: object @@ -10018,7 +10018,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &358 + instances_url: &360 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10051,7 +10051,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &359 + dismissed_reason: &361 type: - string - 'null' @@ -10062,14 +10062,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &360 + dismissed_comment: &362 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &361 + rule: &363 type: object properties: id: @@ -10130,7 +10130,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &362 + tool: &364 type: object properties: name: *66 @@ -10141,15 +10141,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *67 - most_recent_instance: &363 + most_recent_instance: &365 type: object properties: - ref: &356 + ref: &358 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &369 + analysis_key: &371 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10160,7 +10160,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &370 + category: &372 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11931,7 +11931,7 @@ paths: - development - runtime - - security_advisory: &407 + security_advisory: &409 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12166,7 +12166,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: &408 + auto_dismissed_at: &410 type: - string - 'null' @@ -12654,6 +12654,24 @@ paths: required: false schema: type: string + - &248 + 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 + - &249 + 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 @@ -12661,7 +12679,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 type: object properties: number: *70 @@ -12677,14 +12695,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &544 + state: &546 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: &545 + resolution: &547 type: - string - 'null' @@ -12749,8 +12767,19 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. examples: - default: &249 + default: &251 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -12870,6 +12899,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 @@ -12952,6 +12983,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *37 '404': *6 @@ -12983,7 +13016,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &253 type: object properties: total_minutes_used: @@ -13053,7 +13086,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &252 + default: &254 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13091,7 +13124,7 @@ paths: description: Success content: application/json: - schema: &253 + schema: &255 type: object properties: total_advanced_security_committers: @@ -13154,7 +13187,7 @@ paths: required: - repositories examples: - default: &254 + default: &256 value: total_advanced_security_committers: 2 total_count: 2 @@ -13397,7 +13430,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &257 type: object properties: total_gigabytes_bandwidth_used: @@ -13415,7 +13448,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &256 + default: &258 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13447,7 +13480,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &259 type: object properties: days_left_in_billing_cycle: @@ -13465,7 +13498,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &258 + default: &260 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14009,7 +14042,7 @@ paths: milestone: anyOf: - type: 'null' - - &395 + - &397 title: Milestone description: A collection of related issues and pull requests. @@ -14259,7 +14292,7 @@ paths: - author_association - created_at - updated_at - comment: &454 + comment: &456 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14827,7 +14860,7 @@ paths: url: type: string format: uri - user: &600 + user: &602 title: Public User description: Public User type: object @@ -18158,14 +18191,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: - - &278 + - &280 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &279 + - &281 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18236,7 +18269,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &292 + '301': &294 description: Moved permanently content: application/json: @@ -18258,7 +18291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &482 + - &484 name: all description: If `true`, show notifications marked as read. in: query @@ -18266,7 +18299,7 @@ paths: schema: type: boolean default: false - - &483 + - &485 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18276,7 +18309,7 @@ paths: type: boolean default: false - *88 - - &484 + - &486 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: @@ -18802,7 +18835,7 @@ paths: - url - subscription_url examples: - default: &485 + default: &487 value: - id: '1' repository: @@ -19355,7 +19388,7 @@ paths: type: array items: *50 examples: - default: &617 + default: &619 value: - login: github id: 1 @@ -19681,6 +19714,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -20306,7 +20349,7 @@ paths: type: integer repository_cache_usages: type: array - items: &297 + items: &299 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20560,7 +20603,7 @@ paths: type: array items: *55 examples: - default: &611 + default: &613 value: total_count: 1 repositories: @@ -21328,7 +21371,7 @@ paths: type: array items: *132 examples: - default: &603 + default: &605 value: total_count: 1 repositories: @@ -22370,7 +22413,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &319 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22405,7 +22448,7 @@ paths: - key_id - key examples: - default: &318 + default: &320 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22816,7 +22859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *114 - - &302 + - &304 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)." @@ -23424,7 +23467,7 @@ paths: repository_id: type: integer examples: - default: &331 + default: &333 value: attestations: - bundle: @@ -23739,7 +23782,7 @@ paths: be returned. in: query required: false - schema: &357 + schema: &359 type: string description: Severity of a code scanning alert. enum: @@ -24915,7 +24958,7 @@ paths: machine: anyOf: - type: 'null' - - &383 + - &385 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25867,7 +25910,7 @@ paths: - updated_at - visibility examples: - default: &384 + default: &386 value: total_count: 2 secrets: @@ -25905,7 +25948,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25940,7 +25983,7 @@ paths: - key_id - key examples: - default: &386 + default: &388 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25972,7 +26015,7 @@ paths: application/json: schema: *164 examples: - default: &388 + default: &390 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27674,7 +27717,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &413 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27693,7 +27736,7 @@ paths: - key_id - key examples: - default: &412 + default: &414 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28275,7 +28318,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28365,7 +28408,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &274 + default: &276 value: group_id: '123' group_name: Octocat admins @@ -28420,7 +28463,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28460,7 +28503,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &272 + default: &274 value: groups: - group_id: '123' @@ -29270,7 +29313,7 @@ paths: application/json: schema: *20 examples: - default: &450 + default: &452 value: id: 1 account: @@ -29498,7 +29541,7 @@ paths: required: true content: application/json: - schema: &451 + schema: &453 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30118,7 +30161,7 @@ paths: application/json: schema: *202 examples: - default: &382 + default: &384 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31353,7 +31396,7 @@ paths: parameters: - *114 - *208 - - &616 + - &618 name: repo_name description: repo_name parameter in: path @@ -32629,7 +32672,7 @@ paths: - nuget - container - *114 - - &618 + - &620 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32670,7 +32713,7 @@ paths: default: *214 '403': *27 '401': *23 - '400': &620 + '400': &622 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34035,7 +34078,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &289 + '410': &291 description: Gone content: application/json: @@ -34931,7 +34974,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &293 title: Full Repository description: Full Repository type: object @@ -35396,7 +35439,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &401 + code_of_conduct: &403 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -35510,7 +35553,7 @@ paths: - network_count - subscribers_count examples: - default: &293 + default: &295 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36063,7 +36106,7 @@ paths: - *114 - *17 - *18 - - &531 + - &533 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36347,7 +36390,7 @@ paths: type: object description: A repository rule. oneOf: - - &513 + - &515 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36359,7 +36402,7 @@ paths: type: string enum: - creation - - &514 + - &516 title: update description: Only allow users with bypass permission to update matching refs. @@ -36380,7 +36423,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &516 + - &518 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36392,7 +36435,7 @@ paths: type: string enum: - deletion - - &517 + - &519 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36404,7 +36447,7 @@ paths: type: string enum: - required_linear_history - - &518 + - &520 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -36482,7 +36525,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &519 + - &521 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -36506,7 +36549,7 @@ paths: type: string required: - required_deployment_environments - - &520 + - &522 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -36518,7 +36561,7 @@ paths: type: string enum: - required_signatures - - &521 + - &523 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -36564,7 +36607,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &522 + - &524 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -36612,7 +36655,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &523 + - &525 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -36624,7 +36667,7 @@ paths: type: string enum: - non_fast_forward - - &524 + - &526 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -36660,7 +36703,7 @@ paths: required: - operator - pattern - - &525 + - &527 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -36696,7 +36739,7 @@ paths: required: - operator - pattern - - &526 + - &528 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -36732,7 +36775,7 @@ paths: required: - operator - pattern - - &527 + - &529 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -36768,7 +36811,7 @@ paths: required: - operator - pattern - - &528 + - &530 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -36894,7 +36937,7 @@ paths: maximum: 100 required: - max_file_size - - &529 + - &531 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -36944,7 +36987,7 @@ paths: - repository_id required: - workflows - - &530 + - &532 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37181,7 +37224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *114 - - &532 + - &534 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 @@ -37197,7 +37240,7 @@ paths: in: query schema: type: integer - - &533 + - &535 name: time_period description: |- The time period to filter by. @@ -37213,14 +37256,14 @@ paths: - week - month default: day - - &534 + - &536 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 - - &535 + - &537 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -37240,7 +37283,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &538 title: Rule Suites description: Response type: array @@ -37296,7 +37339,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &537 + default: &539 value: - id: 21 actor_id: 12 @@ -37340,7 +37383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *114 - - &538 + - &540 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37356,7 +37399,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &541 title: Rule Suite description: Response type: object @@ -37463,7 +37506,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &540 + default: &542 value: id: 21 actor_id: 12 @@ -37681,7 +37724,7 @@ paths: - *65 - *18 - *17 - - &542 + - &544 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 @@ -37691,7 +37734,7 @@ paths: required: false schema: type: string - - &543 + - &545 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 @@ -37702,6 +37745,8 @@ paths: schema: type: string - *247 + - *248 + - *249 responses: '200': description: Response @@ -37709,9 +37754,9 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 headers: Link: *37 '404': *6 @@ -37781,7 +37826,7 @@ paths: application/json: schema: type: array - items: &549 + items: &551 description: A repository security advisory. type: object properties: @@ -38025,7 +38070,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 credits_detailed: type: - array @@ -38036,7 +38081,7 @@ paths: type: object properties: user: *4 - type: *250 + type: *252 state: type: string description: The state of the user's acceptance of the @@ -38100,7 +38145,7 @@ paths: - private_fork additionalProperties: false examples: - default: &550 + default: &552 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38574,9 +38619,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38608,9 +38653,9 @@ paths: description: Success content: application/json: - schema: *253 + schema: *255 examples: - default: *254 + default: *256 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38638,9 +38683,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38668,9 +38713,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38706,7 +38751,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &282 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -38758,7 +38803,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &281 + default: &283 value: groups: - group_id: '123' @@ -38970,7 +39015,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &261 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39350,7 +39395,7 @@ paths: - repos_count - organization examples: - default: &260 + default: &262 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39427,9 +39472,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -39514,16 +39559,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '201': description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 '422': *15 '403': *27 @@ -39593,7 +39638,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39704,7 +39749,7 @@ paths: - updated_at - url examples: - default: &590 + default: &592 value: - author: login: octocat @@ -39813,9 +39858,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &262 + default: &264 value: author: login: octocat @@ -39889,7 +39934,7 @@ paths: parameters: - *114 - *210 - - &263 + - &265 name: discussion_number description: The number that identifies the discussion. in: path @@ -39901,9 +39946,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39927,7 +39972,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: false content: @@ -39950,9 +39995,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &591 + default: &593 value: author: login: octocat @@ -40024,7 +40069,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 responses: '204': description: Response @@ -40052,7 +40097,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 - *65 - *17 - *18 @@ -40063,7 +40108,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40143,7 +40188,7 @@ paths: - updated_at - url examples: - default: &592 + default: &594 value: - author: login: octocat @@ -40213,7 +40258,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: true content: @@ -40235,9 +40280,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &265 + default: &267 value: author: login: octocat @@ -40305,8 +40350,8 @@ paths: parameters: - *114 - *210 - - *263 - - &266 + - *265 + - &268 name: comment_number description: The number that identifies the comment. in: path @@ -40318,9 +40363,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40344,8 +40389,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 requestBody: required: true content: @@ -40367,9 +40412,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &593 + default: &595 value: author: login: octocat @@ -40435,8 +40480,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 responses: '204': description: Response @@ -40464,8 +40509,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 - 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. @@ -40491,7 +40536,7 @@ paths: application/json: schema: type: array - items: &267 + items: &269 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40535,7 +40580,7 @@ paths: - content - created_at examples: - default: &269 + default: &271 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40587,8 +40632,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 requestBody: required: true content: @@ -40621,9 +40666,9 @@ paths: team discussion comment content: application/json: - schema: *267 + schema: *269 examples: - default: &268 + default: &270 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40652,9 +40697,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40679,9 +40724,9 @@ paths: parameters: - *114 - *210 - - *263 - - *266 - - &270 + - *265 + - *268 + - &272 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40715,7 +40760,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 - 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. @@ -40741,9 +40786,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -40771,7 +40816,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: true content: @@ -40803,16 +40848,16 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40837,8 +40882,8 @@ paths: parameters: - *114 - *210 - - *263 - - *270 + - *265 + - *272 responses: '204': description: Response @@ -40868,9 +40913,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40914,9 +40959,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41057,7 +41102,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &277 title: Team Membership description: Team Membership type: object @@ -41085,7 +41130,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &594 + response-if-user-is-a-team-maintainer: &596 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41148,9 +41193,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-users-membership-with-team-is-now-pending: &595 + response-if-users-membership-with-team-is-now-pending: &597 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41224,7 +41269,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Team Project description: A team's access to a project. type: object @@ -41293,7 +41338,7 @@ paths: - updated_at - permissions examples: - default: &596 + default: &598 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41356,7 +41401,7 @@ paths: parameters: - *114 - *210 - - &277 + - &279 name: project_id description: The unique identifier of the project. in: path @@ -41368,9 +41413,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &597 + default: &599 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41432,7 +41477,7 @@ paths: parameters: - *114 - *210 - - *277 + - *279 requestBody: required: false content: @@ -41499,7 +41544,7 @@ paths: parameters: - *114 - *210 - - *277 + - *279 responses: '204': description: Response @@ -41567,14 +41612,14 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &598 + schema: &600 title: Team Repository description: A team's access to a repository. type: object @@ -42217,8 +42262,8 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -42265,8 +42310,8 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -42299,9 +42344,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42367,7 +42412,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -42412,7 +42457,7 @@ paths: type: array items: *198 examples: - response-if-child-teams-exist: &599 + response-if-child-teams-exist: &601 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42536,7 +42581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &282 + - &284 name: card_id description: The unique identifier of the card. in: path @@ -42548,7 +42593,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &285 title: Project Card description: Project cards represent a scope of work. type: object @@ -42623,7 +42668,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &286 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42673,7 +42718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *282 + - *284 requestBody: required: false content: @@ -42703,9 +42748,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 '304': *35 '403': *27 '401': *23 @@ -42726,7 +42771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *282 + - *284 responses: '204': description: Response @@ -42764,7 +42809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *282 + - *284 requestBody: required: true content: @@ -42871,7 +42916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &285 + - &287 name: column_id description: The unique identifier of the column. in: path @@ -42883,7 +42928,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &288 title: Project Column description: Project columns contain cards of work. type: object @@ -42937,7 +42982,7 @@ paths: - created_at - updated_at examples: - default: &287 + default: &289 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42966,7 +43011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *285 + - *287 requestBody: required: true content: @@ -42991,9 +43036,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 '304': *35 '403': *27 '401': *23 @@ -43012,7 +43057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *285 + - *287 responses: '204': description: Response @@ -43035,7 +43080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *285 + - *287 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43056,7 +43101,7 @@ paths: application/json: schema: type: array - items: *283 + items: *285 examples: default: value: @@ -43109,7 +43154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *285 + - *287 requestBody: required: true content: @@ -43153,9 +43198,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 '304': *35 '403': *27 '401': *23 @@ -43205,7 +43250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *285 + - *287 requestBody: required: true content: @@ -43262,7 +43307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *277 + - *279 responses: '200': description: Response @@ -43270,7 +43315,7 @@ paths: application/json: schema: *226 examples: - default: &288 + default: &290 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43323,7 +43368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *277 + - *279 requestBody: required: false content: @@ -43374,7 +43419,7 @@ paths: application/json: schema: *226 examples: - default: *288 + default: *290 '404': description: Not Found if the authenticated user does not have access to the project @@ -43395,7 +43440,7 @@ paths: items: type: string '401': *23 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -43413,7 +43458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *277 + - *279 responses: '204': description: Delete Success @@ -43434,7 +43479,7 @@ paths: items: type: string '401': *23 - '410': *289 + '410': *291 '404': *6 x-github: githubCloudOnly: false @@ -43457,7 +43502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *277 + - *279 - 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 @@ -43509,7 +43554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *277 + - *279 - *154 requestBody: required: false @@ -43559,7 +43604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *277 + - *279 - *154 responses: '204': @@ -43588,7 +43633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *277 + - *279 - *154 responses: '200': @@ -43653,7 +43698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *277 + - *279 - *17 - *18 responses: @@ -43663,7 +43708,7 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: default: value: @@ -43695,7 +43740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *277 + - *279 requestBody: required: true content: @@ -43719,7 +43764,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -43780,7 +43825,7 @@ paths: resources: type: object properties: - core: &290 + core: &292 title: Rate Limit type: object properties: @@ -43797,19 +43842,19 @@ paths: - remaining - reset - used - graphql: *290 - search: *290 - code_search: *290 - source_import: *290 - integration_manifest: *290 - code_scanning_upload: *290 - actions_runner_registration: *290 - scim: *290 - dependency_snapshots: *290 + graphql: *292 + search: *292 + code_search: *292 + source_import: *292 + integration_manifest: *292 + code_scanning_upload: *292 + actions_runner_registration: *292 + scim: *292 + dependency_snapshots: *292 required: - core - search - rate: *290 + rate: *292 required: - rate - resources @@ -43908,14 +43953,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *291 + schema: *293 examples: default-response: summary: Default response @@ -44420,7 +44465,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *292 + '301': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44438,8 +44483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -44686,10 +44731,10 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 - '307': &294 + default: *295 + '307': &296 description: Temporary Redirect content: application/json: @@ -44718,8 +44763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -44741,7 +44786,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': *294 + '307': *296 '404': *6 x-github: githubCloudOnly: false @@ -44764,11 +44809,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - - &309 + - &311 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44791,7 +44836,7 @@ paths: type: integer artifacts: type: array - items: &295 + items: &297 title: Artifact description: An artifact type: object @@ -44877,7 +44922,7 @@ paths: - expires_at - updated_at examples: - default: &310 + default: &312 value: total_count: 2 artifacts: @@ -44936,9 +44981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *278 - - *279 - - &296 + - *280 + - *281 + - &298 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44950,7 +44995,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: default: value: @@ -44987,9 +45032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *278 - - *279 - - *296 + - *280 + - *281 + - *298 responses: '204': description: Response @@ -45013,9 +45058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *278 - - *279 - - *296 + - *280 + - *281 + - *298 - name: archive_format in: path required: true @@ -45029,7 +45074,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': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45052,14 +45097,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: default: value: @@ -45085,11 +45130,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: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - - &298 + - &300 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 @@ -45123,7 +45168,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &301 title: Repository actions caches description: Repository actions caches type: object @@ -45173,7 +45218,7 @@ paths: - total_count - actions_caches examples: - default: &300 + default: &302 value: total_count: 1 actions_caches: @@ -45205,23 +45250,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: - - *278 - - *279 + - *280 + - *281 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *298 + - *300 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45241,8 +45286,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: - - *278 - - *279 + - *280 + - *281 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -45273,9 +45318,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: - - *278 - - *279 - - &301 + - *280 + - *281 + - &303 name: job_id description: The unique identifier of the job. in: path @@ -45287,7 +45332,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Job description: Information of a job execution in a workflow run type: object @@ -45634,9 +45679,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: - - *278 - - *279 - - *301 + - *280 + - *281 + - *303 responses: '302': description: Response @@ -45664,9 +45709,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: - - *278 - - *279 - - *301 + - *280 + - *281 + - *303 requestBody: required: false content: @@ -45712,8 +45757,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Status response @@ -45763,8 +45808,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -45827,8 +45872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -45846,7 +45891,7 @@ paths: type: integer secrets: type: array - items: &315 + items: &317 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45867,7 +45912,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &318 value: total_count: 2 secrets: @@ -45900,9 +45945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *278 - - *279 - - *302 + - *280 + - *281 + - *304 - *18 responses: '200': @@ -45919,7 +45964,7 @@ paths: type: integer variables: type: array - items: &319 + items: &321 title: Actions Variable type: object properties: @@ -45953,7 +45998,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &322 value: total_count: 2 variables: @@ -45986,8 +46031,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -45996,7 +46041,7 @@ paths: schema: type: object properties: - enabled: &303 + enabled: &305 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -46029,8 +46074,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -46041,7 +46086,7 @@ paths: schema: type: object properties: - enabled: *303 + enabled: *305 allowed_actions: *40 required: - enabled @@ -46072,14 +46117,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &304 + schema: &306 type: object properties: access_level: @@ -46097,7 +46142,7 @@ paths: required: - access_level examples: - default: &305 + default: &307 value: access_level: organization x-github: @@ -46122,15 +46167,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 responses: '204': description: Response @@ -46154,8 +46199,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46186,8 +46231,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -46219,8 +46264,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46249,8 +46294,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Success response @@ -46290,8 +46335,8 @@ paths: in: query schema: type: string - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -46335,8 +46380,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46368,8 +46413,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -46442,8 +46487,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: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -46479,8 +46524,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: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -46510,8 +46555,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': @@ -46541,8 +46586,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '204': @@ -46568,8 +46613,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': *58 @@ -46594,8 +46639,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: - - *278 - - *279 + - *280 + - *281 - *52 requestBody: required: true @@ -46644,8 +46689,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: - - *278 - - *279 + - *280 + - *281 - *52 requestBody: required: true @@ -46695,8 +46740,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': *139 @@ -46726,8 +46771,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: - - *278 - - *279 + - *280 + - *281 - *52 - *140 responses: @@ -46757,9 +46802,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: - - *278 - - *279 - - &323 + - *280 + - *281 + - &325 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. @@ -46767,7 +46812,7 @@ paths: required: false schema: type: string - - &324 + - &326 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46775,7 +46820,7 @@ paths: required: false schema: type: string - - &325 + - &327 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46784,7 +46829,7 @@ paths: required: false schema: type: string - - &326 + - &328 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 @@ -46811,7 +46856,7 @@ paths: - pending - *17 - *18 - - &327 + - &329 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)." @@ -46820,7 +46865,7 @@ paths: schema: type: string format: date-time - - &306 + - &308 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46829,13 +46874,13 @@ paths: schema: type: boolean default: false - - &328 + - &330 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &329 + - &331 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46858,7 +46903,7 @@ paths: type: integer workflow_runs: type: array - items: &307 + items: &309 title: Workflow Run description: An invocation of a workflow type: object @@ -46975,7 +47020,7 @@ paths: type: - array - 'null' - items: &348 + items: &350 title: Pull Request Minimal type: object properties: @@ -47102,7 +47147,7 @@ paths: head_commit: anyOf: - type: 'null' - - &352 + - &354 title: Simple Commit description: A commit. type: object @@ -47217,7 +47262,7 @@ paths: - workflow_url - pull_requests examples: - default: &330 + default: &332 value: total_count: 1 workflow_runs: @@ -47453,24 +47498,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *278 - - *279 - - &308 + - *280 + - *281 + - &310 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *306 + - *308 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &311 + default: &313 value: id: 30433642 name: Build @@ -47711,9 +47756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '204': description: Response @@ -47736,9 +47781,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -47866,9 +47911,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '201': description: Response @@ -47901,12 +47946,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 - *17 - *18 - - *309 + - *311 responses: '200': description: Response @@ -47922,9 +47967,9 @@ paths: type: integer artifacts: type: array - items: *295 + items: *297 examples: - default: *310 + default: *312 headers: Link: *37 x-github: @@ -47948,25 +47993,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *278 - - *279 - - *308 - - &312 + - *280 + - *281 + - *310 + - &314 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *306 + - *308 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47989,10 +48034,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: - - *278 - - *279 - - *308 - - *312 + - *280 + - *281 + - *310 + - *314 - *17 - *18 responses: @@ -48010,9 +48055,9 @@ paths: type: integer jobs: type: array - items: *313 + items: *315 examples: - default: &314 + default: &316 value: total_count: 1 jobs: @@ -48125,10 +48170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *278 - - *279 - - *308 - - *312 + - *280 + - *281 + - *310 + - *314 responses: '302': description: Response @@ -48156,9 +48201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '202': description: Response @@ -48191,9 +48236,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: true content: @@ -48260,9 +48305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '202': description: Response @@ -48295,9 +48340,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 - 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 @@ -48327,9 +48372,9 @@ paths: type: integer jobs: type: array - items: *313 + items: *315 examples: - default: *314 + default: *316 headers: Link: *37 x-github: @@ -48354,9 +48399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '302': description: Response @@ -48383,9 +48428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '204': description: Response @@ -48412,9 +48457,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -48483,7 +48528,7 @@ paths: items: type: object properties: - type: &420 + type: &422 type: string description: The type of reviewer. enum: @@ -48569,9 +48614,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: true content: @@ -48621,7 +48666,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48733,7 +48778,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &418 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48789,9 +48834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: false content: @@ -48836,9 +48881,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: false content: @@ -48885,9 +48930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -49024,8 +49069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -49043,9 +49088,9 @@ paths: type: integer secrets: type: array - items: *315 + items: *317 examples: - default: *316 + default: *318 headers: Link: *37 x-github: @@ -49070,16 +49115,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49101,17 +49146,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: &433 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49137,8 +49182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -49193,8 +49238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -49220,9 +49265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *278 - - *279 - - *302 + - *280 + - *281 + - *304 - *18 responses: '200': @@ -49239,9 +49284,9 @@ paths: type: integer variables: type: array - items: *319 + items: *321 examples: - default: *320 + default: *322 headers: Link: *37 x-github: @@ -49264,8 +49309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -49317,17 +49362,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &434 + default: &436 value: name: USERNAME value: octocat @@ -49353,8 +49398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 requestBody: required: true @@ -49397,8 +49442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 responses: '204': @@ -49424,8 +49469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -49443,7 +49488,7 @@ paths: type: integer workflows: type: array - items: &321 + items: &323 title: Workflow description: A GitHub Actions workflow type: object @@ -49561,9 +49606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *278 - - *279 - - &322 + - *280 + - *281 + - &324 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49578,7 +49623,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -49611,9 +49656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49638,9 +49683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49691,9 +49736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49718,19 +49763,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: - - *278 - - *279 - - *322 - - *323 + - *280 + - *281 - *324 - *325 - *326 - - *17 - - *18 - *327 - - *306 - *328 + - *17 + - *18 - *329 + - *308 + - *330 + - *331 responses: '200': description: Response @@ -49746,9 +49791,9 @@ paths: type: integer workflow_runs: type: array - items: *307 + items: *309 examples: - default: *330 + default: *332 headers: Link: *37 x-github: @@ -49774,9 +49819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '200': description: Response @@ -49837,8 +49882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *278 - - *279 + - *280 + - *281 - *65 - *17 - *63 @@ -50006,8 +50051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -50044,8 +50089,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: - - *278 - - *279 + - *280 + - *281 - name: assignee in: path required: true @@ -50081,8 +50126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -50194,8 +50239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *63 - *64 @@ -50239,7 +50284,7 @@ paths: repository_id: type: integer examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50259,8 +50304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -50268,7 +50313,7 @@ paths: application/json: schema: type: array - items: &332 + items: &334 title: Autolink reference description: An autolink reference. type: object @@ -50322,8 +50367,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -50362,9 +50407,9 @@ paths: description: response content: application/json: - schema: *332 + schema: *334 examples: - default: &333 + default: &335 value: id: 1 key_prefix: TICKET- @@ -50395,9 +50440,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: - - *278 - - *279 - - &334 + - *280 + - *281 + - &336 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50409,9 +50454,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -50431,9 +50476,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: - - *278 - - *279 - - *334 + - *280 + - *281 + - *336 responses: '204': description: Response @@ -50457,8 +50502,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response if Dependabot is enabled @@ -50508,8 +50553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -50530,8 +50575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -50551,8 +50596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *278 - - *279 + - *280 + - *281 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50590,7 +50635,7 @@ paths: - url protected: type: boolean - protection: &336 + protection: &338 title: Branch Protection description: Branch Protection type: object @@ -50633,7 +50678,7 @@ paths: required: - contexts - checks - enforce_admins: &339 + enforce_admins: &341 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50650,7 +50695,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &341 + required_pull_request_reviews: &343 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50734,7 +50779,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &338 + restrictions: &340 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51059,9 +51104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *278 - - *279 - - &337 + - *280 + - *281 + - &339 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). @@ -51075,14 +51120,14 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &391 + commit: &393 title: Commit description: Commit type: object @@ -51121,7 +51166,7 @@ paths: author: anyOf: - type: 'null' - - &335 + - &337 title: Git User description: Metaproperties for Git author/committer information. @@ -51142,7 +51187,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 message: type: string examples: @@ -51166,7 +51211,7 @@ paths: required: - sha - url - verification: &440 + verification: &442 title: Verification type: object properties: @@ -51241,7 +51286,7 @@ paths: type: integer files: type: array - items: &403 + items: &405 title: Diff Entry description: Diff Entry type: object @@ -51335,7 +51380,7 @@ paths: - self protected: type: boolean - protection: *336 + protection: *338 protection_url: type: string format: uri @@ -51443,7 +51488,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *292 + '301': *294 '404': *6 x-github: githubCloudOnly: false @@ -51465,15 +51510,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -51667,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -51929,7 +51974,7 @@ paths: url: type: string format: uri - required_status_checks: &344 + required_status_checks: &346 title: Status Check Policy description: Status Check Policy type: object @@ -52088,7 +52133,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *338 + restrictions: *340 required_conversation_resolution: type: object properties: @@ -52200,9 +52245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52227,17 +52272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: &340 + default: &342 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52259,17 +52304,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,9 +52333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52315,17 +52360,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: &342 + default: &344 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52421,9 +52466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52521,9 +52566,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -52544,9 +52589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52573,17 +52618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: &343 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52606,17 +52651,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *343 + default: *345 '404': *6 x-github: githubCloudOnly: false @@ -52636,9 +52681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52663,17 +52708,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52699,9 +52744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52753,9 +52798,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 '422': *15 x-github: @@ -52777,9 +52822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52803,9 +52848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -52839,9 +52884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52908,9 +52953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52974,9 +53019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: content: application/json: @@ -53042,15 +53087,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -53141,9 +53186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -53166,9 +53211,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53178,7 +53223,7 @@ paths: type: array items: *5 examples: - default: &346 + default: &348 value: - id: 1 slug: octoapp @@ -53235,9 +53280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53271,7 +53316,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53292,9 +53337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53328,7 +53373,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53349,9 +53394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53385,7 +53430,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53407,9 +53452,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53439,9 +53484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -53500,9 +53545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -53561,9 +53606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: content: application/json: @@ -53622,9 +53667,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53658,9 +53703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53718,9 +53763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53778,9 +53823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53840,9 +53885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53864,7 +53909,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: default: value: @@ -53979,8 +54024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -54259,7 +54304,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54394,8 +54439,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *348 - deployment: &649 + items: *350 + deployment: &651 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54682,9 +54727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *278 - - *279 - - &350 + - *280 + - *281 + - &352 name: check_run_id description: The unique identifier of the check run. in: path @@ -54696,9 +54741,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &351 + default: &353 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54798,9 +54843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 requestBody: required: true content: @@ -55040,9 +55085,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55062,9 +55107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 - *17 - *18 responses: @@ -55176,9 +55221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 responses: '201': description: Response @@ -55222,8 +55267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -55245,7 +55290,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &353 + schema: &355 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55326,7 +55371,7 @@ paths: type: - array - 'null' - items: *348 + items: *350 app: anyOf: - type: 'null' @@ -55342,7 +55387,7 @@ paths: - string - 'null' format: date-time - head_commit: *352 + head_commit: *354 latest_check_runs_count: type: integer check_runs_url: @@ -55370,7 +55415,7 @@ paths: - check_runs_url - pull_requests examples: - default: &354 + default: &356 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55661,9 +55706,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55682,8 +55727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -55992,9 +56037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *278 - - *279 - - &355 + - *280 + - *281 + - &357 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56006,9 +56051,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56031,17 +56076,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: - - *278 - - *279 - - *355 - - &398 + - *280 + - *281 + - *357 + - &400 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &399 + - &401 name: status description: Returns check runs with the specified `status`. in: query @@ -56080,9 +56125,9 @@ paths: type: integer check_runs: type: array - items: *349 + items: *351 examples: - default: &400 + default: &402 value: total_count: 1 check_runs: @@ -56184,9 +56229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *278 - - *279 - - *355 + - *280 + - *281 + - *357 responses: '201': description: Response @@ -56219,21 +56264,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: - - *278 - - *279 + - *280 + - *281 - *155 - *156 - *18 - *17 - - &367 + - &369 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: *356 - - &368 + schema: *358 + - &370 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56264,7 +56309,7 @@ paths: be returned. in: query required: false - schema: *357 + schema: *359 responses: '200': description: Response @@ -56280,7 +56325,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *358 + instances_url: *360 state: *68 fixed_at: *79 dismissed_by: @@ -56288,11 +56333,11 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *359 - dismissed_comment: *360 - rule: *361 - tool: *362 - most_recent_instance: *363 + dismissed_reason: *361 + dismissed_comment: *362 + rule: *363 + tool: *364 + most_recent_instance: *365 required: - number - created_at @@ -56408,7 +56453,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &364 + '403': &366 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56435,9 +56480,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: - - *278 - - *279 - - &365 + - *280 + - *281 + - &367 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56451,7 +56496,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &368 type: object properties: number: *70 @@ -56459,7 +56504,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *358 + instances_url: *360 state: *68 fixed_at: *79 dismissed_by: @@ -56467,8 +56512,8 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *359 - dismissed_comment: *360 + dismissed_reason: *361 + dismissed_comment: *362 rule: type: object properties: @@ -56530,8 +56575,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *362 - most_recent_instance: *363 + tool: *364 + most_recent_instance: *365 required: - number - created_at @@ -56620,7 +56665,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -56640,9 +56685,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 requestBody: required: true content: @@ -56657,8 +56702,8 @@ paths: enum: - open - dismissed - dismissed_reason: *359 - dismissed_comment: *360 + dismissed_reason: *361 + dismissed_comment: *362 required: - state examples: @@ -56673,7 +56718,7 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: default: value: @@ -56748,7 +56793,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &373 + '403': &375 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56775,13 +56820,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 - *18 - *17 - - *367 - - *368 + - *369 + - *370 responses: '200': description: Response @@ -56789,7 +56834,7 @@ paths: application/json: schema: type: array - items: *363 + items: *365 examples: default: value: @@ -56828,7 +56873,7 @@ paths: end_column: 50 classifications: - source - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -56862,25 +56907,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: - - *278 - - *279 + - *280 + - *281 - *155 - *156 - *18 - *17 - - *368 + - *370 - 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: *356 + schema: *358 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &371 + schema: &373 type: string description: An identifier for the upload. examples: @@ -56902,23 +56947,23 @@ paths: application/json: schema: type: array - items: &372 + items: &374 type: object properties: - ref: *356 - commit_sha: &381 + ref: *358 + commit_sha: &383 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: *369 + analysis_key: *371 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *370 + category: *372 error: type: string examples: @@ -56943,8 +56988,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *371 - tool: *362 + sarif_id: *373 + tool: *364 deletable: type: boolean warning: @@ -57006,7 +57051,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57042,8 +57087,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: - - *278 - - *279 + - *280 + - *281 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57056,7 +57101,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: response: summary: application/json response @@ -57110,7 +57155,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57192,8 +57237,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: - - *278 - - *279 + - *280 + - *281 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57249,7 +57294,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *373 + '403': *375 '404': *6 '503': *81 x-github: @@ -57271,8 +57316,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -57280,7 +57325,7 @@ paths: application/json: schema: type: array - items: &374 + items: &376 title: CodeQL Database description: A CodeQL database. type: object @@ -57392,7 +57437,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': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57421,8 +57466,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: - - *278 - - *279 + - *280 + - *281 - name: language in: path description: The language of the CodeQL database. @@ -57434,7 +57479,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -57466,9 +57511,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': &405 + '302': &407 description: Found - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57496,8 +57541,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -57506,7 +57551,7 @@ paths: type: object additionalProperties: false properties: - language: &375 + language: &377 type: string description: The language targeted by the CodeQL query enum: @@ -57584,7 +57629,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &379 + schema: &381 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57594,7 +57639,7 @@ paths: description: The ID of the variant analysis. controller_repo: *80 actor: *4 - query_language: *375 + query_language: *377 query_pack_url: type: string description: The download url for the query pack. @@ -57642,7 +57687,7 @@ paths: items: type: object properties: - repository: &376 + repository: &378 title: Repository Identifier description: Repository Identifier type: object @@ -57684,7 +57729,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &380 + analysis_status: &382 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57716,7 +57761,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &377 + access_mismatch_repos: &379 type: object properties: repository_count: @@ -57731,7 +57776,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: *376 + items: *378 required: - repository_count - repositories @@ -57754,8 +57799,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *377 - over_limit_repos: *377 + no_codeql_db_repos: *379 + over_limit_repos: *379 required: - access_mismatch_repos - not_found_repos @@ -57771,7 +57816,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &378 + value: &380 summary: Default response value: id: 1 @@ -57923,10 +57968,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *378 + value: *380 repository_lists: summary: Response for a successful variant analysis submission - value: *378 + value: *380 '404': *6 '422': description: Unable to process variant analysis submission @@ -57954,8 +57999,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: - - *278 - - *279 + - *280 + - *281 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57967,9 +58012,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *378 + default: *380 '404': *6 '503': *81 x-github: @@ -57992,7 +58037,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: - - *278 + - *280 - name: repo in: path description: The name of the controller repository. @@ -58027,7 +58072,7 @@ paths: type: object properties: repository: *80 - analysis_status: *380 + analysis_status: *382 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58152,8 +58197,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -58218,7 +58263,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -58239,8 +58284,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -58310,7 +58355,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *373 + '403': *375 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58375,8 +58420,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -58384,7 +58429,7 @@ paths: schema: type: object properties: - commit_sha: *381 + commit_sha: *383 ref: type: string description: |- @@ -58444,7 +58489,7 @@ paths: schema: type: object properties: - id: *371 + id: *373 url: type: string description: The REST API URL for checking the status of the upload. @@ -58458,7 +58503,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': *373 + '403': *375 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -58481,8 +58526,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: - - *278 - - *279 + - *280 + - *281 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58530,7 +58575,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': *364 + '403': *366 '404': description: Not Found if the sarif id does not match any upload '503': *81 @@ -58555,8 +58600,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -58633,8 +58678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *278 - - *279 + - *280 + - *281 - 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 @@ -58762,8 +58807,8 @@ paths: parameters: - *17 - *18 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -59077,8 +59122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -59144,7 +59189,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59152,7 +59197,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '400': *14 '401': *23 '403': *27 @@ -59181,8 +59226,8 @@ paths: parameters: - *17 - *18 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -59246,8 +59291,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: - - *278 - - *279 + - *280 + - *281 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59284,9 +59329,9 @@ paths: type: integer machines: type: array - items: *383 + items: *385 examples: - default: &606 + default: &608 value: total_count: 2 machines: @@ -59326,8 +59371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *278 - - *279 + - *280 + - *281 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59414,8 +59459,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: - - *278 - - *279 + - *280 + - *281 - 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 @@ -59484,8 +59529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -59503,7 +59548,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59524,7 +59569,7 @@ paths: - created_at - updated_at examples: - default: *384 + default: *386 headers: Link: *37 x-github: @@ -59547,16 +59592,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59576,17 +59621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59606,8 +59651,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: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -59660,8 +59705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -59690,8 +59735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *278 - - *279 + - *280 + - *281 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59729,7 +59774,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Collaborator description: Collaborator type: object @@ -59922,8 +59967,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: - - *278 - - *279 + - *280 + - *281 - *154 responses: '204': @@ -59966,8 +60011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *278 - - *279 + - *280 + - *281 - *154 requestBody: required: false @@ -59994,7 +60039,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &453 + schema: &455 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60215,8 +60260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *278 - - *279 + - *280 + - *281 - *154 responses: '204': @@ -60246,8 +60291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *278 - - *279 + - *280 + - *281 - *154 responses: '200': @@ -60268,7 +60313,7 @@ paths: user: anyOf: - type: 'null' - - *389 + - *391 required: - permission - role_name @@ -60322,8 +60367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -60333,7 +60378,7 @@ paths: application/json: schema: type: array - items: &390 + items: &392 title: Commit Comment description: Commit Comment type: object @@ -60391,7 +60436,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60450,17 +60495,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *390 + schema: *392 examples: - default: &394 + default: &396 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60517,8 +60562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -60541,7 +60586,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *392 examples: default: value: @@ -60592,8 +60637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -60615,8 +60660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -60643,9 +60688,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -60666,8 +60711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -60700,16 +60745,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -60731,10 +60776,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -60782,8 +60827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *278 - - *279 + - *280 + - *281 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60839,9 +60884,9 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: - default: &500 + default: &502 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60934,9 +60979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *278 - - *279 - - &392 + - *280 + - *281 + - &394 name: commit_sha description: The SHA of the commit. in: path @@ -61008,9 +61053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 - *17 - *18 responses: @@ -61020,9 +61065,9 @@ paths: application/json: schema: type: array - items: *390 + items: *392 examples: - default: *393 + default: *395 headers: Link: *37 x-github: @@ -61050,9 +61095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 requestBody: required: true content: @@ -61087,9 +61132,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *392 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61117,9 +61162,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: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 - *17 - *18 responses: @@ -61129,7 +61174,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Pull Request Simple description: Pull Request Simple type: object @@ -61249,7 +61294,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 active_lock_reason: type: - string @@ -61348,7 +61393,7 @@ paths: _links: type: object properties: - comments: &396 + comments: &398 title: Link description: Hypermedia Link type: object @@ -61357,13 +61402,13 @@ paths: type: string required: - href - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -61374,7 +61419,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &493 + auto_merge: &495 title: Auto merge description: The status of auto merging a pull request. type: @@ -61439,7 +61484,7 @@ paths: - author_association - auto_merge examples: - default: &492 + default: &494 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61975,11 +62020,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 - - &397 + - &399 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)" @@ -61994,9 +62039,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &479 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62108,11 +62153,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: - - *278 - - *279 - - *397 - - *398 + - *280 + - *281 - *399 + - *400 + - *401 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62146,9 +62191,9 @@ paths: type: integer check_runs: type: array - items: *349 + items: *351 examples: - default: *400 + default: *402 headers: Link: *37 x-github: @@ -62173,9 +62218,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: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62183,7 +62228,7 @@ paths: schema: type: integer example: 1 - - *398 + - *400 - *17 - *18 responses: @@ -62201,7 +62246,7 @@ paths: type: integer check_suites: type: array - items: *353 + items: *355 examples: default: value: @@ -62401,9 +62446,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: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - *17 - *18 responses: @@ -62605,9 +62650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - *17 - *18 responses: @@ -62617,7 +62662,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Status description: The status of a commit. type: object @@ -62698,7 +62743,7 @@ paths: site_admin: false headers: Link: *37 - '301': *292 + '301': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62726,8 +62771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -62760,11 +62805,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *401 + - *403 code_of_conduct_file: anyOf: - type: 'null' - - &402 + - &404 title: Community Health File type: object properties: @@ -62784,19 +62829,19 @@ paths: contributing: anyOf: - type: 'null' - - *402 + - *404 readme: anyOf: - type: 'null' - - *402 + - *404 issue_template: anyOf: - type: 'null' - - *402 + - *404 pull_request_template: anyOf: - type: 'null' - - *402 + - *404 required: - code_of_conduct - code_of_conduct_file @@ -62924,8 +62969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 - name: basehead @@ -62973,8 +63018,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *391 - merge_base_commit: *391 + base_commit: *393 + merge_base_commit: *393 status: type: string enum: @@ -62998,10 +63043,10 @@ paths: - 6 commits: type: array - items: *391 + items: *393 files: type: array - items: *403 + items: *405 required: - url - html_url @@ -63284,8 +63329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -63436,7 +63481,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &404 + response-if-content-is-a-file: &406 summary: Response if content is a file value: type: file @@ -63573,7 +63618,7 @@ paths: - size - type - url - - &505 + - &507 title: Content File description: Content File type: object @@ -63791,7 +63836,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *404 + response-if-content-is-a-file: *406 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63860,7 +63905,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *405 + '302': *407 '304': *35 x-github: githubCloudOnly: false @@ -63883,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -63979,7 +64024,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &408 title: File Commit description: File Commit type: object @@ -64130,7 +64175,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: example-for-creating-a-file: value: @@ -64183,7 +64228,7 @@ paths: schema: oneOf: - *3 - - &435 + - &437 description: Repository rule violation was detected type: object properties: @@ -64204,7 +64249,7 @@ paths: items: type: object properties: - placeholder_id: &547 + placeholder_id: &549 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64236,8 +64281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -64298,7 +64343,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -64352,8 +64397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *278 - - *279 + - *280 + - *281 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64477,8 +64522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *173 - *174 - *175 @@ -64519,7 +64564,7 @@ paths: application/json: schema: type: array - items: &409 + items: &411 type: object description: A Dependabot alert. properties: @@ -64554,7 +64599,7 @@ paths: - development - runtime - - security_advisory: *407 + security_advisory: *409 security_vulnerability: *73 url: *74 html_url: *75 @@ -64585,7 +64630,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: *408 + auto_dismissed_at: *410 required: - number - state @@ -64812,9 +64857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *278 - - *279 - - &410 + - *280 + - *281 + - &412 name: alert_number in: path description: |- @@ -64829,7 +64874,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -64939,9 +64984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *278 - - *279 - - *410 + - *280 + - *281 + - *412 requestBody: required: true content: @@ -64986,7 +65031,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -65115,8 +65160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -65134,7 +65179,7 @@ paths: type: integer secrets: type: array - items: &413 + items: &415 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65188,16 +65233,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65217,15 +65262,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -65251,8 +65296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -65305,8 +65350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -65329,8 +65374,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: - - *278 - - *279 + - *280 + - *281 - 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 @@ -65504,8 +65549,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -65728,8 +65773,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -65812,7 +65857,7 @@ paths: - version - url additionalProperties: false - metadata: &414 + metadata: &416 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65851,7 +65896,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *414 + metadata: *416 resolved: type: object description: A collection of resolved package dependencies. @@ -65865,7 +65910,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *414 + metadata: *416 relationship: type: string description: A notation of whether a dependency is requested @@ -65998,8 +66043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *278 - - *279 + - *280 + - *281 - name: sha description: The SHA recorded at creation time. in: query @@ -66040,9 +66085,9 @@ paths: application/json: schema: type: array - items: *415 + items: *417 examples: - default: *416 + default: *418 headers: Link: *37 x-github: @@ -66108,8 +66153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -66191,7 +66236,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: simple-example: summary: Simple example @@ -66264,9 +66309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *278 - - *279 - - &417 + - *280 + - *281 + - &419 name: deployment_id description: deployment_id parameter in: path @@ -66278,7 +66323,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: default: value: @@ -66343,9 +66388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 responses: '204': description: Response @@ -66367,9 +66412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 - *17 - *18 responses: @@ -66379,7 +66424,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Deployment Status description: The status of a deployment. type: object @@ -66543,9 +66588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 requestBody: required: true content: @@ -66620,9 +66665,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: &419 + default: &421 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66678,9 +66723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 - name: status_id in: path required: true @@ -66691,9 +66736,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -66718,8 +66763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -66775,8 +66820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -66794,7 +66839,7 @@ paths: - 5 environments: type: array - items: &421 + items: &423 title: Environment description: Details of a deployment environment type: object @@ -66856,7 +66901,7 @@ paths: type: string examples: - wait_timer - wait_timer: &423 + wait_timer: &425 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66898,7 +66943,7 @@ paths: items: type: object properties: - type: *420 + type: *422 reviewer: anyOf: - *4 @@ -66925,7 +66970,7 @@ paths: - id - node_id - type - deployment_branch_policy: &424 + deployment_branch_policy: &426 type: - object - 'null' @@ -67042,9 +67087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *278 - - *279 - - &422 + - *280 + - *281 + - &424 name: environment_name in: path required: true @@ -67057,9 +67102,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &425 + default: &427 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67143,9 +67188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: false content: @@ -67155,7 +67200,7 @@ paths: - object - 'null' properties: - wait_timer: *423 + wait_timer: *425 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -67174,14 +67219,14 @@ paths: items: type: object properties: - type: *420 + type: *422 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *424 + deployment_branch_policy: *426 additionalProperties: false examples: default: @@ -67201,9 +67246,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *425 + default: *427 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67227,9 +67272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 responses: '204': description: Default response @@ -67254,9 +67299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *17 - *18 responses: @@ -67275,7 +67320,7 @@ paths: - 2 branch_policies: type: array - items: &426 + items: &428 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67336,9 +67381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: true content: @@ -67386,9 +67431,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - example-wildcard: &427 + example-wildcard: &429 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67430,10 +67475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - &428 + - *280 + - *281 + - *424 + - &430 name: branch_policy_id in: path required: true @@ -67445,9 +67490,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67466,10 +67511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - *428 + - *280 + - *281 + - *424 + - *430 requestBody: required: true content: @@ -67498,9 +67543,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67519,10 +67564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - *428 + - *280 + - *281 + - *424 + - *430 responses: '204': description: Response @@ -67547,9 +67592,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 responses: '200': description: List of deployment protection rules @@ -67566,7 +67611,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &429 + items: &431 title: Deployment protection rule description: Deployment protection rule type: object @@ -67588,7 +67633,7 @@ paths: for the environment. examples: - true - app: &430 + app: &432 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67691,9 +67736,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 requestBody: content: application/json: @@ -67714,9 +67759,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *429 + schema: *431 examples: - default: &431 + default: &433 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67751,9 +67796,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 - *18 - *17 responses: @@ -67773,7 +67818,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *430 + items: *432 examples: default: value: @@ -67808,10 +67853,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: - - *278 - - *279 - - *422 - - &432 + - *280 + - *281 + - *424 + - &434 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67823,9 +67868,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *431 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67846,10 +67891,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: - - *422 - - *279 - - *278 - - *432 + - *424 + - *281 + - *280 + - *434 responses: '204': description: Response @@ -67875,9 +67920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *17 - *18 responses: @@ -67895,9 +67940,9 @@ paths: type: integer secrets: type: array - items: *315 + items: *317 examples: - default: *316 + default: *318 headers: Link: *37 x-github: @@ -67922,17 +67967,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67954,18 +67999,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67987,9 +68032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 requestBody: required: true @@ -68047,9 +68092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 responses: '204': @@ -68075,10 +68120,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *278 - - *279 - - *422 - - *302 + - *280 + - *281 + - *424 + - *304 - *18 responses: '200': @@ -68095,9 +68140,9 @@ paths: type: integer variables: type: array - items: *319 + items: *321 examples: - default: *320 + default: *322 headers: Link: *37 x-github: @@ -68120,9 +68165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: true content: @@ -68174,18 +68219,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *145 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68206,10 +68251,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 - - *422 + - *424 requestBody: required: true content: @@ -68251,10 +68296,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 - - *422 + - *424 responses: '204': description: Response @@ -68276,8 +68321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -68354,8 +68399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *278 - - *279 + - *280 + - *281 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68514,8 +68559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -68548,9 +68593,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 '400': *14 '422': *15 '403': *27 @@ -68571,8 +68616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -68632,7 +68677,7 @@ paths: schema: oneOf: - *117 - - *435 + - *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68657,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *278 - - *279 + - *280 + - *281 - name: file_sha in: path required: true @@ -68757,8 +68802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -68867,7 +68912,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69087,15 +69132,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 responses: '200': description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -69150,9 +69195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *278 - - *279 - - &437 + - *280 + - *281 + - &439 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. @@ -69169,7 +69214,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Git Reference description: Git references within a repository type: object @@ -69245,17 +69290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 responses: '200': description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: &439 + default: &441 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69284,8 +69329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69314,9 +69359,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69342,9 +69387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 requestBody: required: true content: @@ -69373,9 +69418,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 '422': *15 '409': *119 x-github: @@ -69393,9 +69438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 responses: '204': description: Response @@ -69447,8 +69492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69515,7 +69560,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: Git Tag description: Metadata for a Git tag type: object @@ -69571,7 +69616,7 @@ paths: - sha - type - url - verification: *440 + verification: *442 required: - sha - url @@ -69581,7 +69626,7 @@ paths: - tag - message examples: - default: &442 + default: &444 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69652,8 +69697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *278 - - *279 + - *280 + - *281 - name: tag_sha in: path required: true @@ -69664,9 +69709,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 '404': *6 '409': *119 x-github: @@ -69690,8 +69735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69765,7 +69810,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &445 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69883,8 +69928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *278 - - *279 + - *280 + - *281 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69907,7 +69952,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default-response: summary: Default response @@ -69966,8 +70011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -69977,7 +70022,7 @@ paths: application/json: schema: type: array - items: &444 + items: &446 title: Webhook description: Webhooks for repositories. type: object @@ -70040,7 +70085,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &680 + last_response: &682 title: Hook Response type: object properties: @@ -70117,8 +70162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -70171,9 +70216,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: type: Repository id: 12345678 @@ -70221,17 +70266,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -70251,8 +70296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 requestBody: required: true @@ -70298,9 +70343,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '422': *15 '404': *6 x-github: @@ -70318,8 +70363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70344,8 +70389,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: - - *278 - - *279 + - *280 + - *281 - *186 responses: '200': @@ -70373,8 +70418,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: - - *278 - - *279 + - *280 + - *281 - *186 requestBody: required: false @@ -70419,8 +70464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 - *17 - *187 @@ -70457,8 +70502,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: - - *278 - - *279 + - *280 + - *281 - *186 - *16 responses: @@ -70487,8 +70532,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: - - *278 - - *279 + - *280 + - *281 - *186 - *16 responses: @@ -70512,8 +70557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70539,8 +70584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70599,14 +70644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &446 + schema: &448 title: Import description: A repository import from an external source. type: object @@ -70713,7 +70758,7 @@ paths: - html_url - authors_url examples: - default: &449 + default: &451 value: vcs: subversion use_lfs: true @@ -70729,7 +70774,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &447 + '503': &449 description: Unavailable due to service under maintenance. content: application/json: @@ -70758,8 +70803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -70807,7 +70852,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: default: value: @@ -70832,7 +70877,7 @@ paths: type: string '422': *15 '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70860,8 +70905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -70913,7 +70958,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: example-1: summary: Example 1 @@ -70961,7 +71006,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': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70984,12 +71029,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71015,9 +71060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *278 - - *279 - - &629 + - *280 + - *281 + - &631 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71031,7 +71076,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: Porter Author description: Porter Author type: object @@ -71085,7 +71130,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71110,8 +71155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *278 - - *279 + - *280 + - *281 - name: author_id in: path required: true @@ -71141,7 +71186,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -71154,7 +71199,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71178,8 +71223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71220,7 +71265,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71248,8 +71293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -71276,11 +71321,11 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *449 + default: *451 '422': *15 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71303,8 +71348,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71312,8 +71357,8 @@ paths: application/json: schema: *20 examples: - default: *450 - '301': *292 + default: *452 + '301': *294 '404': *6 x-github: githubCloudOnly: false @@ -71333,8 +71378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71347,7 +71392,7 @@ paths: properties: {} additionalProperties: false examples: - default: &452 + default: &454 value: limit: collaborators_only origin: repository @@ -71372,13 +71417,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: application/json: - schema: *451 + schema: *453 examples: default: summary: Example request body @@ -71392,7 +71437,7 @@ paths: application/json: schema: *193 examples: - default: *452 + default: *454 '409': description: Response x-github: @@ -71414,8 +71459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -71438,8 +71483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -71449,9 +71494,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: &622 + default: &624 value: - id: 1 repository: @@ -71582,8 +71627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *278 - - *279 + - *280 + - *281 - *197 requestBody: required: false @@ -71613,7 +71658,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -71744,8 +71789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *278 - - *279 + - *280 + - *281 - *197 responses: '204': @@ -71777,8 +71822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *278 - - *279 + - *280 + - *281 - 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 @@ -71991,7 +72036,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *292 + '301': *294 '422': *15 '404': *6 x-github: @@ -72020,8 +72065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -72104,7 +72149,7 @@ paths: application/json: schema: *98 examples: - default: &457 + default: &459 value: id: 1 node_id: MDU6SXNzdWUx @@ -72260,7 +72305,7 @@ paths: '422': *15 '503': *81 '404': *6 - '410': *289 + '410': *291 x-github: triggersNotification: true githubCloudOnly: false @@ -72288,8 +72333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *107 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72310,9 +72355,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: &459 + default: &461 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72370,17 +72415,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72434,8 +72479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -72458,9 +72503,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -72478,8 +72523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -72500,8 +72545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72528,9 +72573,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -72551,8 +72596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -72585,16 +72630,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -72616,10 +72661,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -72639,8 +72684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -72650,7 +72695,7 @@ paths: application/json: schema: type: array - items: &456 + items: &458 title: Issue Event description: Issue Event type: object @@ -72989,8 +73034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *278 - - *279 + - *280 + - *281 - name: event_id in: path required: true @@ -73001,7 +73046,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -73194,7 +73239,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *289 + '410': *291 '403': *27 x-github: githubCloudOnly: false @@ -73228,9 +73273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *278 - - *279 - - &458 + - *280 + - *281 + - &460 name: issue_number description: The number that identifies the issue. in: path @@ -73244,10 +73289,10 @@ paths: application/json: schema: *98 examples: - default: *457 - '301': *292 + default: *459 + '301': *294 '404': *6 - '410': *289 + '410': *291 '304': *35 x-github: githubCloudOnly: false @@ -73272,9 +73317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -73384,13 +73429,13 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 '422': *15 '503': *81 '403': *27 - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73408,9 +73453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -73438,7 +73483,7 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73454,9 +73499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: content: application/json: @@ -73483,7 +73528,7 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73505,9 +73550,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: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - name: assignee in: path required: true @@ -73547,9 +73592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *88 - *17 - *18 @@ -73560,13 +73605,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *459 + default: *461 headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73595,9 +73640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: true content: @@ -73619,16 +73664,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *289 + '410': *291 '422': *15 '404': *6 x-github: @@ -73648,9 +73693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -73664,7 +73709,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &462 + - &464 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73713,7 +73758,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &465 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73841,7 +73886,7 @@ paths: - performed_via_github_app - assignee - assigner - - &464 + - &466 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73887,7 +73932,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &467 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73933,7 +73978,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &468 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73982,7 +74027,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &469 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74024,7 +74069,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &470 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74066,7 +74111,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &471 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74122,7 +74167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &472 title: Locked Issue Event description: Locked Issue Event type: object @@ -74167,7 +74212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &473 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74228,7 +74273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &474 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74289,7 +74334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &475 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74350,7 +74395,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &476 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74443,7 +74488,7 @@ paths: color: red headers: Link: *37 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74460,9 +74505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -74472,7 +74517,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74527,7 +74572,7 @@ paths: - color - default examples: - default: &461 + default: &463 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74545,9 +74590,9 @@ paths: default: false headers: Link: *37 - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74564,9 +74609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74625,12 +74670,12 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 - '301': *292 + default: *463 + '301': *294 '404': *6 - '410': *289 + '410': *291 '422': *15 x-github: githubCloudOnly: false @@ -74647,9 +74692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74709,12 +74754,12 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 - '301': *292 + default: *463 + '301': *294 '404': *6 - '410': *289 + '410': *291 '422': *15 x-github: githubCloudOnly: false @@ -74731,15 +74776,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 responses: '204': description: Response - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74758,9 +74803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - name: name in: path required: true @@ -74773,7 +74818,7 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: default: value: @@ -74784,9 +74829,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74806,9 +74851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74837,7 +74882,7 @@ paths: '204': description: Response '403': *27 - '410': *289 + '410': *291 '404': *6 '422': *15 x-github: @@ -74855,9 +74900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 responses: '204': description: Response @@ -74879,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - 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. @@ -74907,13 +74952,13 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74931,9 +74976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: true content: @@ -74965,16 +75010,16 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -74996,10 +75041,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *278 - - *279 - - *458 - - *270 + - *280 + - *281 + - *460 + - *272 responses: '204': description: Response @@ -75019,9 +75064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -75036,8 +75081,6 @@ paths: description: Timeline Event type: object anyOf: - - *462 - - *463 - *464 - *465 - *466 @@ -75049,6 +75092,8 @@ paths: - *472 - *473 - *474 + - *475 + - *476 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75367,7 +75412,7 @@ paths: type: string comments: type: array - items: &494 + items: &496 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75605,7 +75650,7 @@ paths: type: string comments: type: array - items: *390 + items: *392 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75880,7 +75925,7 @@ paths: headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,8 +75942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -75908,7 +75953,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75972,8 +76017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76009,9 +76054,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &476 + default: &478 value: id: 1 key: ssh-rsa AAA... @@ -76044,9 +76089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *278 - - *279 - - &477 + - *280 + - *281 + - &479 name: key_id description: The unique identifier of the key. in: path @@ -76058,9 +76103,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 '404': *6 x-github: githubCloudOnly: false @@ -76078,9 +76123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *278 - - *279 - - *477 + - *280 + - *281 + - *479 responses: '204': description: Response @@ -76100,8 +76145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -76111,9 +76156,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 + default: *463 headers: Link: *37 '404': *6 @@ -76134,8 +76179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76171,9 +76216,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &478 + default: &480 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76205,8 +76250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76217,9 +76262,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *478 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -76236,8 +76281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76276,7 +76321,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -76302,8 +76347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76329,8 +76374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -76366,8 +76411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '202': *120 '403': @@ -76395,8 +76440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -76422,9 +76467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *278 - - *279 - - *367 + - *280 + - *281 + - *369 responses: '200': description: Response @@ -76571,8 +76616,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76637,8 +76682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76672,9 +76717,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *391 + schema: *393 examples: - default: *479 + default: *481 '204': description: Response when already merged '404': @@ -76699,8 +76744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76741,7 +76786,7 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: default: value: @@ -76797,8 +76842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76838,9 +76883,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &480 + default: &482 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76899,9 +76944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *278 - - *279 - - &481 + - *280 + - *281 + - &483 name: milestone_number description: The number that identifies the milestone. in: path @@ -76913,9 +76958,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *480 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -76932,9 +76977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 requestBody: required: false content: @@ -76972,9 +77017,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76990,9 +77035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 responses: '204': description: Response @@ -77013,9 +77058,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: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 - *17 - *18 responses: @@ -77025,9 +77070,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 + default: *463 headers: Link: *37 x-github: @@ -77046,12 +77091,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: - - *278 - - *279 - - *482 - - *483 - - *88 + - *280 + - *281 - *484 + - *485 + - *88 + - *486 - *17 - *18 responses: @@ -77063,7 +77108,7 @@ paths: type: array items: *110 examples: - default: *485 + default: *487 headers: Link: *37 x-github: @@ -77087,8 +77132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -77146,14 +77191,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &486 + schema: &488 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77297,7 +77342,7 @@ paths: - custom_404 - public examples: - default: &487 + default: &489 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77338,8 +77383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77394,9 +77439,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 '422': *15 '409': *119 x-github: @@ -77419,8 +77464,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77528,8 +77573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -77555,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -77566,7 +77611,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Page Build description: Page Build type: object @@ -77658,8 +77703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -77706,16 +77751,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &489 + default: &491 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77763,8 +77808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *278 - - *279 + - *280 + - *281 - name: build_id in: path required: true @@ -77775,9 +77820,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *489 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77797,8 +77842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77907,9 +77952,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: - - *278 - - *279 - - &490 + - *280 + - *281 + - &492 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77967,9 +78012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *278 - - *279 - - *490 + - *280 + - *281 + - *492 responses: '204': *163 '404': *6 @@ -77996,8 +78041,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -78292,8 +78337,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Private vulnerability reporting status @@ -78330,8 +78375,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: - - *278 - - *279 + - *280 + - *281 responses: '204': *163 '422': *14 @@ -78352,8 +78397,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: - - *278 - - *279 + - *280 + - *281 responses: '204': *163 '422': *14 @@ -78376,8 +78421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: Indicates the state of the projects to return. in: query @@ -78438,7 +78483,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -78458,8 +78503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78487,11 +78532,11 @@ paths: application/json: schema: *226 examples: - default: *288 + default: *290 '401': *23 '403': *27 '404': *6 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -78511,8 +78556,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -78551,8 +78596,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78614,8 +78659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78675,9 +78720,9 @@ paths: application/json: schema: type: array - items: *491 + items: *493 examples: - default: *492 + default: *494 headers: Link: *37 '304': *35 @@ -78709,8 +78754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78777,7 +78822,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &498 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78906,7 +78951,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 active_lock_reason: type: - string @@ -79893,14 +79938,14 @@ paths: _links: type: object properties: - comments: *396 - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + comments: *398 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -79911,7 +79956,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *493 + auto_merge: *495 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80013,7 +80058,7 @@ paths: - merged_by - review_comments examples: - default: &497 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80540,8 +80585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - name: sort in: query required: false @@ -80570,9 +80615,9 @@ paths: application/json: schema: type: array - items: *494 + items: *496 examples: - default: &499 + default: &501 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80649,17 +80694,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: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &495 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80734,8 +80779,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: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -80758,9 +80803,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80776,8 +80821,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: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -80799,8 +80844,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: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80827,9 +80872,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -80850,8 +80895,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: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -80884,16 +80929,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -80915,10 +80960,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -80961,9 +81006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *278 - - *279 - - &498 + - *280 + - *281 + - &500 name: pull_number description: The number that identifies the pull request. in: path @@ -80976,9 +81021,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 '304': *35 '404': *6 '406': @@ -81013,9 +81058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81057,9 +81102,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 '422': *15 '403': *27 x-github: @@ -81081,9 +81126,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -81146,7 +81191,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -81154,7 +81199,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -81184,9 +81229,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *107 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81207,9 +81252,9 @@ paths: application/json: schema: type: array - items: *494 + items: *496 examples: - default: *499 + default: *501 headers: Link: *37 x-github: @@ -81242,9 +81287,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -81350,7 +81395,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-a-multi-line-comment: value: @@ -81438,9 +81483,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *97 requestBody: required: true @@ -81463,7 +81508,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -81549,9 +81594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -81561,9 +81606,9 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: - default: *500 + default: *502 headers: Link: *37 x-github: @@ -81593,9 +81638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -81605,7 +81650,7 @@ paths: application/json: schema: type: array - items: *403 + items: *405 examples: default: value: @@ -81643,9 +81688,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 responses: '204': description: Response if pull request has been merged @@ -81668,9 +81713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81782,9 +81827,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 responses: '200': description: Response @@ -81859,9 +81904,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81898,7 +81943,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: default: value: @@ -82434,9 +82479,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -82470,7 +82515,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: default: value: @@ -82975,9 +83020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -82987,7 +83032,7 @@ paths: application/json: schema: type: array - items: &501 + items: &503 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83143,9 +83188,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -83235,9 +83280,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &503 + default: &505 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83300,10 +83345,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: - - *278 - - *279 - - *498 - - &502 + - *280 + - *281 + - *500 + - &504 name: review_id description: The unique identifier of the review. in: path @@ -83315,9 +83360,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &504 + default: &506 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83376,10 +83421,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83402,7 +83447,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -83464,18 +83509,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *503 + default: *505 '422': *7 '404': *6 x-github: @@ -83502,10 +83547,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 - *17 - *18 responses: @@ -83603,9 +83648,9 @@ paths: _links: type: object properties: - self: *396 - html: *396 - pull_request: *396 + self: *398 + html: *398 + pull_request: *398 required: - self - html @@ -83756,10 +83801,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83788,7 +83833,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -83851,10 +83896,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83889,9 +83934,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *504 + default: *506 '404': *6 '422': *7 '403': *27 @@ -83913,9 +83958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -83979,8 +84024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *278 - - *279 + - *280 + - *281 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83993,9 +84038,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &506 + default: &508 value: type: file encoding: base64 @@ -84037,8 +84082,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: - - *278 - - *279 + - *280 + - *281 - name: dir description: The alternate path to look for a README file in: path @@ -84058,9 +84103,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 '404': *6 '422': *15 x-github: @@ -84082,8 +84127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -84093,7 +84138,7 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Release description: A release. type: object @@ -84165,7 +84210,7 @@ paths: author: *4 assets: type: array - items: &508 + items: &510 title: Release Asset description: Data related to a release. type: object @@ -84345,8 +84390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -84422,9 +84467,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &511 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84525,9 +84570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *278 - - *279 - - &509 + - *280 + - *281 + - &511 name: asset_id description: The unique identifier of the asset. in: path @@ -84539,9 +84584,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &510 + default: &512 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 @@ -84575,7 +84620,7 @@ paths: type: User site_admin: false '404': *6 - '302': *405 + '302': *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84591,9 +84636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *278 - - *279 - - *509 + - *280 + - *281 + - *511 requestBody: required: false content: @@ -84622,9 +84667,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84640,9 +84685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *278 - - *279 - - *509 + - *280 + - *281 + - *511 responses: '204': description: Response @@ -84666,8 +84711,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -84753,16 +84798,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84779,8 +84824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *278 - - *279 + - *280 + - *281 - name: tag description: tag parameter in: path @@ -84793,9 +84838,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -84817,9 +84862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *278 - - *279 - - &512 + - *280 + - *281 + - &514 name: release_id description: The unique identifier of the release. in: path @@ -84833,9 +84878,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: *507 + schema: *509 examples: - default: *511 + default: *513 '401': description: Unauthorized x-github: @@ -84853,9 +84898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 requestBody: required: false content: @@ -84919,9 +84964,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': description: Not Found if the discussion category name is invalid content: @@ -84942,9 +84987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 responses: '204': description: Response @@ -84964,9 +85009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - *17 - *18 responses: @@ -84976,7 +85021,7 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: default: value: @@ -85057,9 +85102,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: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - name: name in: query required: true @@ -85085,7 +85130,7 @@ paths: description: Response for successful upload content: application/json: - schema: *508 + schema: *510 examples: response-for-successful-upload: value: @@ -85139,9 +85184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - 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. @@ -85165,9 +85210,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -85188,9 +85233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 requestBody: required: true content: @@ -85220,16 +85265,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -85251,10 +85296,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *278 - - *279 - - *512 - - *270 + - *280 + - *281 + - *514 + - *272 responses: '204': description: Response @@ -85278,9 +85323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 - *17 - *18 responses: @@ -85296,8 +85341,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *513 - - &515 + - *515 + - &517 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85316,54 +85361,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *514 - - *515 - allOf: - *516 - - *515 - - allOf: - *517 - - *515 - allOf: - *518 - - *515 + - *517 - allOf: - *519 - - *515 + - *517 - allOf: - *520 - - *515 + - *517 - allOf: - *521 - - *515 + - *517 - allOf: - *522 - - *515 + - *517 - allOf: - *523 - - *515 + - *517 - allOf: - *524 - - *515 + - *517 - allOf: - *525 - - *515 + - *517 - allOf: - *526 - - *515 + - *517 - allOf: - *527 - - *515 + - *517 - allOf: - *528 - - *515 + - *517 - allOf: - *529 - - *515 + - *517 - allOf: - *530 - - *515 + - *517 + - allOf: + - *531 + - *517 + - allOf: + - *532 + - *517 examples: default: value: @@ -85402,8 +85447,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - name: includes_parents @@ -85414,7 +85459,7 @@ paths: schema: type: boolean default: true - - *531 + - *533 responses: '200': description: Response @@ -85469,8 +85514,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 requestBody: description: Request body required: true @@ -85532,7 +85577,7 @@ paths: application/json: schema: *241 examples: - default: &541 + default: &543 value: id: 42 name: super cool ruleset @@ -85579,12 +85624,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *278 - - *279 - - *532 - - *533 + - *280 + - *281 - *534 - *535 + - *536 + - *537 - *17 - *18 responses: @@ -85592,9 +85637,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 '404': *6 '500': *69 x-github: @@ -85615,17 +85660,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *278 - - *279 - - *538 + - *280 + - *281 + - *540 responses: '200': description: Response content: application/json: - schema: *539 + schema: *541 examples: - default: *540 + default: *542 '404': *6 '500': *69 x-github: @@ -85653,8 +85698,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85676,7 +85721,7 @@ paths: application/json: schema: *241 examples: - default: *541 + default: *543 '404': *6 '500': *69 put: @@ -85694,8 +85739,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85759,7 +85804,7 @@ paths: application/json: schema: *241 examples: - default: *541 + default: *543 '404': *6 '500': *69 delete: @@ -85777,8 +85822,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85806,8 +85851,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: - - *278 - - *279 + - *280 + - *281 - *243 - *244 - *245 @@ -85815,9 +85860,11 @@ paths: - *65 - *18 - *17 - - *542 - - *543 + - *544 + - *545 - *247 + - *248 + - *249 responses: '200': description: Response @@ -85825,7 +85872,7 @@ paths: application/json: schema: type: array - items: &546 + items: &548 type: object properties: number: *70 @@ -85841,8 +85888,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *544 - resolution: *545 + state: *546 + resolution: *547 resolved_at: type: - string @@ -85894,6 +85941,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. examples: default: value: @@ -85950,6 +86008,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 @@ -85967,6 +86027,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 @@ -85992,15 +86054,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -86021,6 +86083,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *35 '404': description: Repository is public, or secret scanning is disabled for the @@ -86046,9 +86110,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 requestBody: required: true content: @@ -86056,8 +86120,8 @@ paths: schema: type: object properties: - state: *544 - resolution: *545 + state: *546 + resolution: *547 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86076,7 +86140,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -86115,6 +86179,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. @@ -86145,9 +86211,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 - *18 - *17 responses: @@ -86158,7 +86224,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &701 + items: &703 type: object properties: type: @@ -86537,8 +86603,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -86546,14 +86612,14 @@ paths: schema: type: object properties: - reason: &548 + reason: &550 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *547 + placeholder_id: *549 required: - reason - placeholder_id @@ -86570,7 +86636,7 @@ paths: schema: type: object properties: - reason: *548 + reason: *550 expire_at: type: - string @@ -86616,8 +86682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *278 - - *279 + - *280 + - *281 - *65 - name: sort description: The property to sort the results by. @@ -86661,9 +86727,9 @@ paths: application/json: schema: type: array - items: *549 + items: *551 examples: - default: *550 + default: *552 '400': *14 '404': *6 x-github: @@ -86686,8 +86752,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -86767,7 +86833,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 required: - login - type @@ -86857,9 +86923,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: &552 + default: &554 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87092,8 +87158,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -87206,7 +87272,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: default: value: @@ -87353,17 +87419,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '200': description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *552 + default: *554 '403': *27 '404': *6 x-github: @@ -87387,9 +87453,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 requestBody: required: true content: @@ -87469,7 +87535,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 required: - login - type @@ -87560,10 +87626,10 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *552 - add_credit: *552 + default: *554 + add_credit: *554 '403': *27 '404': *6 '422': @@ -87601,9 +87667,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '202': *120 '400': *14 @@ -87630,17 +87696,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '202': description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 '400': *14 '422': *15 '403': *27 @@ -87666,8 +87732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -87763,8 +87829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87773,7 +87839,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87806,8 +87872,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -87885,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -87980,8 +88046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88135,8 +88201,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88146,7 +88212,7 @@ paths: application/json: schema: type: array - items: *553 + items: *555 examples: default: value: @@ -88179,8 +88245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *278 - - *279 + - *280 + - *281 - name: sha in: path required: true @@ -88236,7 +88302,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -88290,8 +88356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88323,14 +88389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &555 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88403,8 +88469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -88430,7 +88496,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -88457,8 +88523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -88478,8 +88544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88561,8 +88627,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -88570,7 +88636,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Tag protection description: Tag protection type: object @@ -88627,8 +88693,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -88651,7 +88717,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: default: value: @@ -88682,8 +88748,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: - - *278 - - *279 + - *280 + - *281 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88720,8 +88786,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *278 - - *279 + - *280 + - *281 - name: ref in: path required: true @@ -88757,8 +88823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88790,8 +88856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 responses: @@ -88799,7 +88865,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &559 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88811,7 +88877,7 @@ paths: required: - names examples: - default: &558 + default: &560 value: names: - octocat @@ -88834,8 +88900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -88866,9 +88932,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *558 + default: *560 '404': *6 '422': *7 x-github: @@ -88889,9 +88955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *278 - - *279 - - &559 + - *280 + - *281 + - &561 name: per description: The time frame to display results for. in: query @@ -88922,7 +88988,7 @@ paths: - 128 clones: type: array - items: &560 + items: &562 title: Traffic type: object properties: @@ -89009,8 +89075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -89104,8 +89170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -89168,9 +89234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *278 - - *279 - - *559 + - *280 + - *281 + - *561 responses: '200': description: Response @@ -89191,7 +89257,7 @@ paths: - 3782 views: type: array - items: *560 + items: *562 required: - uniques - count @@ -89268,8 +89334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -89543,8 +89609,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89567,8 +89633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -89590,8 +89656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -89617,8 +89683,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *278 - - *279 + - *280 + - *281 - name: ref in: path required: true @@ -89710,9 +89776,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89866,7 +89932,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &568 + - &570 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89876,7 +89942,7 @@ paths: type: string examples: - members - - &573 + - &575 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89888,7 +89954,7 @@ paths: format: int32 examples: - 1 - - &574 + - &576 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89932,7 +89998,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &562 + items: &564 allOf: - type: object required: @@ -90014,7 +90080,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: &575 + meta: &577 type: object description: The metadata associated with the creation/updates to the user. @@ -90079,31 +90145,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &563 + '400': &565 description: Bad request content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '401': &564 + schema: *563 + '401': &566 description: Authorization failure - '403': &565 + '403': &567 description: Permission denied - '429': &566 + '429': &568 description: Too many requests content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '500': &567 + schema: *563 + '500': &569 description: Internal server error content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 + schema: *563 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90130,7 +90196,7 @@ paths: required: true content: application/json: - schema: &571 + schema: &573 type: object required: - schemas @@ -90190,9 +90256,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *562 + schema: *564 examples: - group: &569 + group: &571 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90211,13 +90277,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': *563 - '401': *564 - '403': *565 - '409': &572 + '400': *565 + '401': *566 + '403': *567 + '409': &574 description: Duplicate record detected - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90238,7 +90304,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: - - &570 + - &572 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -90247,22 +90313,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *568 + - *570 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *562 + schema: *564 examples: - default: *569 - '400': *563 - '401': *564 - '403': *565 + default: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90284,13 +90350,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: - - *570 + - *572 - *38 requestBody: required: true content: application/json: - schema: *571 + schema: *573 examples: group: summary: Group @@ -90316,17 +90382,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *562 + schema: *564 examples: - group: *569 - groupWithMembers: *569 - '400': *563 - '401': *564 - '403': *565 + group: *571 + groupWithMembers: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90353,13 +90419,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: - - *570 + - *572 - *38 requestBody: required: true content: application/json: - schema: &582 + schema: &584 type: object required: - Operations @@ -90419,17 +90485,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *562 + schema: *564 examples: - updateGroup: *569 - addMembers: *569 - '400': *563 - '401': *564 - '403': *565 + updateGroup: *571 + addMembers: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90449,17 +90515,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: - - *570 + - *572 - *38 responses: '204': description: Group was deleted, no content - '400': *563 - '401': *564 - '403': *565 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90496,8 +90562,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *573 - - *574 + - *575 + - *576 - *38 responses: '200': @@ -90531,7 +90597,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &577 + items: &579 allOf: - type: object required: @@ -90623,7 +90689,7 @@ paths: address. examples: - true - roles: &576 + roles: &578 type: array description: The roles assigned to the user. items: @@ -90682,7 +90748,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *575 + meta: *577 startIndex: type: integer description: A starting index for the returned page @@ -90721,11 +90787,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *563 - '401': *564 - '403': *565 - '429': *566 - '500': *567 + '400': *565 + '401': *566 + '403': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90752,7 +90818,7 @@ paths: required: true content: application/json: - schema: &580 + schema: &582 type: object required: - schemas @@ -90845,9 +90911,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *576 + roles: *578 examples: - user: &581 + user: &583 summary: User value: schemas: @@ -90894,9 +90960,9 @@ paths: description: User has been created content: application/scim+json: - schema: *577 + schema: *579 examples: - user: &578 + user: &580 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90922,13 +90988,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: *578 - '400': *563 - '401': *564 - '403': *565 - '409': *572 - '429': *566 - '500': *567 + enterpriseOwner: *580 + '400': *565 + '401': *566 + '403': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90949,7 +91015,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: - - &579 + - &581 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90962,15 +91028,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *577 + schema: *579 examples: - default: *578 - '400': *563 - '401': *564 - '403': *565 + default: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90995,30 +91061,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: - - *579 + - *581 - *38 requestBody: required: true content: application/json: - schema: *580 + schema: *582 examples: - user: *581 + user: *583 responses: '200': description: User was updated content: application/scim+json: - schema: *577 + schema: *579 examples: - user: *578 - '400': *563 - '401': *564 - '403': *565 + user: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91056,13 +91122,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: - - *579 + - *581 - *38 requestBody: required: true content: application/json: - schema: *582 + schema: *584 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91102,18 +91168,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *577 - examples: - userMultiValuedProperties: *578 - userSingleValuedProperties: *578 - disableUser: *578 - '400': *563 - '401': *564 - '403': *565 + schema: *579 + examples: + userMultiValuedProperties: *580 + userSingleValuedProperties: *580 + disableUser: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91133,17 +91199,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: - - *579 + - *581 - *38 responses: '204': description: User was deleted, no content - '400': *563 - '401': *564 - '403': *565 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91234,7 +91300,7 @@ paths: - 1 Resources: type: array - items: &583 + items: &585 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91481,22 +91547,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &584 + '404': &586 description: Resource not found content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '403': &585 + schema: *563 + '403': &587 description: Forbidden content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '400': *563 - '429': *566 + schema: *563 + '400': *565 + '429': *568 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91522,9 +91588,9 @@ paths: description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: &586 + default: &588 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91547,17 +91613,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *584 - '403': *585 - '500': *567 + '404': *586 + '403': *587 + '500': *569 '409': description: Conflict content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '400': *563 + schema: *563 + '400': *565 requestBody: required: true content: @@ -91652,17 +91718,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 - '404': *584 - '403': *585 + default: *588 + '404': *586 + '403': *587 '304': *35 x-github: githubCloudOnly: true @@ -91686,18 +91752,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 + default: *588 '304': *35 - '404': *584 - '403': *585 + '404': *586 + '403': *587 requestBody: required: true content: @@ -91808,19 +91874,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 + default: *588 '304': *35 - '404': *584 - '403': *585 - '400': *563 + '404': *586 + '403': *587 + '400': *565 '429': description: Response content: @@ -91916,12 +91982,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *114 - - *579 + - *581 responses: '204': description: Response - '404': *584 - '403': *585 + '404': *586 + '403': *587 '304': *35 x-github: githubCloudOnly: true @@ -92055,7 +92121,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &587 + text_matches: &589 title: Search Result Text Matches type: array items: @@ -92219,7 +92285,7 @@ paths: enum: - author-date - committer-date - - &588 + - &590 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 @@ -92288,7 +92354,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 comment_count: type: integer message: @@ -92307,7 +92373,7 @@ paths: url: type: string format: uri - verification: *440 + verification: *442 required: - author - committer @@ -92322,7 +92388,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 parents: type: array items: @@ -92339,7 +92405,7 @@ paths: type: number node_id: type: string - text_matches: *587 + text_matches: *589 required: - sha - node_id @@ -92532,7 +92598,7 @@ paths: - interactions - created - updated - - *588 + - *590 - *17 - *18 responses: @@ -92634,7 +92700,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 comments: type: integer created_at: @@ -92648,7 +92714,7 @@ paths: - string - 'null' format: date-time - text_matches: *587 + text_matches: *589 pull_request: type: object properties: @@ -92870,7 +92936,7 @@ paths: enum: - created - updated - - *588 + - *590 - *17 - *18 responses: @@ -92915,7 +92981,7 @@ paths: - 'null' score: type: number - text_matches: *587 + text_matches: *589 required: - id - node_id @@ -93001,7 +93067,7 @@ paths: - forks - help-wanted-issues - updated - - *588 + - *590 - *17 - *18 responses: @@ -93238,7 +93304,7 @@ paths: - admin - pull - push - text_matches: *587 + text_matches: *589 temp_clone_token: type: string allow_merge_commit: @@ -93547,7 +93613,7 @@ paths: - string - 'null' format: uri - text_matches: *587 + text_matches: *589 related: type: - array @@ -93742,7 +93808,7 @@ paths: - followers - repositories - joined - - *588 + - *590 - *17 - *18 responses: @@ -93852,7 +93918,7 @@ paths: type: - boolean - 'null' - text_matches: *587 + text_matches: *589 blog: type: - string @@ -93934,7 +94000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &589 + - &591 name: team_id description: The unique identifier of the team. in: path @@ -93946,9 +94012,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -93975,7 +94041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *589 + - *591 requestBody: required: true content: @@ -94039,16 +94105,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '201': description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 '422': *15 '403': *27 @@ -94076,7 +94142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *589 + - *591 responses: '204': description: Response @@ -94107,7 +94173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *589 + - *591 - *65 - *17 - *18 @@ -94118,9 +94184,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *590 + default: *592 headers: Link: *37 x-github: @@ -94149,7 +94215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *589 + - *591 requestBody: required: true content: @@ -94183,9 +94249,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: triggersNotification: true githubCloudOnly: false @@ -94212,16 +94278,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94246,8 +94312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 requestBody: required: false content: @@ -94270,9 +94336,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94297,8 +94363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 responses: '204': description: Response @@ -94327,8 +94393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *589 - - *263 + - *591 + - *265 - *65 - *17 - *18 @@ -94339,9 +94405,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *592 + default: *594 headers: Link: *37 x-github: @@ -94370,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *589 - - *263 + - *591 + - *265 requestBody: required: true content: @@ -94393,9 +94459,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -94422,17 +94488,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94457,9 +94523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 requestBody: required: true content: @@ -94481,9 +94547,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94508,9 +94574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 responses: '204': description: Response @@ -94539,9 +94605,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: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 - 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. @@ -94567,9 +94633,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -94598,9 +94664,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: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 requestBody: required: true content: @@ -94632,9 +94698,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94660,8 +94726,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: - - *589 - - *263 + - *591 + - *265 - 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. @@ -94687,9 +94753,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -94718,8 +94784,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: - - *589 - - *263 + - *591 + - *265 requestBody: required: true content: @@ -94751,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94777,7 +94843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -94815,7 +94881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *589 + - *591 - name: role description: Filters members returned by their role in the team. in: query @@ -94866,7 +94932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94903,7 +94969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94943,7 +95009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94980,16 +95046,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: - - *589 + - *591 - *154 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-user-is-a-team-maintainer: *594 + response-if-user-is-a-team-maintainer: *596 '404': *6 x-github: githubCloudOnly: false @@ -95022,7 +95088,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: - - *589 + - *591 - *154 requestBody: required: false @@ -95048,9 +95114,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-users-membership-with-team-is-now-pending: *595 + response-if-users-membership-with-team-is-now-pending: *597 '403': description: Forbidden if team synchronization is set up '422': @@ -95084,7 +95150,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: - - *589 + - *591 - *154 responses: '204': @@ -95114,7 +95180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95124,9 +95190,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *596 + default: *598 headers: Link: *37 '404': *6 @@ -95153,16 +95219,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: - - *589 - - *277 + - *591 + - *279 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *597 + default: *599 '404': description: Not Found if project is not managed by this team x-github: @@ -95187,8 +95253,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: - - *589 - - *277 + - *591 + - *279 requestBody: required: false content: @@ -95256,8 +95322,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: - - *589 - - *277 + - *591 + - *279 responses: '204': description: Response @@ -95284,7 +95350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95326,15 +95392,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *598 + schema: *600 examples: alternative-response-with-extra-repository-information: value: @@ -95485,9 +95551,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 requestBody: required: false content: @@ -95537,9 +95603,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 responses: '204': description: Response @@ -95568,15 +95634,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: - - *589 + - *591 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 '403': *27 '404': *6 x-github: @@ -95603,7 +95669,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: - - *589 + - *591 requestBody: required: true content: @@ -95664,7 +95730,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -95695,7 +95761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95707,7 +95773,7 @@ paths: type: array items: *198 examples: - response-if-child-teams-exist: *599 + response-if-child-teams-exist: *601 headers: Link: *37 '404': *6 @@ -95740,7 +95806,7 @@ paths: application/json: schema: oneOf: - - &601 + - &603 title: Private User description: Private User type: object @@ -95990,7 +96056,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *600 + - *602 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96150,7 +96216,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -96496,7 +96562,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96504,7 +96570,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -96548,7 +96614,7 @@ paths: type: integer secrets: type: array - items: &602 + items: &604 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96590,7 +96656,7 @@ paths: - visibility - selected_repositories_url examples: - default: *384 + default: *386 headers: Link: *37 x-github: @@ -96668,7 +96734,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -96814,7 +96880,7 @@ paths: type: array items: *132 examples: - default: *603 + default: *605 '401': *23 '403': *27 '404': *6 @@ -96966,7 +97032,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '304': *35 '500': *69 '401': *23 @@ -97024,7 +97090,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -97081,7 +97147,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &606 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97134,7 +97200,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &605 + default: &607 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97179,9 +97245,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *605 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -97218,9 +97284,9 @@ paths: type: integer machines: type: array - items: *383 + items: *385 examples: - default: *606 + default: *608 '304': *35 '500': *69 '401': *23 @@ -97305,11 +97371,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *291 + repository: *293 machine: anyOf: - type: 'null' - - *383 + - *385 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98114,7 +98180,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '304': *35 '500': *69 '400': *14 @@ -98154,7 +98220,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '500': *69 '401': *23 '403': *27 @@ -98186,7 +98252,7 @@ paths: type: array items: *213 examples: - default: &619 + default: &621 value: - id: 197 name: hello_docker @@ -98287,7 +98353,7 @@ paths: application/json: schema: type: array - items: &607 + items: &609 title: Email description: Email type: object @@ -98357,9 +98423,9 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: - default: &621 + default: &623 value: - email: octocat@github.com verified: true @@ -98436,7 +98502,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -98693,7 +98759,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: GPG Key description: A unique encryption key type: object @@ -98838,7 +98904,7 @@ paths: - subkeys - revoked examples: - default: &632 + default: &634 value: - id: 3 name: Octocat's GPG Key @@ -98923,9 +98989,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: id: 3 name: Octocat's GPG Key @@ -98982,7 +99048,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: - - &610 + - &612 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98994,9 +99060,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '304': *35 '403': *27 @@ -99019,7 +99085,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: - - *610 + - *612 responses: '204': description: Response @@ -99210,7 +99276,7 @@ paths: type: array items: *55 examples: - default: *611 + default: *613 headers: Link: *37 '404': *6 @@ -99324,7 +99390,7 @@ paths: required: true content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -99474,7 +99540,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Key description: Key type: object @@ -99572,9 +99638,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: &613 + default: &615 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99607,15 +99673,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: - - *477 + - *479 responses: '200': description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: *613 + default: *615 '404': *6 '304': *35 '403': *27 @@ -99638,7 +99704,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: - - *477 + - *479 responses: '204': description: Response @@ -99671,7 +99737,7 @@ paths: application/json: schema: type: array - items: &614 + items: &616 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99750,7 +99816,7 @@ paths: - account - plan examples: - default: &615 + default: &617 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99812,9 +99878,9 @@ paths: application/json: schema: type: array - items: *614 + items: *616 examples: - default: *615 + default: *617 headers: Link: *37 '304': *35 @@ -100818,7 +100884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *208 - - *616 + - *618 responses: '204': description: Response @@ -100888,7 +100954,7 @@ paths: type: array items: *50 examples: - default: *617 + default: *619 headers: Link: *37 '304': *35 @@ -100930,7 +100996,7 @@ paths: - docker - nuget - container - - *618 + - *620 - *18 - *17 responses: @@ -100942,8 +101008,8 @@ paths: type: array items: *213 examples: - default: *619 - '400': *620 + default: *621 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100972,7 +101038,7 @@ paths: application/json: schema: *213 examples: - default: &633 + default: &635 value: id: 40201 name: octo-name @@ -101424,9 +101490,9 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: - default: *621 + default: *623 headers: Link: *37 '304': *35 @@ -101539,7 +101605,7 @@ paths: type: array items: *55 examples: - default: &628 + default: &630 summary: Default response value: - id: 1296269 @@ -101855,9 +101921,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101895,9 +101961,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *622 + default: *624 headers: Link: *37 '304': *35 @@ -101976,7 +102042,7 @@ paths: application/json: schema: type: array - items: &623 + items: &625 title: Social account description: Social media account type: object @@ -101993,7 +102059,7 @@ paths: - provider - url examples: - default: &624 + default: &626 value: - provider: twitter url: https://twitter.com/github @@ -102056,9 +102122,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *624 + default: *626 '422': *15 '304': *35 '404': *6 @@ -102146,7 +102212,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102166,7 +102232,7 @@ paths: - title - created_at examples: - default: &634 + default: &636 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102233,9 +102299,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &626 + default: &628 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102266,7 +102332,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: - - &627 + - &629 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102278,9 +102344,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '404': *6 '304': *35 '403': *27 @@ -102303,7 +102369,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: - - *627 + - *629 responses: '204': description: Response @@ -102332,7 +102398,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: - - &635 + - &637 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 @@ -102357,11 +102423,11 @@ paths: type: array items: *55 examples: - default-response: *628 + default-response: *630 application/vnd.github.v3.star+json: schema: type: array - items: &636 + items: &638 title: Starred Repository description: Starred Repository type: object @@ -102517,8 +102583,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response if this repository is starred by you @@ -102546,8 +102612,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -102571,8 +102637,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -102644,7 +102710,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -102728,10 +102794,10 @@ paths: application/json: schema: oneOf: - - *601 - - *600 + - *603 + - *602 examples: - default-response: &630 + default-response: &632 summary: Default response value: login: octocat @@ -102766,7 +102832,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &631 + response-with-git-hub-plan-information: &633 summary: Response with GitHub plan information value: login: octocat @@ -102826,7 +102892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *629 + - *631 - *17 responses: '200': @@ -102873,11 +102939,11 @@ paths: application/json: schema: oneOf: - - *601 - - *600 + - *603 + - *602 examples: - default-response: *630 - response-with-git-hub-plan-information: *631 + default-response: *632 + response-with-git-hub-plan-information: *633 '404': *6 x-github: githubCloudOnly: false @@ -103041,7 +103107,7 @@ paths: type: array items: *213 examples: - default: *619 + default: *621 '403': *27 '401': *23 x-github: @@ -103445,9 +103511,9 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: - default: *632 + default: *634 headers: Link: *37 x-github: @@ -103551,7 +103617,7 @@ paths: application/json: schema: *20 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103629,7 +103695,7 @@ paths: type: array items: *50 examples: - default: *617 + default: *619 headers: Link: *37 x-github: @@ -103668,7 +103734,7 @@ paths: - docker - nuget - container - - *618 + - *620 - *154 - *18 - *17 @@ -103681,10 +103747,10 @@ paths: type: array items: *213 examples: - default: *619 + default: *621 '403': *27 '401': *23 - '400': *620 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103714,7 +103780,7 @@ paths: application/json: schema: *213 examples: - default: *633 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104307,9 +104373,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104337,9 +104403,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104367,9 +104433,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104397,9 +104463,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *624 + default: *626 headers: Link: *37 x-github: @@ -104429,9 +104495,9 @@ paths: application/json: schema: type: array - items: *625 + items: *627 examples: - default: *634 + default: *636 headers: Link: *37 x-github: @@ -104456,7 +104522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *154 - - *635 + - *637 - *65 - *17 - *18 @@ -104468,11 +104534,11 @@ paths: schema: anyOf: - type: array - items: *636 + items: *638 - type: array items: *55 examples: - default-response: *628 + default-response: *630 headers: Link: *37 x-github: @@ -104632,7 +104698,7 @@ webhooks: type: string enum: - disabled - enterprise: &637 + enterprise: &639 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104701,7 +104767,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &638 + installation: &640 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104722,7 +104788,7 @@ webhooks: required: - id - node_id - organization: &639 + organization: &641 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104795,7 +104861,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &640 + repository: &642 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105708,10 +105774,10 @@ webhooks: type: string enum: - enabled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -105787,11 +105853,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: &641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: &643 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) @@ -106014,11 +106080,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: *641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: *643 sender: *4 required: - action @@ -106206,11 +106272,11 @@ webhooks: - everyone required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: *641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: *643 sender: *4 required: - action @@ -106283,7 +106349,7 @@ webhooks: required: true content: application/json: - schema: &644 + schema: &646 title: Exemption request cancellation event type: object properties: @@ -106291,11 +106357,11 @@ webhooks: type: string enum: - cancelled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: &642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: &644 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -106435,7 +106501,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &643 + items: &645 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -106541,7 +106607,7 @@ webhooks: required: true content: application/json: - schema: &645 + schema: &647 title: Exemption request completed event type: object properties: @@ -106549,11 +106615,11 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 sender: *4 required: - action @@ -106625,7 +106691,7 @@ webhooks: required: true content: application/json: - schema: &646 + schema: &648 title: Exemption request created event type: object properties: @@ -106633,11 +106699,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 sender: *4 required: - action @@ -106709,7 +106775,7 @@ webhooks: required: true content: application/json: - schema: &647 + schema: &649 title: Exemption response dismissed event type: object properties: @@ -106717,12 +106783,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 - exemption_response: *643 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 + exemption_response: *645 sender: *4 required: - action @@ -106796,7 +106862,7 @@ webhooks: required: true content: application/json: - schema: &648 + schema: &650 title: Exemption response submitted event type: object properties: @@ -106804,12 +106870,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 - exemption_response: *643 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 + exemption_response: *645 sender: *4 required: - action @@ -106882,7 +106948,7 @@ webhooks: required: true content: application/json: - schema: *644 + schema: *646 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106949,7 +107015,7 @@ webhooks: required: true content: application/json: - schema: *645 + schema: *647 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107016,7 +107082,7 @@ webhooks: required: true content: application/json: - schema: *646 + schema: *648 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107083,7 +107149,7 @@ webhooks: required: true content: application/json: - schema: *647 + schema: *649 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107151,7 +107217,7 @@ webhooks: required: true content: application/json: - schema: *648 + schema: *650 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107229,7 +107295,7 @@ webhooks: type: string enum: - completed - check_run: &650 + check_run: &652 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107297,7 +107363,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *348 + items: *350 repository: *132 status: type: string @@ -107342,7 +107408,7 @@ webhooks: - examples: - neutral - deployment: *649 + deployment: *651 details_url: type: string examples: @@ -107402,7 +107468,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *348 + items: *350 started_at: type: string format: date-time @@ -107440,9 +107506,9 @@ webhooks: - output - app - pull_requests - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -107835,10 +107901,10 @@ webhooks: type: string enum: - created - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -108234,10 +108300,10 @@ webhooks: type: string enum: - requested_action - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 requested_action: description: The action requested by the user. type: object @@ -108642,10 +108708,10 @@ webhooks: type: string enum: - rerequested - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -109637,10 +109703,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -110325,10 +110391,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -111007,10 +111073,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -111317,20 +111383,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &651 + commit_oid: &653 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: *637 - installation: *638 - organization: *639 - ref: &652 + enterprise: *639 + installation: *640 + organization: *641 + ref: &654 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: *640 + repository: *642 sender: *4 required: - action @@ -111658,12 +111724,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -111761,7 +111827,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *360 + dismissed_comment: *362 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111933,12 +111999,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -112270,12 +112336,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -112544,9 +112610,9 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -112554,7 +112620,7 @@ webhooks: type: - string - 'null' - repository: *640 + repository: *642 sender: *4 required: - action @@ -112786,12 +112852,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -113053,10 +113119,10 @@ webhooks: - updated_at - author_association - body - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -113137,18 +113203,18 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *639 - pusher_type: &653 + organization: *641 + pusher_type: &655 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &654 + ref: &656 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113158,7 +113224,7 @@ webhooks: enum: - tag - branch - repository: *640 + repository: *642 sender: *4 required: - ref @@ -113241,9 +113307,9 @@ webhooks: enum: - created definition: *227 - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113327,9 +113393,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113406,9 +113472,9 @@ webhooks: enum: - updated definition: *227 - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113484,10 +113550,10 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - repository: *640 - organization: *639 + enterprise: *639 + installation: *640 + repository: *642 + organization: *641 sender: *4 new_property_values: type: array @@ -113572,18 +113638,18 @@ webhooks: title: delete event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - pusher_type: *653 - ref: *654 + enterprise: *639 + installation: *640 + organization: *641 + pusher_type: *655 + ref: *656 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *640 + repository: *642 sender: *4 required: - ref @@ -113667,11 +113733,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113755,11 +113821,11 @@ webhooks: type: string enum: - auto_reopened - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113843,11 +113909,11 @@ webhooks: type: string enum: - created - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113929,11 +113995,11 @@ webhooks: type: string enum: - dismissed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114015,11 +114081,11 @@ webhooks: type: string enum: - fixed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114102,11 +114168,11 @@ webhooks: type: string enum: - reintroduced - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114188,11 +114254,11 @@ webhooks: type: string enum: - reopened - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114269,9 +114335,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - key: &655 + enterprise: *639 + installation: *640 + key: &657 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114307,8 +114373,8 @@ webhooks: - verified - created_at - read_only - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -114385,11 +114451,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - key: *655 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + key: *657 + organization: *641 + repository: *642 sender: *4 required: - action @@ -114961,12 +115027,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: &659 + workflow: &661 title: Workflow type: - object @@ -115704,13 +115770,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *415 + deployment: *417 pull_requests: type: array - items: *496 - repository: *640 - organization: *639 - installation: *638 + items: *498 + repository: *642 + organization: *641 + installation: *640 sender: *4 responses: '200': @@ -115781,7 +115847,7 @@ webhooks: type: string enum: - approved - approver: &656 + approver: &658 type: object properties: avatar_url: @@ -115824,11 +115890,11 @@ webhooks: type: string comment: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - reviewers: &657 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + reviewers: &659 type: array items: type: object @@ -115909,7 +115975,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &658 + workflow_job_run: &660 type: object properties: conclusion: @@ -116655,18 +116721,18 @@ webhooks: type: string enum: - rejected - approver: *656 + approver: *658 comment: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - reviewers: *657 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + reviewers: *659 sender: *4 since: type: string - workflow_job_run: *658 + workflow_job_run: *660 workflow_job_runs: type: array items: @@ -117383,13 +117449,13 @@ webhooks: type: string enum: - requested - enterprise: *637 + enterprise: *639 environment: type: string - installation: *638 - organization: *639 - repository: *640 - requestor: &664 + installation: *640 + organization: *641 + repository: *642 + requestor: &666 title: User type: - object @@ -119332,12 +119398,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Deployment Workflow Run type: @@ -120028,7 +120094,7 @@ webhooks: type: string enum: - answered - answer: &662 + answer: &664 type: object properties: author_association: @@ -120188,7 +120254,7 @@ webhooks: - created_at - updated_at - body - discussion: &660 + discussion: &662 title: Discussion description: A Discussion in a repository. type: object @@ -120484,7 +120550,7 @@ webhooks: - id labels: type: array - items: *460 + items: *462 required: - repository_url - category @@ -120506,10 +120572,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120636,11 +120702,11 @@ webhooks: - from required: - category - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120723,11 +120789,11 @@ webhooks: type: string enum: - closed - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120809,7 +120875,7 @@ webhooks: type: string enum: - created - comment: &661 + comment: &663 type: object properties: author_association: @@ -120969,11 +121035,11 @@ webhooks: - updated_at - body - reactions - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121056,12 +121122,12 @@ webhooks: type: string enum: - deleted - comment: *661 - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + comment: *663 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121156,12 +121222,12 @@ webhooks: - from required: - body - comment: *661 - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + comment: *663 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121245,11 +121311,11 @@ webhooks: type: string enum: - created - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121331,11 +121397,11 @@ webhooks: type: string enum: - deleted - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121435,11 +121501,11 @@ webhooks: type: string required: - from - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121521,10 +121587,10 @@ webhooks: type: string enum: - labeled - discussion: *660 - enterprise: *637 - installation: *638 - label: &663 + discussion: *662 + enterprise: *639 + installation: *640 + label: &665 title: Label type: object properties: @@ -121557,8 +121623,8 @@ webhooks: - color - default - description - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121641,11 +121707,11 @@ webhooks: type: string enum: - locked - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121727,11 +121793,11 @@ webhooks: type: string enum: - pinned - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121813,11 +121879,11 @@ webhooks: type: string enum: - reopened - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121902,16 +121968,16 @@ webhooks: changes: type: object properties: - new_discussion: *660 - new_repository: *640 + new_discussion: *662 + new_repository: *642 required: - new_discussion - new_repository - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121994,10 +122060,10 @@ webhooks: type: string enum: - unanswered - discussion: *660 - old_answer: *662 - organization: *639 - repository: *640 + discussion: *662 + old_answer: *664 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122079,12 +122145,12 @@ webhooks: type: string enum: - unlabeled - discussion: *660 - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122167,11 +122233,11 @@ webhooks: type: string enum: - unlocked - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122253,11 +122319,11 @@ webhooks: type: string enum: - unpinned - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122330,7 +122396,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *637 + enterprise: *639 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123008,9 +123074,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - forkee @@ -123156,9 +123222,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pages: description: The pages that were updated. type: array @@ -123196,7 +123262,7 @@ webhooks: - action - sha - html_url - repository: *640 + repository: *642 sender: *4 required: - pages @@ -123272,10 +123338,10 @@ webhooks: type: string enum: - created - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: &665 + organization: *641 + repositories: &667 description: An array of repository objects that the installation can access. type: array @@ -123301,8 +123367,8 @@ webhooks: - name - full_name - private - repository: *640 - requester: *664 + repository: *642 + requester: *666 sender: *4 required: - action @@ -123377,11 +123443,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123458,11 +123524,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123539,10 +123605,10 @@ webhooks: type: string enum: - added - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories_added: &666 + organization: *641 + repositories_added: &668 description: An array of repository objects, which were added to the installation. type: array @@ -123588,15 +123654,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *640 - repository_selection: &667 + repository: *642 + repository_selection: &669 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *664 + requester: *666 sender: *4 required: - action @@ -123675,10 +123741,10 @@ webhooks: type: string enum: - removed - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories_added: *666 + organization: *641 + repositories_added: *668 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123705,9 +123771,9 @@ webhooks: - name - full_name - private - repository: *640 - repository_selection: *667 - requester: *664 + repository: *642 + repository_selection: *669 + requester: *666 sender: *4 required: - action @@ -123786,11 +123852,11 @@ webhooks: type: string enum: - suspend - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123973,10 +124039,10 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 target_type: type: string @@ -124055,11 +124121,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -124307,8 +124373,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125484,8 +125550,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -125565,7 +125631,7 @@ webhooks: type: string enum: - deleted - comment: &668 + comment: &670 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -125732,8 +125798,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126907,8 +126973,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -126988,7 +127054,7 @@ webhooks: type: string enum: - edited - changes: &693 + changes: &695 description: The changes to the comment. type: object properties: @@ -127000,9 +127066,9 @@ webhooks: type: string required: - from - comment: *668 - enterprise: *637 - installation: *638 + comment: *670 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128177,8 +128243,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -128260,10 +128326,10 @@ webhooks: type: string enum: - assigned - assignee: *664 - enterprise: *637 - installation: *638 - issue: &671 + assignee: *666 + enterprise: *639 + installation: *640 + issue: &673 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129193,8 +129259,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -129274,8 +129340,8 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130353,8 +130419,8 @@ webhooks: required: - state - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -130433,8 +130499,8 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131357,8 +131423,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -131437,8 +131503,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132365,7 +132431,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &669 + milestone: &671 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132508,8 +132574,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -132608,8 +132674,8 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133539,9 +133605,9 @@ webhooks: - active_lock_reason - body - reactions - label: *663 - organization: *639 - repository: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -133621,8 +133687,8 @@ webhooks: type: string enum: - labeled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134551,9 +134617,9 @@ webhooks: - active_lock_reason - body - reactions - label: *663 - organization: *639 - repository: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -134633,8 +134699,8 @@ webhooks: type: string enum: - locked - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135565,8 +135631,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -135645,8 +135711,8 @@ webhooks: type: string enum: - milestoned - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136571,9 +136637,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *669 - organization: *639 - repository: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -138059,8 +138125,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138989,8 +139055,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -139070,9 +139136,9 @@ webhooks: type: string enum: - pinned - enterprise: *637 - installation: *638 - issue: &670 + enterprise: *639 + installation: *640 + issue: &672 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139995,8 +140061,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -140075,8 +140141,8 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141006,8 +141072,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142493,11 +142559,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *637 - installation: *638 - issue: *670 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *672 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142578,7 +142644,7 @@ webhooks: type: string enum: - unassigned - assignee: &696 + assignee: &698 title: User type: - object @@ -142650,11 +142716,11 @@ webhooks: required: - login - id - enterprise: *637 - installation: *638 - issue: *671 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *673 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142733,12 +142799,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *637 - installation: *638 - issue: *671 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *673 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142818,8 +142884,8 @@ webhooks: type: string enum: - unlocked - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143748,8 +143814,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143829,11 +143895,11 @@ webhooks: type: string enum: - unpinned - enterprise: *637 - installation: *638 - issue: *670 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *672 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143912,11 +143978,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143994,11 +144060,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -144108,11 +144174,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -144194,9 +144260,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: &672 + enterprise: *639 + installation: *640 + marketplace_purchase: &674 title: Marketplace Purchase type: object required: @@ -144284,8 +144350,8 @@ webhooks: type: integer unit_count: type: integer - organization: *639 - previous_marketplace_purchase: &673 + organization: *641 + previous_marketplace_purchase: &675 title: Marketplace Purchase type: object properties: @@ -144369,7 +144435,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144449,10 +144515,10 @@ webhooks: - changed effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144540,7 +144606,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144622,10 +144688,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144711,7 +144777,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144792,8 +144858,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 marketplace_purchase: title: Marketplace Purchase type: object @@ -144879,9 +144945,9 @@ webhooks: type: integer unit_count: type: integer - organization: *639 - previous_marketplace_purchase: *673 - repository: *640 + organization: *641 + previous_marketplace_purchase: *675 + repository: *642 sender: *4 required: - action @@ -144961,12 +145027,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 - previous_marketplace_purchase: *673 - repository: *640 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 + previous_marketplace_purchase: *675 + repository: *642 sender: *4 required: - action @@ -145068,11 +145134,11 @@ webhooks: type: string required: - to - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145174,11 +145240,11 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145257,11 +145323,11 @@ webhooks: type: string enum: - removed - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145339,11 +145405,11 @@ webhooks: type: string enum: - added - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145421,7 +145487,7 @@ webhooks: required: - login - id - team: &674 + team: &676 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145614,11 +145680,11 @@ webhooks: type: string enum: - removed - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145697,7 +145763,7 @@ webhooks: required: - login - id - team: *674 + team: *676 required: - action - scope @@ -145779,8 +145845,8 @@ webhooks: type: string enum: - checks_requested - installation: *638 - merge_group: &675 + installation: *640 + merge_group: &677 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145799,15 +145865,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *352 + head_commit: *354 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145893,10 +145959,10 @@ webhooks: - merged - invalidated - dequeued - installation: *638 - merge_group: *675 - organization: *639 - repository: *640 + installation: *640 + merge_group: *677 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145969,7 +146035,7 @@ webhooks: type: string enum: - deleted - enterprise: *637 + enterprise: *639 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146077,12 +146143,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *638 - organization: *639 + installation: *640 + organization: *641 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -146162,11 +146228,11 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146245,9 +146311,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - milestone: &676 + enterprise: *639 + installation: *640 + milestone: &678 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146389,8 +146455,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146469,11 +146535,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146583,11 +146649,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146667,11 +146733,11 @@ webhooks: type: string enum: - opened - enterprise: *637 - installation: *638 - milestone: *676 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *678 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146750,11 +146816,11 @@ webhooks: type: string enum: - blocked - blocked_user: *664 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + blocked_user: *666 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146833,11 +146899,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *664 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + blocked_user: *666 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146916,9 +146982,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - membership: &677 + enterprise: *639 + installation: *640 + membership: &679 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147012,8 +147078,8 @@ webhooks: - role - organization_url - user - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147091,11 +147157,11 @@ webhooks: type: string enum: - member_added - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147174,8 +147240,8 @@ webhooks: type: string enum: - member_invited - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147297,10 +147363,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 - user: *664 + user: *666 required: - action - invitation @@ -147378,11 +147444,11 @@ webhooks: type: string enum: - member_removed - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147469,11 +147535,11 @@ webhooks: properties: from: type: string - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147549,9 +147615,9 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 package: description: Information about the package. type: object @@ -148074,7 +148140,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &678 + items: &680 title: Ruby Gems metadata type: object properties: @@ -148171,7 +148237,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -148247,9 +148313,9 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 package: description: Information about the package. type: object @@ -148611,7 +148677,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *678 + items: *680 source_url: type: string format: uri @@ -148682,7 +148748,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -148863,12 +148929,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *637 + enterprise: *639 id: type: integer - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - id @@ -148948,7 +149014,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &679 + personal_access_token_request: &681 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149086,10 +149152,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *637 - organization: *639 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149168,11 +149234,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *679 - enterprise: *637 - organization: *639 + personal_access_token_request: *681 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149250,11 +149316,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *679 - enterprise: *637 - organization: *639 + personal_access_token_request: *681 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149331,11 +149397,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *679 - organization: *639 - enterprise: *637 + personal_access_token_request: *681 + organization: *641 + enterprise: *639 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149439,7 +149505,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *680 + last_response: *682 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149471,8 +149537,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 zen: description: Random string of GitHub zen. @@ -149717,10 +149783,10 @@ webhooks: - from required: - note - enterprise: *637 - installation: *638 - organization: *639 - project_card: &681 + enterprise: *639 + installation: *640 + organization: *641 + project_card: &683 title: Project Card type: object properties: @@ -149843,7 +149909,7 @@ webhooks: - creator - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -149924,11 +149990,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project_card: *681 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_card: *683 + repository: *642 sender: *4 required: - action @@ -150008,9 +150074,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 project_card: title: Project Card type: object @@ -150140,7 +150206,7 @@ webhooks: repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -150234,11 +150300,11 @@ webhooks: - from required: - note - enterprise: *637 - installation: *638 - organization: *639 - project_card: *681 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_card: *683 + repository: *642 sender: *4 required: - action @@ -150332,9 +150398,9 @@ webhooks: - from required: - column_id - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 project_card: allOf: - title: Project Card @@ -150531,7 +150597,7 @@ webhooks: type: string required: - after_id - repository: *640 + repository: *642 sender: *4 required: - action @@ -150611,10 +150677,10 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - organization: *639 - project: &683 + enterprise: *639 + installation: *640 + organization: *641 + project: &685 title: Project type: object properties: @@ -150741,7 +150807,7 @@ webhooks: - creator - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -150821,10 +150887,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project_column: &682 + enterprise: *639 + installation: *640 + organization: *641 + project_column: &684 title: Project Column type: object properties: @@ -150864,7 +150930,7 @@ webhooks: - name - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -150943,14 +151009,14 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -151039,11 +151105,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 + repository: *642 sender: *4 required: - action @@ -151123,11 +151189,11 @@ webhooks: type: string enum: - moved - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 + repository: *642 sender: *4 required: - action @@ -151207,11 +151273,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151291,14 +151357,14 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - project: *683 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -151399,11 +151465,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151482,11 +151548,11 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151567,9 +151633,9 @@ webhooks: type: string enum: - closed - installation: *638 - organization: *639 - projects_v2: &684 + installation: *640 + organization: *641 + projects_v2: &686 title: Projects v2 Project description: A projects v2 project type: object @@ -151717,9 +151783,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -151800,9 +151866,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -151923,9 +151989,9 @@ webhooks: type: string to: type: string - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -152008,7 +152074,7 @@ webhooks: type: string enum: - archived - changes: &688 + changes: &690 type: object properties: archived_at: @@ -152024,9 +152090,9 @@ webhooks: - string - 'null' format: date-time - installation: *638 - organization: *639 - projects_v2_item: &685 + installation: *640 + organization: *641 + projects_v2_item: &687 title: Projects v2 Item description: An item belonging to a project type: object @@ -152165,9 +152231,9 @@ webhooks: - 'null' to: type: string - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152249,9 +152315,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152332,9 +152398,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152439,7 +152505,7 @@ webhooks: oneOf: - type: string - type: integer - - &686 + - &688 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152459,7 +152525,7 @@ webhooks: required: - id - name - - &687 + - &689 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152488,8 +152554,8 @@ webhooks: oneOf: - type: string - type: integer - - *686 - - *687 + - *688 + - *689 type: - 'null' - string @@ -152512,9 +152578,9 @@ webhooks: - 'null' required: - body - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152611,9 +152677,9 @@ webhooks: type: - string - 'null' - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152696,10 +152762,10 @@ webhooks: type: string enum: - restored - changes: *688 - installation: *638 - organization: *639 - projects_v2_item: *685 + changes: *690 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152781,9 +152847,9 @@ webhooks: type: string enum: - reopened - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -152864,9 +152930,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2_status_update: &689 + installation: *640 + organization: *641 + projects_v2_status_update: &691 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153001,9 +153067,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2_status_update: *689 + installation: *640 + organization: *641 + projects_v2_status_update: *691 sender: *4 required: - action @@ -153149,9 +153215,9 @@ webhooks: - string - 'null' format: date - installation: *638 - organization: *639 - projects_v2_status_update: *689 + installation: *640 + organization: *641 + projects_v2_status_update: *691 sender: *4 required: - action @@ -153222,10 +153288,10 @@ webhooks: title: public event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - repository @@ -153302,13 +153368,13 @@ webhooks: type: string enum: - assigned - assignee: *664 - enterprise: *637 - installation: *638 - number: &690 + assignee: *666 + enterprise: *639 + installation: *640 + number: &692 description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -155657,7 +155723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -155739,11 +155805,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -158085,7 +158151,7 @@ webhooks: - draft reason: type: string - repository: *640 + repository: *642 sender: *4 required: - action @@ -158167,11 +158233,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -160513,7 +160579,7 @@ webhooks: - draft reason: type: string - repository: *640 + repository: *642 sender: *4 required: - action @@ -160595,13 +160661,13 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: &691 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: &693 allOf: - - *496 + - *498 - type: object properties: allow_auto_merge: @@ -160663,7 +160729,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *640 + repository: *642 sender: *4 required: - action @@ -160744,12 +160810,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -160829,11 +160895,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *637 - milestone: *395 - number: *690 - organization: *639 - pull_request: &692 + enterprise: *639 + milestone: *397 + number: *692 + organization: *641 + pull_request: &694 title: Pull Request type: object properties: @@ -163160,7 +163226,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -163239,11 +163305,11 @@ webhooks: type: string enum: - dequeued - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -165589,7 +165655,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *640 + repository: *642 sender: *4 required: - action @@ -165713,12 +165779,12 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -165798,11 +165864,11 @@ webhooks: type: string enum: - enqueued - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -168133,7 +168199,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -168213,11 +168279,11 @@ webhooks: type: string enum: - labeled - enterprise: *637 - installation: *638 - label: *663 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + label: *665 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -170565,7 +170631,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -170646,10 +170712,10 @@ webhooks: type: string enum: - locked - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -172995,7 +173061,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -173075,12 +173141,12 @@ webhooks: type: string enum: - milestoned - enterprise: *637 - milestone: *395 - number: *690 - organization: *639 - pull_request: *692 - repository: *640 + enterprise: *639 + milestone: *397 + number: *692 + organization: *641 + pull_request: *694 + repository: *642 sender: *4 required: - action @@ -173159,12 +173225,12 @@ webhooks: type: string enum: - opened - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173245,12 +173311,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173330,12 +173396,12 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173710,9 +173776,9 @@ webhooks: - start_side - side - reactions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -175942,7 +176008,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -176022,7 +176088,7 @@ webhooks: type: string enum: - deleted - comment: &694 + comment: &696 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. @@ -176315,9 +176381,9 @@ webhooks: - start_side - side - reactions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -178535,7 +178601,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -178615,11 +178681,11 @@ webhooks: type: string enum: - edited - changes: *693 - comment: *694 - enterprise: *637 - installation: *638 - organization: *639 + changes: *695 + comment: *696 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -180840,7 +180906,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -180921,9 +180987,9 @@ webhooks: type: string enum: - dismissed - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -183156,7 +183222,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 review: description: The review that was affected. type: object @@ -183402,9 +183468,9 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -185518,8 +185584,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 - review: &695 + repository: *642 + review: &697 description: The review that was affected. type: object properties: @@ -185752,12 +185818,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -188104,7 +188170,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_reviewer: title: User type: @@ -188190,12 +188256,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -190549,7 +190615,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190744,12 +190810,12 @@ webhooks: type: string enum: - review_requested - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -193098,7 +193164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_reviewer: title: User type: @@ -193185,12 +193251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -195530,7 +195596,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195714,9 +195780,9 @@ webhooks: type: string enum: - submitted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -197952,8 +198018,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 - review: *695 + repository: *642 + review: *697 sender: *4 required: - action @@ -198033,9 +198099,9 @@ webhooks: type: string enum: - resolved - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -200166,7 +200232,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 sender: *4 thread: type: object @@ -200558,9 +200624,9 @@ webhooks: type: string enum: - unresolved - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -202674,7 +202740,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 sender: *4 thread: type: object @@ -203068,10 +203134,10 @@ webhooks: type: string before: type: string - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -205406,7 +205472,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -205488,11 +205554,11 @@ webhooks: type: string enum: - unassigned - assignee: *696 - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + assignee: *698 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -207842,7 +207908,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -207921,11 +207987,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *637 - installation: *638 - label: *663 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + label: *665 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -210264,7 +210330,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -210345,10 +210411,10 @@ webhooks: type: string enum: - unlocked - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -212677,7 +212743,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -212880,7 +212946,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *637 + enterprise: *639 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212975,8 +213041,8 @@ webhooks: - url - author - committer - installation: *638 - organization: *639 + installation: *640 + organization: *641 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213564,9 +213630,9 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 registry_package: type: object properties: @@ -214043,7 +214109,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *678 + items: *680 summary: type: string tag_name: @@ -214099,7 +214165,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -214177,9 +214243,9 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 registry_package: type: object properties: @@ -214491,7 +214557,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *678 + items: *680 summary: type: string tag_name: @@ -214541,7 +214607,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -214618,10 +214684,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - release: &697 + enterprise: *639 + installation: *640 + organization: *641 + release: &699 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -214937,7 +215003,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *640 + repository: *642 sender: *4 required: - action @@ -215014,11 +215080,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -215126,11 +215192,11 @@ webhooks: type: boolean required: - to - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -215208,9 +215274,9 @@ webhooks: type: string enum: - prereleased - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -215531,7 +215597,7 @@ webhooks: - string - 'null' format: uri - repository: *640 + repository: *642 sender: *4 required: - action @@ -215607,10 +215673,10 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - release: &698 + enterprise: *639 + installation: *640 + organization: *641 + release: &700 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215928,7 +215994,7 @@ webhooks: - string - 'null' format: uri - repository: *640 + repository: *642 sender: *4 required: - action @@ -216004,11 +216070,11 @@ webhooks: type: string enum: - released - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -216084,11 +216150,11 @@ webhooks: type: string enum: - unpublished - enterprise: *637 - installation: *638 - organization: *639 - release: *698 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *700 + repository: *642 sender: *4 required: - action @@ -216164,11 +216230,11 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - repository_advisory: *549 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + repository_advisory: *551 sender: *4 required: - action @@ -216244,11 +216310,11 @@ webhooks: type: string enum: - reported - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - repository_advisory: *549 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + repository_advisory: *551 sender: *4 required: - action @@ -216324,10 +216390,10 @@ webhooks: type: string enum: - archived - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216404,10 +216470,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216485,10 +216551,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216573,10 +216639,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216691,10 +216757,10 @@ webhooks: - 'null' items: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216766,10 +216832,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 status: type: string @@ -216850,10 +216916,10 @@ webhooks: type: string enum: - privatized - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216930,10 +216996,10 @@ webhooks: type: string enum: - publicized - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217027,10 +217093,10 @@ webhooks: - name required: - repository - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217110,10 +217176,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 sender: *4 required: @@ -217192,10 +217258,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 sender: *4 required: @@ -217274,10 +217340,10 @@ webhooks: type: string enum: - edited - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 changes: type: object @@ -217585,10 +217651,10 @@ webhooks: - from required: - owner - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217666,10 +217732,10 @@ webhooks: type: string enum: - unarchived - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217747,7 +217813,7 @@ webhooks: type: string enum: - create - alert: &699 + alert: &701 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217871,10 +217937,10 @@ webhooks: type: string enum: - open - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218084,10 +218150,10 @@ webhooks: type: string enum: - dismissed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218165,11 +218231,11 @@ webhooks: type: string enum: - reopen - alert: *699 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *701 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218371,10 +218437,10 @@ webhooks: enum: - fixed - open - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218452,7 +218518,7 @@ webhooks: type: string enum: - created - alert: &700 + alert: &702 type: object properties: number: *70 @@ -218529,10 +218595,21 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218613,11 +218690,11 @@ webhooks: type: string enum: - created - alert: *700 - installation: *638 - location: *701 - organization: *639 - repository: *640 + alert: *702 + installation: *640 + location: *703 + organization: *641 + repository: *642 sender: *4 required: - location @@ -218641,6 +218718,8 @@ webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -218793,6 +218872,88 @@ 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: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + sender: *4 + 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: |- @@ -218853,11 +219014,11 @@ webhooks: type: string enum: - reopened - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218935,11 +219096,11 @@ webhooks: type: string enum: - resolved - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -219017,11 +219178,11 @@ webhooks: type: string enum: - validated - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -219097,11 +219258,11 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - security_advisory: &702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + security_advisory: &704 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219287,11 +219448,11 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - security_advisory: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + security_advisory: *704 sender: *4 required: - action @@ -219364,10 +219525,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219554,10 +219715,10 @@ webhooks: type: object properties: security_and_analysis: *232 - enterprise: *637 - installation: *638 - organization: *639 - repository: *291 + enterprise: *639 + installation: *640 + organization: *641 + repository: *293 sender: *4 required: - changes @@ -219635,12 +219796,12 @@ webhooks: type: string enum: - cancelled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: &703 + sponsorship: &705 type: object properties: created_at: @@ -219945,12 +220106,12 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - sponsorship @@ -220038,12 +220199,12 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220120,17 +220281,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &704 + effective_date: &706 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: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - sponsorship @@ -220204,7 +220365,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &705 + changes: &707 type: object properties: tier: @@ -220248,13 +220409,13 @@ webhooks: - from required: - tier - effective_date: *704 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + effective_date: *706 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220331,13 +220492,13 @@ webhooks: type: string enum: - tier_changed - changes: *705 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + changes: *707 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220411,10 +220572,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220498,10 +220659,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220930,15 +221091,15 @@ webhooks: type: - string - 'null' - enterprise: *637 + enterprise: *639 id: description: The unique identifier of the status. type: integer - installation: *638 + installation: *640 name: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 sha: description: The Commit SHA. @@ -221054,9 +221215,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221146,9 +221307,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221238,9 +221399,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221330,9 +221491,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221409,12 +221570,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - team: &706 + team: &708 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221607,9 +221768,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -222079,7 +222240,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -222155,9 +222316,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -222627,7 +222788,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -222704,9 +222865,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -223176,7 +223337,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -223320,9 +223481,9 @@ webhooks: - from required: - permissions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -223792,7 +223953,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - changes @@ -223870,9 +224031,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -224342,7 +224503,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -224418,10 +224579,10 @@ webhooks: type: string enum: - started - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -224494,17 +224655,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *637 + enterprise: *639 inputs: type: - object - 'null' additionalProperties: true - installation: *638 - organization: *639 + installation: *640 + organization: *641 ref: type: string - repository: *640 + repository: *642 sender: *4 workflow: type: string @@ -224586,10 +224747,10 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: allOf: @@ -224845,7 +225006,7 @@ webhooks: type: string required: - conclusion - deployment: *415 + deployment: *417 required: - action - repository @@ -224924,10 +225085,10 @@ webhooks: type: string enum: - in_progress - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: allOf: @@ -225209,7 +225370,7 @@ webhooks: required: - status - steps - deployment: *415 + deployment: *417 required: - action - repository @@ -225288,10 +225449,10 @@ webhooks: type: string enum: - queued - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: type: object @@ -225437,7 +225598,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *417 required: - action - repository @@ -225516,10 +225677,10 @@ webhooks: type: string enum: - waiting - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: type: object @@ -225666,7 +225827,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *417 required: - action - repository @@ -225746,12 +225907,12 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object @@ -226770,12 +226931,12 @@ webhooks: type: string enum: - in_progress - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object @@ -227779,12 +227940,12 @@ webhooks: type: string enum: - requested - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 28dad824da..c5099e601e 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -30533,6 +30533,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": { @@ -31559,6 +31579,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -31688,7 +31722,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, @@ -31774,7 +31810,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -65693,6 +65731,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -66445,6 +66493,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -156289,6 +156347,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": { @@ -157315,6 +157393,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } } @@ -157444,7 +157536,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, @@ -157530,7 +157624,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -468507,6 +468603,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": { @@ -468982,6 +469098,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } } @@ -469044,7 +469174,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, @@ -469063,7 +469195,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] } @@ -469618,635 +469752,20 @@ "inactive", "unknown" ] - } - } - }, - "examples": { - "default": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "resolution_comment": null, - "validity": "unknown" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "404": { - "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - }, - "patch": { - "summary": "Update a secret scanning alert", - "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", - "operationId": "secret-scanning/update-alert", - "tags": [ - "secret-scanning" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "alert_number", - "in": "path", - "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", - "required": true, - "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "state" - ] - }, - "examples": { - "default": { - "value": { - "state": "resolved", - "resolution": "false_positive" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "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 - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "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." - }, - "state": { - "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": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment to resolve an alert." - }, - "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).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." }, - "push_protection_bypassed": { + "publicly_leaked": { "type": [ "boolean", "null" ], - "description": "Whether push protection was bypassed for the detected secret." + "description": "Whether the detected secret was publicly leaked." }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "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" - ] - } - ] - }, - "push_protection_bypassed_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -470258,52 +469777,699 @@ "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "resolved", - "resolution": "used_in_tests", - "resolved_at": "2020-11-16T22:42:07Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, + "state": "open", + "resolution": null, + "resolved_at": null, + "resolved_by": null, "secret_type": "mailchimp_api_key", "secret_type_display_name": "Mailchimp API Key", "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, "push_protection_bypassed_by": null, + "push_protection_bypassed": false, "push_protection_bypassed_at": null, - "resolution_comment": "Example comment", - "validity": "unknown" + "resolution_comment": null, + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } } } } } }, - "400": { - "description": "Bad request, resolution comment is invalid or the resolution was not changed." + "304": { + "description": "Not modified" }, "404": { "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" }, - "422": { - "description": "State does not match the resolution or resolution comment" - }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "secret-scanning" + } + }, + "patch": { + "summary": "Update a secret scanning alert", + "description": "Updates the status of a secret scanning alert in an eligible repository.\n\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "operationId": "secret-scanning/update-alert", + "tags": [ + "secret-scanning" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "required": true, + "schema": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolution_comment": { + "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "state" + ] + }, + "examples": { + "default": { + "value": { + "state": "resolved", + "resolution": "false_positive" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The security alert number.", + "readOnly": true + }, + "created_at": { + "type": "string", + "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "format": "date-time", + "readOnly": true + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] + }, + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true + }, + "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." + }, + "state": { + "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": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment to resolve an alert." + }, + "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).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." + } + } + }, + "examples": { + "default": { + "value": { + "number": 42, + "created_at": "2020-11-06T18:18:30Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", + "state": "resolved", + "resolution": "used_in_tests", + "resolved_at": "2020-11-16T22:42:07Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "mailchimp_api_key", + "secret_type_display_name": "Mailchimp API Key", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", + "push_protection_bypassed": false, + "push_protection_bypassed_by": null, + "push_protection_bypassed_at": null, + "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." + }, + "404": { + "description": "Repository is public, or secret scanning is disabled for the repository, or the resource is not found" + }, + "422": { + "description": "State does not match the resolution or resolution comment" + }, "503": { "description": "Service unavailable", "content": { @@ -1242507,205 +1242673,2185 @@ "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", + "null" + ] + }, + "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", + "null" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "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", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 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", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + 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", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "template_repository": { + "type": [ + "object", + "null" + ], + "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", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + 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", + "examples": [ + "\"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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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", - "null" - ] - }, - "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", - "null" - ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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": { @@ -1244582,7 +1246728,6 @@ }, "required": [ "action", - "changes", "repository", "sender" ] @@ -1244608,13 +1246753,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": [ { @@ -1244679,15 +1246824,187 @@ "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", + "null" + ], + "required": [ + "login", + "id" + ], + "properties": { + "avatar_url": { + "type": "string", + "format": "uri" + }, + "deleted": { + "type": "boolean" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ], + "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).\"", @@ -1246562,6 +1248879,7 @@ }, "required": [ "action", + "alert", "repository", "sender" ] @@ -1246577,21 +1248895,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" }, @@ -1246658,13 +1248974,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": { @@ -1246675,6 +1248991,9 @@ "affected_package_name", "affected_range", "created_at", + "dismiss_reason", + "dismissed_at", + "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1246694,6 +1249013,12 @@ "created_at": { "type": "string" }, + "dismiss_comment": { + "type": [ + "string", + "null" + ] + }, "dismiss_reason": { "type": "string" }, @@ -1246793,6 +1249118,9 @@ "url": { "type": "string", "format": "uri" + }, + "user_view_type": { + "type": "string" } } }, @@ -1246834,7 +1249162,7 @@ "state": { "type": "string", "enum": [ - "open" + "dismissed" ] } } @@ -1248737,11 +1251065,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" }, @@ -1248808,13 +1251136,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": { @@ -1248825,9 +1251153,6 @@ "affected_package_name", "affected_range", "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", "external_identifier", "external_reference", "ghsa_id", @@ -1248847,12 +1251172,6 @@ "created_at": { "type": "string" }, - "dismiss_comment": { - "type": [ - "string", - "null" - ] - }, "dismiss_reason": { "type": "string" }, @@ -1248952,9 +1251271,6 @@ "url": { "type": "string", "format": "uri" - }, - "user_view_type": { - "type": "string" } } }, @@ -1248996,7 +1251312,7 @@ "state": { "type": "string", "enum": [ - "dismissed" + "open" ] } } @@ -1250899,11 +1253215,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" }, @@ -1250970,13 +1253286,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": { @@ -1251146,6 +1253462,7 @@ "state": { "type": "string", "enum": [ + "fixed", "open" ] } @@ -1253049,13 +1255366,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": [ { @@ -1253120,185 +1255437,485 @@ "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": { + "anyOf": [ + { + "type": "null" + }, + { + "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 + } + ] }, - "dismissed_at": { - "type": "string" + "url": { + "type": "string", + "description": "The REST API URL of the alert resource.", + "format": "uri", + "readOnly": true }, - "dismisser": { - "title": "User", + "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": [ - "object", + "string", "null" ], - "required": [ - "login", - "id" + "description": "The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + "resolved_at": { + "type": [ + "string", + "null" ], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { - "type": "boolean" - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "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" + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" }, - "type": { - "type": "string", - "enum": [ - "Bot", - "User", - "Organization" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" ] - }, - "url": { - "type": "string", - "format": "uri" } - } - }, - "external_identifier": { - "type": "string" + ] }, - "external_reference": { + "resolution_comment": { "type": [ "string", "null" ], - "format": "uri" - }, - "fix_reason": { - "type": "string" + "description": "An optional comment to resolve an alert." }, - "fixed_at": { + "secret_type": { "type": "string", - "format": "date-time" + "description": "The type of secret that secret scanning detected." }, - "fixed_in": { - "type": "string" + "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).\"" }, - "ghsa_id": { - "type": "string" + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] }, - "id": { - "type": "integer" + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." }, - "node_id": { - "type": "string" + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "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" + ] + } + ] }, - "number": { - "type": "integer" + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." }, - "severity": { - "type": "string" + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." }, - "state": { - "type": "string", - "enum": [ - "fixed", - "open" - ] + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1255177,8 +1257794,7 @@ "required": [ "action", "alert", - "repository", - "sender" + "repository" ] } } @@ -1255192,21 +1257808,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": [ { @@ -1255271,7 +1257888,7 @@ "content": { "application/json": { "schema": { - "title": "secret_scanning_alert created event", + "title": "Secret Scanning Alert Location Created Event", "type": "object", "properties": { "action": { @@ -1255736,98 +1258353,22 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "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", - "null" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/enterprises/octo-business" - ] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [ - 42 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": [ - "Octo Business" - ] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": [ - "octo-business" - ] - }, - "created_at": { + "publicly_leaked": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:01:12Z" - ] + "description": "Whether the detected secret was publicly leaked." }, - "updated_at": { + "multi_repo": { "type": [ - "string", + "boolean", "null" ], - "format": "date-time", - "examples": [ - "2019-01-26T19:14:43Z" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri" + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] + } }, "installation": { "title": "Simple Installation", @@ -1255854,6 +1258395,354 @@ "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.", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "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", + "examples": [ + "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", + "examples": [ + "/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", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", + "examples": [ + "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.", @@ -1257612,10 +1260501,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" + } + } } } } @@ -1257627,8 +1260691,9 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert", + "subcategory": "secret_scanning_alert_location", "supported-webhook-types": [ "repository", "organization", @@ -1257637,13 +1260702,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": [ { @@ -1257708,13 +1260773,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": { @@ -1258173,9 +1261238,113 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, + "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", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "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).\"", @@ -1258201,354 +1261370,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.", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "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", - "examples": [ - "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", - "examples": [ - "/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", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", - "examples": [ - "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.", @@ -1260307,183 +1263128,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" - } - } } } } @@ -1260495,9 +1263143,8 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", + "subcategory": "secret_scanning_alert", "supported-webhook-types": [ "repository", "organization", @@ -1261042,6 +1263689,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1263479,6 +1266140,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -1265916,6 +1268591,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 1754aebd88..4ddc35b92a 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &250 + type: &252 type: string description: The type of credit the user is receiving. enum: @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &551 + - &553 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1739,7 +1739,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &561 + schema: &563 title: Scim Error description: Scim Error type: object @@ -10018,7 +10018,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &358 + instances_url: &360 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10051,7 +10051,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &359 + dismissed_reason: &361 type: - string - 'null' @@ -10062,14 +10062,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &360 + dismissed_comment: &362 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &361 + rule: &363 type: object properties: id: @@ -10130,7 +10130,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &362 + tool: &364 type: object properties: name: *66 @@ -10141,15 +10141,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *67 - most_recent_instance: &363 + most_recent_instance: &365 type: object properties: - ref: &356 + ref: &358 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &369 + analysis_key: &371 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10160,7 +10160,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &370 + category: &372 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11931,7 +11931,7 @@ paths: - development - runtime - - security_advisory: &407 + security_advisory: &409 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12166,7 +12166,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: &408 + auto_dismissed_at: &410 type: - string - 'null' @@ -12654,6 +12654,24 @@ paths: required: false schema: type: string + - &248 + 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 + - &249 + 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 @@ -12661,7 +12679,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 type: object properties: number: *70 @@ -12677,14 +12695,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &544 + state: &546 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: &545 + resolution: &547 type: - string - 'null' @@ -12749,8 +12767,19 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. examples: - default: &249 + default: &251 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -12870,6 +12899,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 @@ -12952,6 +12983,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false headers: Link: *37 '404': *6 @@ -12983,7 +13016,7 @@ paths: description: Response content: application/json: - schema: &251 + schema: &253 type: object properties: total_minutes_used: @@ -13053,7 +13086,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &252 + default: &254 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13091,7 +13124,7 @@ paths: description: Success content: application/json: - schema: &253 + schema: &255 type: object properties: total_advanced_security_committers: @@ -13154,7 +13187,7 @@ paths: required: - repositories examples: - default: &254 + default: &256 value: total_advanced_security_committers: 2 total_count: 2 @@ -13397,7 +13430,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &257 type: object properties: total_gigabytes_bandwidth_used: @@ -13415,7 +13448,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &256 + default: &258 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -13447,7 +13480,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &259 type: object properties: days_left_in_billing_cycle: @@ -13465,7 +13498,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &258 + default: &260 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14009,7 +14042,7 @@ paths: milestone: anyOf: - type: 'null' - - &395 + - &397 title: Milestone description: A collection of related issues and pull requests. @@ -14259,7 +14292,7 @@ paths: - author_association - created_at - updated_at - comment: &454 + comment: &456 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14827,7 +14860,7 @@ paths: url: type: string format: uri - user: &600 + user: &602 title: Public User description: Public User type: object @@ -18158,14 +18191,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: - - &278 + - &280 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &279 + - &281 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18236,7 +18269,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &292 + '301': &294 description: Moved permanently content: application/json: @@ -18258,7 +18291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &482 + - &484 name: all description: If `true`, show notifications marked as read. in: query @@ -18266,7 +18299,7 @@ paths: schema: type: boolean default: false - - &483 + - &485 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18276,7 +18309,7 @@ paths: type: boolean default: false - *88 - - &484 + - &486 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: @@ -18802,7 +18835,7 @@ paths: - url - subscription_url examples: - default: &485 + default: &487 value: - id: '1' repository: @@ -19355,7 +19388,7 @@ paths: type: array items: *50 examples: - default: &617 + default: &619 value: - login: github id: 1 @@ -19681,6 +19714,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -20306,7 +20349,7 @@ paths: type: integer repository_cache_usages: type: array - items: &297 + items: &299 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20560,7 +20603,7 @@ paths: type: array items: *55 examples: - default: &611 + default: &613 value: total_count: 1 repositories: @@ -21328,7 +21371,7 @@ paths: type: array items: *132 examples: - default: &603 + default: &605 value: total_count: 1 repositories: @@ -22370,7 +22413,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &319 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22405,7 +22448,7 @@ paths: - key_id - key examples: - default: &318 + default: &320 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22816,7 +22859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *114 - - &302 + - &304 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)." @@ -23424,7 +23467,7 @@ paths: repository_id: type: integer examples: - default: &331 + default: &333 value: attestations: - bundle: @@ -23739,7 +23782,7 @@ paths: be returned. in: query required: false - schema: &357 + schema: &359 type: string description: Severity of a code scanning alert. enum: @@ -24915,7 +24958,7 @@ paths: machine: anyOf: - type: 'null' - - &383 + - &385 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -25867,7 +25910,7 @@ paths: - updated_at - visibility examples: - default: &384 + default: &386 value: total_count: 2 secrets: @@ -25905,7 +25948,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -25940,7 +25983,7 @@ paths: - key_id - key examples: - default: &386 + default: &388 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25972,7 +26015,7 @@ paths: application/json: schema: *164 examples: - default: &388 + default: &390 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27674,7 +27717,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &413 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27693,7 +27736,7 @@ paths: - key_id - key examples: - default: &412 + default: &414 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28275,7 +28318,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &275 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28365,7 +28408,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &274 + default: &276 value: group_id: '123' group_name: Octocat admins @@ -28420,7 +28463,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -28460,7 +28503,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &272 + default: &274 value: groups: - group_id: '123' @@ -29270,7 +29313,7 @@ paths: application/json: schema: *20 examples: - default: &450 + default: &452 value: id: 1 account: @@ -29498,7 +29541,7 @@ paths: required: true content: application/json: - schema: &451 + schema: &453 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30118,7 +30161,7 @@ paths: application/json: schema: *202 examples: - default: &382 + default: &384 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31353,7 +31396,7 @@ paths: parameters: - *114 - *208 - - &616 + - &618 name: repo_name description: repo_name parameter in: path @@ -32629,7 +32672,7 @@ paths: - nuget - container - *114 - - &618 + - &620 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32670,7 +32713,7 @@ paths: default: *214 '403': *27 '401': *23 - '400': &620 + '400': &622 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34035,7 +34078,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &289 + '410': &291 description: Gone content: application/json: @@ -34931,7 +34974,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &293 title: Full Repository description: Full Repository type: object @@ -35396,7 +35439,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &401 + code_of_conduct: &403 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -35510,7 +35553,7 @@ paths: - network_count - subscribers_count examples: - default: &293 + default: &295 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36063,7 +36106,7 @@ paths: - *114 - *17 - *18 - - &531 + - &533 name: targets description: | A comma-separated list of rule targets to filter by. @@ -36347,7 +36390,7 @@ paths: type: object description: A repository rule. oneOf: - - &513 + - &515 title: creation description: Only allow users with bypass permission to create matching refs. @@ -36359,7 +36402,7 @@ paths: type: string enum: - creation - - &514 + - &516 title: update description: Only allow users with bypass permission to update matching refs. @@ -36380,7 +36423,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &516 + - &518 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -36392,7 +36435,7 @@ paths: type: string enum: - deletion - - &517 + - &519 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -36404,7 +36447,7 @@ paths: type: string enum: - required_linear_history - - &518 + - &520 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -36482,7 +36525,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &519 + - &521 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -36506,7 +36549,7 @@ paths: type: string required: - required_deployment_environments - - &520 + - &522 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -36518,7 +36561,7 @@ paths: type: string enum: - required_signatures - - &521 + - &523 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -36564,7 +36607,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &522 + - &524 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -36612,7 +36655,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &523 + - &525 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -36624,7 +36667,7 @@ paths: type: string enum: - non_fast_forward - - &524 + - &526 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -36660,7 +36703,7 @@ paths: required: - operator - pattern - - &525 + - &527 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -36696,7 +36739,7 @@ paths: required: - operator - pattern - - &526 + - &528 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -36732,7 +36775,7 @@ paths: required: - operator - pattern - - &527 + - &529 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -36768,7 +36811,7 @@ paths: required: - operator - pattern - - &528 + - &530 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -36894,7 +36937,7 @@ paths: maximum: 100 required: - max_file_size - - &529 + - &531 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -36944,7 +36987,7 @@ paths: - repository_id required: - workflows - - &530 + - &532 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -37181,7 +37224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *114 - - &532 + - &534 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 @@ -37197,7 +37240,7 @@ paths: in: query schema: type: integer - - &533 + - &535 name: time_period description: |- The time period to filter by. @@ -37213,14 +37256,14 @@ paths: - week - month default: day - - &534 + - &536 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 - - &535 + - &537 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -37240,7 +37283,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &538 title: Rule Suites description: Response type: array @@ -37296,7 +37339,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &537 + default: &539 value: - id: 21 actor_id: 12 @@ -37340,7 +37383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *114 - - &538 + - &540 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -37356,7 +37399,7 @@ paths: description: Response content: application/json: - schema: &539 + schema: &541 title: Rule Suite description: Response type: object @@ -37463,7 +37506,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &540 + default: &542 value: id: 21 actor_id: 12 @@ -37681,7 +37724,7 @@ paths: - *65 - *18 - *17 - - &542 + - &544 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 @@ -37691,7 +37734,7 @@ paths: required: false schema: type: string - - &543 + - &545 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 @@ -37702,6 +37745,8 @@ paths: schema: type: string - *247 + - *248 + - *249 responses: '200': description: Response @@ -37709,9 +37754,9 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 headers: Link: *37 '404': *6 @@ -37781,7 +37826,7 @@ paths: application/json: schema: type: array - items: &549 + items: &551 description: A repository security advisory. type: object properties: @@ -38025,7 +38070,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 credits_detailed: type: - array @@ -38036,7 +38081,7 @@ paths: type: object properties: user: *4 - type: *250 + type: *252 state: type: string description: The state of the user's acceptance of the @@ -38100,7 +38145,7 @@ paths: - private_fork additionalProperties: false examples: - default: &550 + default: &552 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -38574,9 +38619,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38608,9 +38653,9 @@ paths: description: Success content: application/json: - schema: *253 + schema: *255 examples: - default: *254 + default: *256 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38638,9 +38683,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38668,9 +38713,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38706,7 +38751,7 @@ paths: description: Response content: application/json: - schema: &280 + schema: &282 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -38758,7 +38803,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &281 + default: &283 value: groups: - group_id: '123' @@ -38970,7 +39015,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &261 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -39350,7 +39395,7 @@ paths: - repos_count - organization examples: - default: &260 + default: &262 value: id: 1 node_id: MDQ6VGVhbTE= @@ -39427,9 +39472,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -39514,16 +39559,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '201': description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 '422': *15 '403': *27 @@ -39593,7 +39638,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -39704,7 +39749,7 @@ paths: - updated_at - url examples: - default: &590 + default: &592 value: - author: login: octocat @@ -39813,9 +39858,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &262 + default: &264 value: author: login: octocat @@ -39889,7 +39934,7 @@ paths: parameters: - *114 - *210 - - &263 + - &265 name: discussion_number description: The number that identifies the discussion. in: path @@ -39901,9 +39946,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39927,7 +39972,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: false content: @@ -39950,9 +39995,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &591 + default: &593 value: author: login: octocat @@ -40024,7 +40069,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 responses: '204': description: Response @@ -40052,7 +40097,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 - *65 - *17 - *18 @@ -40063,7 +40108,7 @@ paths: application/json: schema: type: array - items: &264 + items: &266 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -40143,7 +40188,7 @@ paths: - updated_at - url examples: - default: &592 + default: &594 value: - author: login: octocat @@ -40213,7 +40258,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: true content: @@ -40235,9 +40280,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &265 + default: &267 value: author: login: octocat @@ -40305,8 +40350,8 @@ paths: parameters: - *114 - *210 - - *263 - - &266 + - *265 + - &268 name: comment_number description: The number that identifies the comment. in: path @@ -40318,9 +40363,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40344,8 +40389,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 requestBody: required: true content: @@ -40367,9 +40412,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: &593 + default: &595 value: author: login: octocat @@ -40435,8 +40480,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 responses: '204': description: Response @@ -40464,8 +40509,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 - 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. @@ -40491,7 +40536,7 @@ paths: application/json: schema: type: array - items: &267 + items: &269 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -40535,7 +40580,7 @@ paths: - content - created_at examples: - default: &269 + default: &271 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40587,8 +40632,8 @@ paths: parameters: - *114 - *210 - - *263 - - *266 + - *265 + - *268 requestBody: required: true content: @@ -40621,9 +40666,9 @@ paths: team discussion comment content: application/json: - schema: *267 + schema: *269 examples: - default: &268 + default: &270 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -40652,9 +40697,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40679,9 +40724,9 @@ paths: parameters: - *114 - *210 - - *263 - - *266 - - &270 + - *265 + - *268 + - &272 name: reaction_id description: The unique identifier of the reaction. in: path @@ -40715,7 +40760,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 - 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. @@ -40741,9 +40786,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -40771,7 +40816,7 @@ paths: parameters: - *114 - *210 - - *263 + - *265 requestBody: required: true content: @@ -40803,16 +40848,16 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40837,8 +40882,8 @@ paths: parameters: - *114 - *210 - - *263 - - *270 + - *265 + - *272 responses: '204': description: Response @@ -40868,9 +40913,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40914,9 +40959,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41057,7 +41102,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &277 title: Team Membership description: Team Membership type: object @@ -41085,7 +41130,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &594 + response-if-user-is-a-team-maintainer: &596 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -41148,9 +41193,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-users-membership-with-team-is-now-pending: &595 + response-if-users-membership-with-team-is-now-pending: &597 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -41224,7 +41269,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Team Project description: A team's access to a project. type: object @@ -41293,7 +41338,7 @@ paths: - updated_at - permissions examples: - default: &596 + default: &598 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41356,7 +41401,7 @@ paths: parameters: - *114 - *210 - - &277 + - &279 name: project_id description: The unique identifier of the project. in: path @@ -41368,9 +41413,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: &597 + default: &599 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -41432,7 +41477,7 @@ paths: parameters: - *114 - *210 - - *277 + - *279 requestBody: required: false content: @@ -41499,7 +41544,7 @@ paths: parameters: - *114 - *210 - - *277 + - *279 responses: '204': description: Response @@ -41567,14 +41612,14 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &598 + schema: &600 title: Team Repository description: A team's access to a repository. type: object @@ -42217,8 +42262,8 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -42265,8 +42310,8 @@ paths: parameters: - *114 - *210 - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -42299,9 +42344,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42367,7 +42412,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -42412,7 +42457,7 @@ paths: type: array items: *198 examples: - response-if-child-teams-exist: &599 + response-if-child-teams-exist: &601 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -42536,7 +42581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &282 + - &284 name: card_id description: The unique identifier of the card. in: path @@ -42548,7 +42593,7 @@ paths: description: Response content: application/json: - schema: &283 + schema: &285 title: Project Card description: Project cards represent a scope of work. type: object @@ -42623,7 +42668,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &286 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -42673,7 +42718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *282 + - *284 requestBody: required: false content: @@ -42703,9 +42748,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 '304': *35 '403': *27 '401': *23 @@ -42726,7 +42771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *282 + - *284 responses: '204': description: Response @@ -42764,7 +42809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *282 + - *284 requestBody: required: true content: @@ -42871,7 +42916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &285 + - &287 name: column_id description: The unique identifier of the column. in: path @@ -42883,7 +42928,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &288 title: Project Column description: Project columns contain cards of work. type: object @@ -42937,7 +42982,7 @@ paths: - created_at - updated_at examples: - default: &287 + default: &289 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -42966,7 +43011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *285 + - *287 requestBody: required: true content: @@ -42991,9 +43036,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 '304': *35 '403': *27 '401': *23 @@ -43012,7 +43057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *285 + - *287 responses: '204': description: Response @@ -43035,7 +43080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *285 + - *287 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43056,7 +43101,7 @@ paths: application/json: schema: type: array - items: *283 + items: *285 examples: default: value: @@ -43109,7 +43154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *285 + - *287 requestBody: required: true content: @@ -43153,9 +43198,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *285 examples: - default: *284 + default: *286 '304': *35 '403': *27 '401': *23 @@ -43205,7 +43250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *285 + - *287 requestBody: required: true content: @@ -43262,7 +43307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *277 + - *279 responses: '200': description: Response @@ -43270,7 +43315,7 @@ paths: application/json: schema: *226 examples: - default: &288 + default: &290 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -43323,7 +43368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *277 + - *279 requestBody: required: false content: @@ -43374,7 +43419,7 @@ paths: application/json: schema: *226 examples: - default: *288 + default: *290 '404': description: Not Found if the authenticated user does not have access to the project @@ -43395,7 +43440,7 @@ paths: items: type: string '401': *23 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -43413,7 +43458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *277 + - *279 responses: '204': description: Delete Success @@ -43434,7 +43479,7 @@ paths: items: type: string '401': *23 - '410': *289 + '410': *291 '404': *6 x-github: githubCloudOnly: false @@ -43457,7 +43502,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *277 + - *279 - 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 @@ -43509,7 +43554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *277 + - *279 - *154 requestBody: required: false @@ -43559,7 +43604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *277 + - *279 - *154 responses: '204': @@ -43588,7 +43633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *277 + - *279 - *154 responses: '200': @@ -43653,7 +43698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *277 + - *279 - *17 - *18 responses: @@ -43663,7 +43708,7 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: default: value: @@ -43695,7 +43740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *277 + - *279 requestBody: required: true content: @@ -43719,7 +43764,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -43780,7 +43825,7 @@ paths: resources: type: object properties: - core: &290 + core: &292 title: Rate Limit type: object properties: @@ -43797,19 +43842,19 @@ paths: - remaining - reset - used - graphql: *290 - search: *290 - code_search: *290 - source_import: *290 - integration_manifest: *290 - code_scanning_upload: *290 - actions_runner_registration: *290 - scim: *290 - dependency_snapshots: *290 + graphql: *292 + search: *292 + code_search: *292 + source_import: *292 + integration_manifest: *292 + code_scanning_upload: *292 + actions_runner_registration: *292 + scim: *292 + dependency_snapshots: *292 required: - core - search - rate: *290 + rate: *292 required: - rate - resources @@ -43908,14 +43953,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *291 + schema: *293 examples: default-response: summary: Default response @@ -44420,7 +44465,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *292 + '301': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44438,8 +44483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -44686,10 +44731,10 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 - '307': &294 + default: *295 + '307': &296 description: Temporary Redirect content: application/json: @@ -44718,8 +44763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -44741,7 +44786,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': *294 + '307': *296 '404': *6 x-github: githubCloudOnly: false @@ -44764,11 +44809,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - - &309 + - &311 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -44791,7 +44836,7 @@ paths: type: integer artifacts: type: array - items: &295 + items: &297 title: Artifact description: An artifact type: object @@ -44877,7 +44922,7 @@ paths: - expires_at - updated_at examples: - default: &310 + default: &312 value: total_count: 2 artifacts: @@ -44936,9 +44981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *278 - - *279 - - &296 + - *280 + - *281 + - &298 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44950,7 +44995,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *297 examples: default: value: @@ -44987,9 +45032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *278 - - *279 - - *296 + - *280 + - *281 + - *298 responses: '204': description: Response @@ -45013,9 +45058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *278 - - *279 - - *296 + - *280 + - *281 + - *298 - name: archive_format in: path required: true @@ -45029,7 +45074,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': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45052,14 +45097,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: default: value: @@ -45085,11 +45130,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: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - - &298 + - &300 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 @@ -45123,7 +45168,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &301 title: Repository actions caches description: Repository actions caches type: object @@ -45173,7 +45218,7 @@ paths: - total_count - actions_caches examples: - default: &300 + default: &302 value: total_count: 1 actions_caches: @@ -45205,23 +45250,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: - - *278 - - *279 + - *280 + - *281 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *298 + - *300 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45241,8 +45286,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: - - *278 - - *279 + - *280 + - *281 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -45273,9 +45318,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: - - *278 - - *279 - - &301 + - *280 + - *281 + - &303 name: job_id description: The unique identifier of the job. in: path @@ -45287,7 +45332,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &315 title: Job description: Information of a job execution in a workflow run type: object @@ -45634,9 +45679,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: - - *278 - - *279 - - *301 + - *280 + - *281 + - *303 responses: '302': description: Response @@ -45664,9 +45709,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: - - *278 - - *279 - - *301 + - *280 + - *281 + - *303 requestBody: required: false content: @@ -45712,8 +45757,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Status response @@ -45763,8 +45808,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -45827,8 +45872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -45846,7 +45891,7 @@ paths: type: integer secrets: type: array - items: &315 + items: &317 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -45867,7 +45912,7 @@ paths: - created_at - updated_at examples: - default: &316 + default: &318 value: total_count: 2 secrets: @@ -45900,9 +45945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *278 - - *279 - - *302 + - *280 + - *281 + - *304 - *18 responses: '200': @@ -45919,7 +45964,7 @@ paths: type: integer variables: type: array - items: &319 + items: &321 title: Actions Variable type: object properties: @@ -45953,7 +45998,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &322 value: total_count: 2 variables: @@ -45986,8 +46031,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -45996,7 +46041,7 @@ paths: schema: type: object properties: - enabled: &303 + enabled: &305 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 @@ -46029,8 +46074,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -46041,7 +46086,7 @@ paths: schema: type: object properties: - enabled: *303 + enabled: *305 allowed_actions: *40 required: - enabled @@ -46072,14 +46117,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &304 + schema: &306 type: object properties: access_level: @@ -46097,7 +46142,7 @@ paths: required: - access_level examples: - default: &305 + default: &307 value: access_level: organization x-github: @@ -46122,15 +46167,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 responses: '204': description: Response @@ -46154,8 +46199,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46186,8 +46231,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -46219,8 +46264,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46249,8 +46294,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Success response @@ -46290,8 +46335,8 @@ paths: in: query schema: type: string - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -46335,8 +46380,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -46368,8 +46413,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -46442,8 +46487,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: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -46479,8 +46524,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: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -46510,8 +46555,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': @@ -46541,8 +46586,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '204': @@ -46568,8 +46613,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': *58 @@ -46594,8 +46639,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: - - *278 - - *279 + - *280 + - *281 - *52 requestBody: required: true @@ -46644,8 +46689,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: - - *278 - - *279 + - *280 + - *281 - *52 requestBody: required: true @@ -46695,8 +46740,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: - - *278 - - *279 + - *280 + - *281 - *52 responses: '200': *139 @@ -46726,8 +46771,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: - - *278 - - *279 + - *280 + - *281 - *52 - *140 responses: @@ -46757,9 +46802,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: - - *278 - - *279 - - &323 + - *280 + - *281 + - &325 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. @@ -46767,7 +46812,7 @@ paths: required: false schema: type: string - - &324 + - &326 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -46775,7 +46820,7 @@ paths: required: false schema: type: string - - &325 + - &327 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -46784,7 +46829,7 @@ paths: required: false schema: type: string - - &326 + - &328 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 @@ -46811,7 +46856,7 @@ paths: - pending - *17 - *18 - - &327 + - &329 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)." @@ -46820,7 +46865,7 @@ paths: schema: type: string format: date-time - - &306 + - &308 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -46829,13 +46874,13 @@ paths: schema: type: boolean default: false - - &328 + - &330 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &329 + - &331 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -46858,7 +46903,7 @@ paths: type: integer workflow_runs: type: array - items: &307 + items: &309 title: Workflow Run description: An invocation of a workflow type: object @@ -46975,7 +47020,7 @@ paths: type: - array - 'null' - items: &348 + items: &350 title: Pull Request Minimal type: object properties: @@ -47102,7 +47147,7 @@ paths: head_commit: anyOf: - type: 'null' - - &352 + - &354 title: Simple Commit description: A commit. type: object @@ -47217,7 +47262,7 @@ paths: - workflow_url - pull_requests examples: - default: &330 + default: &332 value: total_count: 1 workflow_runs: @@ -47453,24 +47498,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *278 - - *279 - - &308 + - *280 + - *281 + - &310 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *306 + - *308 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &311 + default: &313 value: id: 30433642 name: Build @@ -47711,9 +47756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '204': description: Response @@ -47736,9 +47781,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -47866,9 +47911,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '201': description: Response @@ -47901,12 +47946,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 - *17 - *18 - - *309 + - *311 responses: '200': description: Response @@ -47922,9 +47967,9 @@ paths: type: integer artifacts: type: array - items: *295 + items: *297 examples: - default: *310 + default: *312 headers: Link: *37 x-github: @@ -47948,25 +47993,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *278 - - *279 - - *308 - - &312 + - *280 + - *281 + - *310 + - &314 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *306 + - *308 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *311 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47989,10 +48034,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: - - *278 - - *279 - - *308 - - *312 + - *280 + - *281 + - *310 + - *314 - *17 - *18 responses: @@ -48010,9 +48055,9 @@ paths: type: integer jobs: type: array - items: *313 + items: *315 examples: - default: &314 + default: &316 value: total_count: 1 jobs: @@ -48125,10 +48170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *278 - - *279 - - *308 - - *312 + - *280 + - *281 + - *310 + - *314 responses: '302': description: Response @@ -48156,9 +48201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '202': description: Response @@ -48191,9 +48236,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: true content: @@ -48260,9 +48305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '202': description: Response @@ -48295,9 +48340,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 - 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 @@ -48327,9 +48372,9 @@ paths: type: integer jobs: type: array - items: *313 + items: *315 examples: - default: *314 + default: *316 headers: Link: *37 x-github: @@ -48354,9 +48399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '302': description: Response @@ -48383,9 +48428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '204': description: Response @@ -48412,9 +48457,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -48483,7 +48528,7 @@ paths: items: type: object properties: - type: &420 + type: &422 type: string description: The type of reviewer. enum: @@ -48569,9 +48614,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: true content: @@ -48621,7 +48666,7 @@ paths: application/json: schema: type: array - items: &415 + items: &417 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -48733,7 +48778,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &418 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -48789,9 +48834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: false content: @@ -48836,9 +48881,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: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 requestBody: required: false content: @@ -48885,9 +48930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *278 - - *279 - - *308 + - *280 + - *281 + - *310 responses: '200': description: Response @@ -49024,8 +49069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -49043,9 +49088,9 @@ paths: type: integer secrets: type: array - items: *315 + items: *317 examples: - default: *316 + default: *318 headers: Link: *37 x-github: @@ -49070,16 +49115,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49101,17 +49146,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: &433 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49137,8 +49182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -49193,8 +49238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -49220,9 +49265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *278 - - *279 - - *302 + - *280 + - *281 + - *304 - *18 responses: '200': @@ -49239,9 +49284,9 @@ paths: type: integer variables: type: array - items: *319 + items: *321 examples: - default: *320 + default: *322 headers: Link: *37 x-github: @@ -49264,8 +49309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -49317,17 +49362,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: &434 + default: &436 value: name: USERNAME value: octocat @@ -49353,8 +49398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 requestBody: required: true @@ -49397,8 +49442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 responses: '204': @@ -49424,8 +49469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -49443,7 +49488,7 @@ paths: type: integer workflows: type: array - items: &321 + items: &323 title: Workflow description: A GitHub Actions workflow type: object @@ -49561,9 +49606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *278 - - *279 - - &322 + - *280 + - *281 + - &324 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -49578,7 +49623,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -49611,9 +49656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49638,9 +49683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49691,9 +49736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '204': description: Response @@ -49718,19 +49763,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: - - *278 - - *279 - - *322 - - *323 + - *280 + - *281 - *324 - *325 - *326 - - *17 - - *18 - *327 - - *306 - *328 + - *17 + - *18 - *329 + - *308 + - *330 + - *331 responses: '200': description: Response @@ -49746,9 +49791,9 @@ paths: type: integer workflow_runs: type: array - items: *307 + items: *309 examples: - default: *330 + default: *332 headers: Link: *37 x-github: @@ -49774,9 +49819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *278 - - *279 - - *322 + - *280 + - *281 + - *324 responses: '200': description: Response @@ -49837,8 +49882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *278 - - *279 + - *280 + - *281 - *65 - *17 - *63 @@ -50006,8 +50051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -50044,8 +50089,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: - - *278 - - *279 + - *280 + - *281 - name: assignee in: path required: true @@ -50081,8 +50126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -50194,8 +50239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *63 - *64 @@ -50239,7 +50284,7 @@ paths: repository_id: type: integer examples: - default: *331 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50259,8 +50304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -50268,7 +50313,7 @@ paths: application/json: schema: type: array - items: &332 + items: &334 title: Autolink reference description: An autolink reference. type: object @@ -50322,8 +50367,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -50362,9 +50407,9 @@ paths: description: response content: application/json: - schema: *332 + schema: *334 examples: - default: &333 + default: &335 value: id: 1 key_prefix: TICKET- @@ -50395,9 +50440,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: - - *278 - - *279 - - &334 + - *280 + - *281 + - &336 name: autolink_id description: The unique identifier of the autolink. in: path @@ -50409,9 +50454,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *334 examples: - default: *333 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -50431,9 +50476,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: - - *278 - - *279 - - *334 + - *280 + - *281 + - *336 responses: '204': description: Response @@ -50457,8 +50502,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response if Dependabot is enabled @@ -50508,8 +50553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -50530,8 +50575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -50551,8 +50596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *278 - - *279 + - *280 + - *281 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -50590,7 +50635,7 @@ paths: - url protected: type: boolean - protection: &336 + protection: &338 title: Branch Protection description: Branch Protection type: object @@ -50633,7 +50678,7 @@ paths: required: - contexts - checks - enforce_admins: &339 + enforce_admins: &341 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -50650,7 +50695,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &341 + required_pull_request_reviews: &343 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -50734,7 +50779,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &338 + restrictions: &340 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51059,9 +51104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *278 - - *279 - - &337 + - *280 + - *281 + - &339 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). @@ -51075,14 +51120,14 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &391 + commit: &393 title: Commit description: Commit type: object @@ -51121,7 +51166,7 @@ paths: author: anyOf: - type: 'null' - - &335 + - &337 title: Git User description: Metaproperties for Git author/committer information. @@ -51142,7 +51187,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 message: type: string examples: @@ -51166,7 +51211,7 @@ paths: required: - sha - url - verification: &440 + verification: &442 title: Verification type: object properties: @@ -51241,7 +51286,7 @@ paths: type: integer files: type: array - items: &403 + items: &405 title: Diff Entry description: Diff Entry type: object @@ -51335,7 +51380,7 @@ paths: - self protected: type: boolean - protection: *336 + protection: *338 protection_url: type: string format: uri @@ -51443,7 +51488,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *292 + '301': *294 '404': *6 x-github: githubCloudOnly: false @@ -51465,15 +51510,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -51667,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -51929,7 +51974,7 @@ paths: url: type: string format: uri - required_status_checks: &344 + required_status_checks: &346 title: Status Check Policy description: Status Check Policy type: object @@ -52088,7 +52133,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *338 + restrictions: *340 required_conversation_resolution: type: object properties: @@ -52200,9 +52245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52227,17 +52272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: &340 + default: &342 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52259,17 +52304,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,9 +52333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52315,17 +52360,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: &342 + default: &344 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52421,9 +52466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52521,9 +52566,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -52544,9 +52589,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52573,17 +52618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: &343 + default: &345 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -52606,17 +52651,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *343 + default: *345 '404': *6 x-github: githubCloudOnly: false @@ -52636,9 +52681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52663,17 +52708,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: &345 + default: &347 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -52699,9 +52744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52753,9 +52798,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *346 examples: - default: *345 + default: *347 '404': *6 '422': *15 x-github: @@ -52777,9 +52822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -52803,9 +52848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -52839,9 +52884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52908,9 +52953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -52974,9 +53019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: content: application/json: @@ -53042,15 +53087,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -53141,9 +53186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '204': description: Response @@ -53166,9 +53211,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53178,7 +53223,7 @@ paths: type: array items: *5 examples: - default: &346 + default: &348 value: - id: 1 slug: octoapp @@ -53235,9 +53280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53271,7 +53316,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53292,9 +53337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53328,7 +53373,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53349,9 +53394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53385,7 +53430,7 @@ paths: type: array items: *5 examples: - default: *346 + default: *348 '422': *15 x-github: githubCloudOnly: false @@ -53407,9 +53452,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53439,9 +53484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -53500,9 +53545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: false content: @@ -53561,9 +53606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: content: application/json: @@ -53622,9 +53667,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: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 responses: '200': description: Response @@ -53658,9 +53703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53718,9 +53763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53778,9 +53823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53840,9 +53885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 requestBody: required: true content: @@ -53864,7 +53909,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: default: value: @@ -53979,8 +54024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -54259,7 +54304,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54394,8 +54439,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *348 - deployment: &649 + items: *350 + deployment: &651 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -54682,9 +54727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *278 - - *279 - - &350 + - *280 + - *281 + - &352 name: check_run_id description: The unique identifier of the check run. in: path @@ -54696,9 +54741,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &351 + default: &353 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -54798,9 +54843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 requestBody: required: true content: @@ -55040,9 +55085,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55062,9 +55107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 - *17 - *18 responses: @@ -55176,9 +55221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *278 - - *279 - - *350 + - *280 + - *281 + - *352 responses: '201': description: Response @@ -55222,8 +55267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -55245,7 +55290,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &353 + schema: &355 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55326,7 +55371,7 @@ paths: type: - array - 'null' - items: *348 + items: *350 app: anyOf: - type: 'null' @@ -55342,7 +55387,7 @@ paths: - string - 'null' format: date-time - head_commit: *352 + head_commit: *354 latest_check_runs_count: type: integer check_runs_url: @@ -55370,7 +55415,7 @@ paths: - check_runs_url - pull_requests examples: - default: &354 + default: &356 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -55661,9 +55706,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55682,8 +55727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -55992,9 +56037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *278 - - *279 - - &355 + - *280 + - *281 + - &357 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56006,9 +56051,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *355 examples: - default: *354 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56031,17 +56076,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: - - *278 - - *279 - - *355 - - &398 + - *280 + - *281 + - *357 + - &400 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &399 + - &401 name: status description: Returns check runs with the specified `status`. in: query @@ -56080,9 +56125,9 @@ paths: type: integer check_runs: type: array - items: *349 + items: *351 examples: - default: &400 + default: &402 value: total_count: 1 check_runs: @@ -56184,9 +56229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *278 - - *279 - - *355 + - *280 + - *281 + - *357 responses: '201': description: Response @@ -56219,21 +56264,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: - - *278 - - *279 + - *280 + - *281 - *155 - *156 - *18 - *17 - - &367 + - &369 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: *356 - - &368 + schema: *358 + - &370 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56264,7 +56309,7 @@ paths: be returned. in: query required: false - schema: *357 + schema: *359 responses: '200': description: Response @@ -56280,7 +56325,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *358 + instances_url: *360 state: *68 fixed_at: *79 dismissed_by: @@ -56288,11 +56333,11 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *359 - dismissed_comment: *360 - rule: *361 - tool: *362 - most_recent_instance: *363 + dismissed_reason: *361 + dismissed_comment: *362 + rule: *363 + tool: *364 + most_recent_instance: *365 required: - number - created_at @@ -56408,7 +56453,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &364 + '403': &366 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56435,9 +56480,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: - - *278 - - *279 - - &365 + - *280 + - *281 + - &367 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56451,7 +56496,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &368 type: object properties: number: *70 @@ -56459,7 +56504,7 @@ paths: updated_at: *77 url: *74 html_url: *75 - instances_url: *358 + instances_url: *360 state: *68 fixed_at: *79 dismissed_by: @@ -56467,8 +56512,8 @@ paths: - type: 'null' - *4 dismissed_at: *78 - dismissed_reason: *359 - dismissed_comment: *360 + dismissed_reason: *361 + dismissed_comment: *362 rule: type: object properties: @@ -56530,8 +56575,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *362 - most_recent_instance: *363 + tool: *364 + most_recent_instance: *365 required: - number - created_at @@ -56620,7 +56665,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -56640,9 +56685,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 requestBody: required: true content: @@ -56657,8 +56702,8 @@ paths: enum: - open - dismissed - dismissed_reason: *359 - dismissed_comment: *360 + dismissed_reason: *361 + dismissed_comment: *362 required: - state examples: @@ -56673,7 +56718,7 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: default: value: @@ -56748,7 +56793,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &373 + '403': &375 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -56775,13 +56820,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 - *18 - *17 - - *367 - - *368 + - *369 + - *370 responses: '200': description: Response @@ -56789,7 +56834,7 @@ paths: application/json: schema: type: array - items: *363 + items: *365 examples: default: value: @@ -56828,7 +56873,7 @@ paths: end_column: 50 classifications: - source - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -56862,25 +56907,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: - - *278 - - *279 + - *280 + - *281 - *155 - *156 - *18 - *17 - - *368 + - *370 - 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: *356 + schema: *358 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &371 + schema: &373 type: string description: An identifier for the upload. examples: @@ -56902,23 +56947,23 @@ paths: application/json: schema: type: array - items: &372 + items: &374 type: object properties: - ref: *356 - commit_sha: &381 + ref: *358 + commit_sha: &383 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: *369 + analysis_key: *371 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *370 + category: *372 error: type: string examples: @@ -56943,8 +56988,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *371 - tool: *362 + sarif_id: *373 + tool: *364 deletable: type: boolean warning: @@ -57006,7 +57051,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57042,8 +57087,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: - - *278 - - *279 + - *280 + - *281 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57056,7 +57101,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: response: summary: application/json response @@ -57110,7 +57155,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57192,8 +57237,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: - - *278 - - *279 + - *280 + - *281 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57249,7 +57294,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *373 + '403': *375 '404': *6 '503': *81 x-github: @@ -57271,8 +57316,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -57280,7 +57325,7 @@ paths: application/json: schema: type: array - items: &374 + items: &376 title: CodeQL Database description: A CodeQL database. type: object @@ -57392,7 +57437,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': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57421,8 +57466,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: - - *278 - - *279 + - *280 + - *281 - name: language in: path description: The language of the CodeQL database. @@ -57434,7 +57479,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -57466,9 +57511,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': &405 + '302': &407 description: Found - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -57496,8 +57541,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -57506,7 +57551,7 @@ paths: type: object additionalProperties: false properties: - language: &375 + language: &377 type: string description: The language targeted by the CodeQL query enum: @@ -57584,7 +57629,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &379 + schema: &381 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -57594,7 +57639,7 @@ paths: description: The ID of the variant analysis. controller_repo: *80 actor: *4 - query_language: *375 + query_language: *377 query_pack_url: type: string description: The download url for the query pack. @@ -57642,7 +57687,7 @@ paths: items: type: object properties: - repository: &376 + repository: &378 title: Repository Identifier description: Repository Identifier type: object @@ -57684,7 +57729,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &380 + analysis_status: &382 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57716,7 +57761,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &377 + access_mismatch_repos: &379 type: object properties: repository_count: @@ -57731,7 +57776,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: *376 + items: *378 required: - repository_count - repositories @@ -57754,8 +57799,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *377 - over_limit_repos: *377 + no_codeql_db_repos: *379 + over_limit_repos: *379 required: - access_mismatch_repos - not_found_repos @@ -57771,7 +57816,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &378 + value: &380 summary: Default response value: id: 1 @@ -57923,10 +57968,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *378 + value: *380 repository_lists: summary: Response for a successful variant analysis submission - value: *378 + value: *380 '404': *6 '422': description: Unable to process variant analysis submission @@ -57954,8 +57999,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: - - *278 - - *279 + - *280 + - *281 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57967,9 +58012,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *378 + default: *380 '404': *6 '503': *81 x-github: @@ -57992,7 +58037,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: - - *278 + - *280 - name: repo in: path description: The name of the controller repository. @@ -58027,7 +58072,7 @@ paths: type: object properties: repository: *80 - analysis_status: *380 + analysis_status: *382 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58152,8 +58197,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -58218,7 +58263,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *364 + '403': *366 '404': *6 '503': *81 x-github: @@ -58239,8 +58284,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -58310,7 +58355,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *373 + '403': *375 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -58375,8 +58420,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -58384,7 +58429,7 @@ paths: schema: type: object properties: - commit_sha: *381 + commit_sha: *383 ref: type: string description: |- @@ -58444,7 +58489,7 @@ paths: schema: type: object properties: - id: *371 + id: *373 url: type: string description: The REST API URL for checking the status of the upload. @@ -58458,7 +58503,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': *373 + '403': *375 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -58481,8 +58526,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: - - *278 - - *279 + - *280 + - *281 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -58530,7 +58575,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': *364 + '403': *366 '404': description: Not Found if the sarif id does not match any upload '503': *81 @@ -58555,8 +58600,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -58633,8 +58678,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *278 - - *279 + - *280 + - *281 - 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 @@ -58762,8 +58807,8 @@ paths: parameters: - *17 - *18 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -59077,8 +59122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -59144,7 +59189,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -59152,7 +59197,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '400': *14 '401': *23 '403': *27 @@ -59181,8 +59226,8 @@ paths: parameters: - *17 - *18 - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -59246,8 +59291,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: - - *278 - - *279 + - *280 + - *281 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59284,9 +59329,9 @@ paths: type: integer machines: type: array - items: *383 + items: *385 examples: - default: &606 + default: &608 value: total_count: 2 machines: @@ -59326,8 +59371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *278 - - *279 + - *280 + - *281 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59414,8 +59459,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: - - *278 - - *279 + - *280 + - *281 - 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 @@ -59484,8 +59529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -59503,7 +59548,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &389 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -59524,7 +59569,7 @@ paths: - created_at - updated_at examples: - default: *384 + default: *386 headers: Link: *37 x-github: @@ -59547,16 +59592,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59576,17 +59621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59606,8 +59651,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: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -59660,8 +59705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -59690,8 +59735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *278 - - *279 + - *280 + - *281 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59729,7 +59774,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Collaborator description: Collaborator type: object @@ -59922,8 +59967,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: - - *278 - - *279 + - *280 + - *281 - *154 responses: '204': @@ -59966,8 +60011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *278 - - *279 + - *280 + - *281 - *154 requestBody: required: false @@ -59994,7 +60039,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &453 + schema: &455 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60215,8 +60260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *278 - - *279 + - *280 + - *281 - *154 responses: '204': @@ -60246,8 +60291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *278 - - *279 + - *280 + - *281 - *154 responses: '200': @@ -60268,7 +60313,7 @@ paths: user: anyOf: - type: 'null' - - *389 + - *391 required: - permission - role_name @@ -60322,8 +60367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -60333,7 +60378,7 @@ paths: application/json: schema: type: array - items: &390 + items: &392 title: Commit Comment description: Commit Comment type: object @@ -60391,7 +60436,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &395 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60450,17 +60495,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *390 + schema: *392 examples: - default: &394 + default: &396 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60517,8 +60562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -60541,7 +60586,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *392 examples: default: value: @@ -60592,8 +60637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -60615,8 +60660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -60643,9 +60688,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -60666,8 +60711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -60700,16 +60745,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -60731,10 +60776,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -60782,8 +60827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *278 - - *279 + - *280 + - *281 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60839,9 +60884,9 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: - default: &500 + default: &502 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60934,9 +60979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *278 - - *279 - - &392 + - *280 + - *281 + - &394 name: commit_sha description: The SHA of the commit. in: path @@ -61008,9 +61053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 - *17 - *18 responses: @@ -61020,9 +61065,9 @@ paths: application/json: schema: type: array - items: *390 + items: *392 examples: - default: *393 + default: *395 headers: Link: *37 x-github: @@ -61050,9 +61095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 requestBody: required: true content: @@ -61087,9 +61132,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *392 examples: - default: *394 + default: *396 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61117,9 +61162,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: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 - *17 - *18 responses: @@ -61129,7 +61174,7 @@ paths: application/json: schema: type: array - items: &491 + items: &493 title: Pull Request Simple description: Pull Request Simple type: object @@ -61249,7 +61294,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 active_lock_reason: type: - string @@ -61348,7 +61393,7 @@ paths: _links: type: object properties: - comments: &396 + comments: &398 title: Link description: Hypermedia Link type: object @@ -61357,13 +61402,13 @@ paths: type: string required: - href - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -61374,7 +61419,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: &493 + auto_merge: &495 title: Auto merge description: The status of auto merging a pull request. type: @@ -61439,7 +61484,7 @@ paths: - author_association - auto_merge examples: - default: &492 + default: &494 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61975,11 +62020,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 - - &397 + - &399 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)" @@ -61994,9 +62039,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: &479 + default: &481 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62108,11 +62153,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: - - *278 - - *279 - - *397 - - *398 + - *280 + - *281 - *399 + - *400 + - *401 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62146,9 +62191,9 @@ paths: type: integer check_runs: type: array - items: *349 + items: *351 examples: - default: *400 + default: *402 headers: Link: *37 x-github: @@ -62173,9 +62218,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: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62183,7 +62228,7 @@ paths: schema: type: integer example: 1 - - *398 + - *400 - *17 - *18 responses: @@ -62201,7 +62246,7 @@ paths: type: integer check_suites: type: array - items: *353 + items: *355 examples: default: value: @@ -62401,9 +62446,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: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - *17 - *18 responses: @@ -62605,9 +62650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *278 - - *279 - - *397 + - *280 + - *281 + - *399 - *17 - *18 responses: @@ -62617,7 +62662,7 @@ paths: application/json: schema: type: array - items: &554 + items: &556 title: Status description: The status of a commit. type: object @@ -62698,7 +62743,7 @@ paths: site_admin: false headers: Link: *37 - '301': *292 + '301': *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62726,8 +62771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -62760,11 +62805,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *401 + - *403 code_of_conduct_file: anyOf: - type: 'null' - - &402 + - &404 title: Community Health File type: object properties: @@ -62784,19 +62829,19 @@ paths: contributing: anyOf: - type: 'null' - - *402 + - *404 readme: anyOf: - type: 'null' - - *402 + - *404 issue_template: anyOf: - type: 'null' - - *402 + - *404 pull_request_template: anyOf: - type: 'null' - - *402 + - *404 required: - code_of_conduct - code_of_conduct_file @@ -62924,8 +62969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 - name: basehead @@ -62973,8 +63018,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *391 - merge_base_commit: *391 + base_commit: *393 + merge_base_commit: *393 status: type: string enum: @@ -62998,10 +63043,10 @@ paths: - 6 commits: type: array - items: *391 + items: *393 files: type: array - items: *403 + items: *405 required: - url - html_url @@ -63284,8 +63329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -63436,7 +63481,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &404 + response-if-content-is-a-file: &406 summary: Response if content is a file value: type: file @@ -63573,7 +63618,7 @@ paths: - size - type - url - - &505 + - &507 title: Content File description: Content File type: object @@ -63791,7 +63836,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *404 + response-if-content-is-a-file: *406 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63860,7 +63905,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *405 + '302': *407 '304': *35 x-github: githubCloudOnly: false @@ -63883,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -63979,7 +64024,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &408 title: File Commit description: File Commit type: object @@ -64130,7 +64175,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: example-for-creating-a-file: value: @@ -64183,7 +64228,7 @@ paths: schema: oneOf: - *3 - - &435 + - &437 description: Repository rule violation was detected type: object properties: @@ -64204,7 +64249,7 @@ paths: items: type: object properties: - placeholder_id: &547 + placeholder_id: &549 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64236,8 +64281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *278 - - *279 + - *280 + - *281 - name: path description: path parameter in: path @@ -64298,7 +64343,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -64352,8 +64397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *278 - - *279 + - *280 + - *281 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64477,8 +64522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *173 - *174 - *175 @@ -64519,7 +64564,7 @@ paths: application/json: schema: type: array - items: &409 + items: &411 type: object description: A Dependabot alert. properties: @@ -64554,7 +64599,7 @@ paths: - development - runtime - - security_advisory: *407 + security_advisory: *409 security_vulnerability: *73 url: *74 html_url: *75 @@ -64585,7 +64630,7 @@ paths: dismissal. maxLength: 280 fixed_at: *79 - auto_dismissed_at: *408 + auto_dismissed_at: *410 required: - number - state @@ -64812,9 +64857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *278 - - *279 - - &410 + - *280 + - *281 + - &412 name: alert_number in: path description: |- @@ -64829,7 +64874,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -64939,9 +64984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *278 - - *279 - - *410 + - *280 + - *281 + - *412 requestBody: required: true content: @@ -64986,7 +65031,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -65115,8 +65160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -65134,7 +65179,7 @@ paths: type: integer secrets: type: array - items: &413 + items: &415 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65188,16 +65233,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65217,15 +65262,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '200': description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -65251,8 +65296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 requestBody: required: true @@ -65305,8 +65350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *278 - - *279 + - *280 + - *281 - *142 responses: '204': @@ -65329,8 +65374,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: - - *278 - - *279 + - *280 + - *281 - 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 @@ -65504,8 +65549,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -65728,8 +65773,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -65812,7 +65857,7 @@ paths: - version - url additionalProperties: false - metadata: &414 + metadata: &416 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65851,7 +65896,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *414 + metadata: *416 resolved: type: object description: A collection of resolved package dependencies. @@ -65865,7 +65910,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *414 + metadata: *416 relationship: type: string description: A notation of whether a dependency is requested @@ -65998,8 +66043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *278 - - *279 + - *280 + - *281 - name: sha description: The SHA recorded at creation time. in: query @@ -66040,9 +66085,9 @@ paths: application/json: schema: type: array - items: *415 + items: *417 examples: - default: *416 + default: *418 headers: Link: *37 x-github: @@ -66108,8 +66153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -66191,7 +66236,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: simple-example: summary: Simple example @@ -66264,9 +66309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *278 - - *279 - - &417 + - *280 + - *281 + - &419 name: deployment_id description: deployment_id parameter in: path @@ -66278,7 +66323,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: default: value: @@ -66343,9 +66388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 responses: '204': description: Response @@ -66367,9 +66412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 - *17 - *18 responses: @@ -66379,7 +66424,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Deployment Status description: The status of a deployment. type: object @@ -66543,9 +66588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 requestBody: required: true content: @@ -66620,9 +66665,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: &419 + default: &421 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66678,9 +66723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *278 - - *279 - - *417 + - *280 + - *281 + - *419 - name: status_id in: path required: true @@ -66691,9 +66736,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -66718,8 +66763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -66775,8 +66820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -66794,7 +66839,7 @@ paths: - 5 environments: type: array - items: &421 + items: &423 title: Environment description: Details of a deployment environment type: object @@ -66856,7 +66901,7 @@ paths: type: string examples: - wait_timer - wait_timer: &423 + wait_timer: &425 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66898,7 +66943,7 @@ paths: items: type: object properties: - type: *420 + type: *422 reviewer: anyOf: - *4 @@ -66925,7 +66970,7 @@ paths: - id - node_id - type - deployment_branch_policy: &424 + deployment_branch_policy: &426 type: - object - 'null' @@ -67042,9 +67087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *278 - - *279 - - &422 + - *280 + - *281 + - &424 name: environment_name in: path required: true @@ -67057,9 +67102,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &425 + default: &427 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67143,9 +67188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: false content: @@ -67155,7 +67200,7 @@ paths: - object - 'null' properties: - wait_timer: *423 + wait_timer: *425 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -67174,14 +67219,14 @@ paths: items: type: object properties: - type: *420 + type: *422 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *424 + deployment_branch_policy: *426 additionalProperties: false examples: default: @@ -67201,9 +67246,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *425 + default: *427 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67227,9 +67272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 responses: '204': description: Default response @@ -67254,9 +67299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *17 - *18 responses: @@ -67275,7 +67320,7 @@ paths: - 2 branch_policies: type: array - items: &426 + items: &428 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67336,9 +67381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: true content: @@ -67386,9 +67431,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - example-wildcard: &427 + example-wildcard: &429 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67430,10 +67475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - &428 + - *280 + - *281 + - *424 + - &430 name: branch_policy_id in: path required: true @@ -67445,9 +67490,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67466,10 +67511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - *428 + - *280 + - *281 + - *424 + - *430 requestBody: required: true content: @@ -67498,9 +67543,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: - default: *427 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67519,10 +67564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *278 - - *279 - - *422 - - *428 + - *280 + - *281 + - *424 + - *430 responses: '204': description: Response @@ -67547,9 +67592,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 responses: '200': description: List of deployment protection rules @@ -67566,7 +67611,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &429 + items: &431 title: Deployment protection rule description: Deployment protection rule type: object @@ -67588,7 +67633,7 @@ paths: for the environment. examples: - true - app: &430 + app: &432 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67691,9 +67736,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 requestBody: content: application/json: @@ -67714,9 +67759,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *429 + schema: *431 examples: - default: &431 + default: &433 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67751,9 +67796,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: - - *422 - - *279 - - *278 + - *424 + - *281 + - *280 - *18 - *17 responses: @@ -67773,7 +67818,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *430 + items: *432 examples: default: value: @@ -67808,10 +67853,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: - - *278 - - *279 - - *422 - - &432 + - *280 + - *281 + - *424 + - &434 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67823,9 +67868,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *431 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67846,10 +67891,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: - - *422 - - *279 - - *278 - - *432 + - *424 + - *281 + - *280 + - *434 responses: '204': description: Response @@ -67875,9 +67920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *17 - *18 responses: @@ -67895,9 +67940,9 @@ paths: type: integer secrets: type: array - items: *315 + items: *317 examples: - default: *316 + default: *318 headers: Link: *37 x-github: @@ -67922,17 +67967,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67954,18 +67999,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67987,9 +68032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 requestBody: required: true @@ -68047,9 +68092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *142 responses: '204': @@ -68075,10 +68120,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *278 - - *279 - - *422 - - *302 + - *280 + - *281 + - *424 + - *304 - *18 responses: '200': @@ -68095,9 +68140,9 @@ paths: type: integer variables: type: array - items: *319 + items: *321 examples: - default: *320 + default: *322 headers: Link: *37 x-github: @@ -68120,9 +68165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 requestBody: required: true content: @@ -68174,18 +68219,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *278 - - *279 - - *422 + - *280 + - *281 + - *424 - *145 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68206,10 +68251,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 - - *422 + - *424 requestBody: required: true content: @@ -68251,10 +68296,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *278 - - *279 + - *280 + - *281 - *145 - - *422 + - *424 responses: '204': description: Response @@ -68276,8 +68321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -68354,8 +68399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *278 - - *279 + - *280 + - *281 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68514,8 +68559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -68548,9 +68593,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 '400': *14 '422': *15 '403': *27 @@ -68571,8 +68616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -68632,7 +68677,7 @@ paths: schema: oneOf: - *117 - - *435 + - *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68657,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *278 - - *279 + - *280 + - *281 - name: file_sha in: path required: true @@ -68757,8 +68802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -68867,7 +68912,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &438 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69087,15 +69132,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *278 - - *279 - - *392 + - *280 + - *281 + - *394 responses: '200': description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -69150,9 +69195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *278 - - *279 - - &437 + - *280 + - *281 + - &439 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. @@ -69169,7 +69214,7 @@ paths: application/json: schema: type: array - items: &438 + items: &440 title: Git Reference description: Git references within a repository type: object @@ -69245,17 +69290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 responses: '200': description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: &439 + default: &441 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69284,8 +69329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69314,9 +69359,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -69342,9 +69387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 requestBody: required: true content: @@ -69373,9 +69418,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *440 examples: - default: *439 + default: *441 '422': *15 '409': *119 x-github: @@ -69393,9 +69438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *278 - - *279 - - *437 + - *280 + - *281 + - *439 responses: '204': description: Response @@ -69447,8 +69492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69515,7 +69560,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: Git Tag description: Metadata for a Git tag type: object @@ -69571,7 +69616,7 @@ paths: - sha - type - url - verification: *440 + verification: *442 required: - sha - url @@ -69581,7 +69626,7 @@ paths: - tag - message examples: - default: &442 + default: &444 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69652,8 +69697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *278 - - *279 + - *280 + - *281 - name: tag_sha in: path required: true @@ -69664,9 +69709,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 '404': *6 '409': *119 x-github: @@ -69690,8 +69735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -69765,7 +69810,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &445 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69883,8 +69928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *278 - - *279 + - *280 + - *281 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69907,7 +69952,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: default-response: summary: Default response @@ -69966,8 +70011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -69977,7 +70022,7 @@ paths: application/json: schema: type: array - items: &444 + items: &446 title: Webhook description: Webhooks for repositories. type: object @@ -70040,7 +70085,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &680 + last_response: &682 title: Hook Response type: object properties: @@ -70117,8 +70162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -70171,9 +70216,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: type: Repository id: 12345678 @@ -70221,17 +70266,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -70251,8 +70296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 requestBody: required: true @@ -70298,9 +70343,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '422': *15 '404': *6 x-github: @@ -70318,8 +70363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70344,8 +70389,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: - - *278 - - *279 + - *280 + - *281 - *186 responses: '200': @@ -70373,8 +70418,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: - - *278 - - *279 + - *280 + - *281 - *186 requestBody: required: false @@ -70419,8 +70464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 - *17 - *187 @@ -70457,8 +70502,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: - - *278 - - *279 + - *280 + - *281 - *186 - *16 responses: @@ -70487,8 +70532,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: - - *278 - - *279 + - *280 + - *281 - *186 - *16 responses: @@ -70512,8 +70557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70539,8 +70584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *278 - - *279 + - *280 + - *281 - *186 responses: '204': @@ -70599,14 +70644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &446 + schema: &448 title: Import description: A repository import from an external source. type: object @@ -70713,7 +70758,7 @@ paths: - html_url - authors_url examples: - default: &449 + default: &451 value: vcs: subversion use_lfs: true @@ -70729,7 +70774,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &447 + '503': &449 description: Unavailable due to service under maintenance. content: application/json: @@ -70758,8 +70803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -70807,7 +70852,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: default: value: @@ -70832,7 +70877,7 @@ paths: type: string '422': *15 '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70860,8 +70905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -70913,7 +70958,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: example-1: summary: Example 1 @@ -70961,7 +71006,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': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70984,12 +71029,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71015,9 +71060,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *278 - - *279 - - &629 + - *280 + - *281 + - &631 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71031,7 +71076,7 @@ paths: application/json: schema: type: array - items: &448 + items: &450 title: Porter Author description: Porter Author type: object @@ -71085,7 +71130,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71110,8 +71155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *278 - - *279 + - *280 + - *281 - name: author_id in: path required: true @@ -71141,7 +71186,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -71154,7 +71199,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71178,8 +71223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71220,7 +71265,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71248,8 +71293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -71276,11 +71321,11 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *449 + default: *451 '422': *15 - '503': *447 + '503': *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71303,8 +71348,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71312,8 +71357,8 @@ paths: application/json: schema: *20 examples: - default: *450 - '301': *292 + default: *452 + '301': *294 '404': *6 x-github: githubCloudOnly: false @@ -71333,8 +71378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -71347,7 +71392,7 @@ paths: properties: {} additionalProperties: false examples: - default: &452 + default: &454 value: limit: collaborators_only origin: repository @@ -71372,13 +71417,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: application/json: - schema: *451 + schema: *453 examples: default: summary: Example request body @@ -71392,7 +71437,7 @@ paths: application/json: schema: *193 examples: - default: *452 + default: *454 '409': description: Response x-github: @@ -71414,8 +71459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -71438,8 +71483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -71449,9 +71494,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: &622 + default: &624 value: - id: 1 repository: @@ -71582,8 +71627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *278 - - *279 + - *280 + - *281 - *197 requestBody: required: false @@ -71613,7 +71658,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -71744,8 +71789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *278 - - *279 + - *280 + - *281 - *197 responses: '204': @@ -71777,8 +71822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *278 - - *279 + - *280 + - *281 - 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 @@ -71991,7 +72036,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *292 + '301': *294 '422': *15 '404': *6 x-github: @@ -72020,8 +72065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -72104,7 +72149,7 @@ paths: application/json: schema: *98 examples: - default: &457 + default: &459 value: id: 1 node_id: MDU6SXNzdWUx @@ -72260,7 +72305,7 @@ paths: '422': *15 '503': *81 '404': *6 - '410': *289 + '410': *291 x-github: triggersNotification: true githubCloudOnly: false @@ -72288,8 +72333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *107 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72310,9 +72355,9 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: &459 + default: &461 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72370,17 +72415,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &455 + default: &457 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72434,8 +72479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -72458,9 +72503,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '422': *15 x-github: githubCloudOnly: false @@ -72478,8 +72523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -72500,8 +72545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72528,9 +72573,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -72551,8 +72596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -72585,16 +72630,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -72616,10 +72661,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -72639,8 +72684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -72650,7 +72695,7 @@ paths: application/json: schema: type: array - items: &456 + items: &458 title: Issue Event description: Issue Event type: object @@ -72989,8 +73034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *278 - - *279 + - *280 + - *281 - name: event_id in: path required: true @@ -73001,7 +73046,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -73194,7 +73239,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *289 + '410': *291 '403': *27 x-github: githubCloudOnly: false @@ -73228,9 +73273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *278 - - *279 - - &458 + - *280 + - *281 + - &460 name: issue_number description: The number that identifies the issue. in: path @@ -73244,10 +73289,10 @@ paths: application/json: schema: *98 examples: - default: *457 - '301': *292 + default: *459 + '301': *294 '404': *6 - '410': *289 + '410': *291 '304': *35 x-github: githubCloudOnly: false @@ -73272,9 +73317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -73384,13 +73429,13 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 '422': *15 '503': *81 '403': *27 - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73408,9 +73453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -73438,7 +73483,7 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73454,9 +73499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: content: application/json: @@ -73483,7 +73528,7 @@ paths: application/json: schema: *98 examples: - default: *457 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73505,9 +73550,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: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - name: assignee in: path required: true @@ -73547,9 +73592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *88 - *17 - *18 @@ -73560,13 +73605,13 @@ paths: application/json: schema: type: array - items: *454 + items: *456 examples: - default: *459 + default: *461 headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73595,9 +73640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: true content: @@ -73619,16 +73664,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *289 + '410': *291 '422': *15 '404': *6 x-github: @@ -73648,9 +73693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -73664,7 +73709,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &462 + - &464 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73713,7 +73758,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &465 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73841,7 +73886,7 @@ paths: - performed_via_github_app - assignee - assigner - - &464 + - &466 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73887,7 +73932,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &467 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73933,7 +73978,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &468 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73982,7 +74027,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &469 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74024,7 +74069,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &470 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74066,7 +74111,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &471 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74122,7 +74167,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &472 title: Locked Issue Event description: Locked Issue Event type: object @@ -74167,7 +74212,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &473 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74228,7 +74273,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &474 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74289,7 +74334,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &475 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74350,7 +74395,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &476 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74443,7 +74488,7 @@ paths: color: red headers: Link: *37 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74460,9 +74505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -74472,7 +74517,7 @@ paths: application/json: schema: type: array - items: &460 + items: &462 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74527,7 +74572,7 @@ paths: - color - default examples: - default: &461 + default: &463 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74545,9 +74590,9 @@ paths: default: false headers: Link: *37 - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74564,9 +74609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74625,12 +74670,12 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 - '301': *292 + default: *463 + '301': *294 '404': *6 - '410': *289 + '410': *291 '422': *15 x-github: githubCloudOnly: false @@ -74647,9 +74692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74709,12 +74754,12 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 - '301': *292 + default: *463 + '301': *294 '404': *6 - '410': *289 + '410': *291 '422': *15 x-github: githubCloudOnly: false @@ -74731,15 +74776,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 responses: '204': description: Response - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74758,9 +74803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - name: name in: path required: true @@ -74773,7 +74818,7 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: default: value: @@ -74784,9 +74829,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *292 + '301': *294 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74806,9 +74851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: false content: @@ -74837,7 +74882,7 @@ paths: '204': description: Response '403': *27 - '410': *289 + '410': *291 '404': *6 '422': *15 x-github: @@ -74855,9 +74900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 responses: '204': description: Response @@ -74879,9 +74924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - 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. @@ -74907,13 +74952,13 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74931,9 +74976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 requestBody: required: true content: @@ -74965,16 +75010,16 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -74996,10 +75041,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *278 - - *279 - - *458 - - *270 + - *280 + - *281 + - *460 + - *272 responses: '204': description: Response @@ -75019,9 +75064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *278 - - *279 - - *458 + - *280 + - *281 + - *460 - *17 - *18 responses: @@ -75036,8 +75081,6 @@ paths: description: Timeline Event type: object anyOf: - - *462 - - *463 - *464 - *465 - *466 @@ -75049,6 +75092,8 @@ paths: - *472 - *473 - *474 + - *475 + - *476 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75367,7 +75412,7 @@ paths: type: string comments: type: array - items: &494 + items: &496 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75605,7 +75650,7 @@ paths: type: string comments: type: array - items: *390 + items: *392 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75880,7 +75925,7 @@ paths: headers: Link: *37 '404': *6 - '410': *289 + '410': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,8 +75942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -75908,7 +75953,7 @@ paths: application/json: schema: type: array - items: &475 + items: &477 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75972,8 +76017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76009,9 +76054,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &476 + default: &478 value: id: 1 key: ssh-rsa AAA... @@ -76044,9 +76089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *278 - - *279 - - &477 + - *280 + - *281 + - &479 name: key_id description: The unique identifier of the key. in: path @@ -76058,9 +76103,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 '404': *6 x-github: githubCloudOnly: false @@ -76078,9 +76123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *278 - - *279 - - *477 + - *280 + - *281 + - *479 responses: '204': description: Response @@ -76100,8 +76145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -76111,9 +76156,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 + default: *463 headers: Link: *37 '404': *6 @@ -76134,8 +76179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76171,9 +76216,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &478 + default: &480 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76205,8 +76250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76217,9 +76262,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *478 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -76236,8 +76281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76276,7 +76321,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: default: value: @@ -76302,8 +76347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *278 - - *279 + - *280 + - *281 - name: name in: path required: true @@ -76329,8 +76374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -76366,8 +76411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '202': *120 '403': @@ -76395,8 +76440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -76422,9 +76467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *278 - - *279 - - *367 + - *280 + - *281 + - *369 responses: '200': description: Response @@ -76571,8 +76616,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76637,8 +76682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76672,9 +76717,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *391 + schema: *393 examples: - default: *479 + default: *481 '204': description: Response when already merged '404': @@ -76699,8 +76744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76741,7 +76786,7 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: default: value: @@ -76797,8 +76842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -76838,9 +76883,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &480 + default: &482 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76899,9 +76944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *278 - - *279 - - &481 + - *280 + - *281 + - &483 name: milestone_number description: The number that identifies the milestone. in: path @@ -76913,9 +76958,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *480 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -76932,9 +76977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 requestBody: required: false content: @@ -76972,9 +77017,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76990,9 +77035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 responses: '204': description: Response @@ -77013,9 +77058,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: - - *278 - - *279 - - *481 + - *280 + - *281 + - *483 - *17 - *18 responses: @@ -77025,9 +77070,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *461 + default: *463 headers: Link: *37 x-github: @@ -77046,12 +77091,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: - - *278 - - *279 - - *482 - - *483 - - *88 + - *280 + - *281 - *484 + - *485 + - *88 + - *486 - *17 - *18 responses: @@ -77063,7 +77108,7 @@ paths: type: array items: *110 examples: - default: *485 + default: *487 headers: Link: *37 x-github: @@ -77087,8 +77132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -77146,14 +77191,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: &486 + schema: &488 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77297,7 +77342,7 @@ paths: - custom_404 - public examples: - default: &487 + default: &489 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77338,8 +77383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77394,9 +77439,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *488 examples: - default: *487 + default: *489 '422': *15 '409': *119 x-github: @@ -77419,8 +77464,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77528,8 +77573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -77555,8 +77600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -77566,7 +77611,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Page Build description: Page Build type: object @@ -77658,8 +77703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *278 - - *279 + - *280 + - *281 responses: '201': description: Response @@ -77706,16 +77751,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &489 + default: &491 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77763,8 +77808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *278 - - *279 + - *280 + - *281 - name: build_id in: path required: true @@ -77775,9 +77820,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *489 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77797,8 +77842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -77907,9 +77952,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: - - *278 - - *279 - - &490 + - *280 + - *281 + - &492 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77967,9 +78012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *278 - - *279 - - *490 + - *280 + - *281 + - *492 responses: '204': *163 '404': *6 @@ -77996,8 +78041,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -78292,8 +78337,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Private vulnerability reporting status @@ -78330,8 +78375,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: - - *278 - - *279 + - *280 + - *281 responses: '204': *163 '422': *14 @@ -78352,8 +78397,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: - - *278 - - *279 + - *280 + - *281 responses: '204': *163 '422': *14 @@ -78376,8 +78421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: Indicates the state of the projects to return. in: query @@ -78438,7 +78483,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -78458,8 +78503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78487,11 +78532,11 @@ paths: application/json: schema: *226 examples: - default: *288 + default: *290 '401': *23 '403': *27 '404': *6 - '410': *289 + '410': *291 '422': *7 x-github: githubCloudOnly: false @@ -78511,8 +78556,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -78551,8 +78596,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78614,8 +78659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *278 - - *279 + - *280 + - *281 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78675,9 +78720,9 @@ paths: application/json: schema: type: array - items: *491 + items: *493 examples: - default: *492 + default: *494 headers: Link: *37 '304': *35 @@ -78709,8 +78754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -78777,7 +78822,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &498 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78906,7 +78951,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 active_lock_reason: type: - string @@ -79893,14 +79938,14 @@ paths: _links: type: object properties: - comments: *396 - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + comments: *398 + commits: *398 + statuses: *398 + html: *398 + issue: *398 + review_comments: *398 + review_comment: *398 + self: *398 required: - comments - commits @@ -79911,7 +79956,7 @@ paths: - review_comment - self author_association: *85 - auto_merge: *493 + auto_merge: *495 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -80013,7 +80058,7 @@ paths: - merged_by - review_comments examples: - default: &497 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80540,8 +80585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *278 - - *279 + - *280 + - *281 - name: sort in: query required: false @@ -80570,9 +80615,9 @@ paths: application/json: schema: type: array - items: *494 + items: *496 examples: - default: &499 + default: &501 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80649,17 +80694,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: - - *278 - - *279 + - *280 + - *281 - *97 responses: '200': description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: &495 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80734,8 +80779,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: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -80758,9 +80803,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: - default: *495 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80776,8 +80821,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: - - *278 - - *279 + - *280 + - *281 - *97 responses: '204': @@ -80799,8 +80844,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: - - *278 - - *279 + - *280 + - *281 - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80827,9 +80872,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -80850,8 +80895,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: - - *278 - - *279 + - *280 + - *281 - *97 requestBody: required: true @@ -80884,16 +80929,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -80915,10 +80960,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *278 - - *279 + - *280 + - *281 - *97 - - *270 + - *272 responses: '204': description: Response @@ -80961,9 +81006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *278 - - *279 - - &498 + - *280 + - *281 + - &500 name: pull_number description: The number that identifies the pull request. in: path @@ -80976,9 +81021,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 '304': *35 '404': *6 '406': @@ -81013,9 +81058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81057,9 +81102,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 '422': *15 '403': *27 x-github: @@ -81081,9 +81126,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -81146,7 +81191,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -81154,7 +81199,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -81184,9 +81229,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *107 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -81207,9 +81252,9 @@ paths: application/json: schema: type: array - items: *494 + items: *496 examples: - default: *499 + default: *501 headers: Link: *37 x-github: @@ -81242,9 +81287,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -81350,7 +81395,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: example-for-a-multi-line-comment: value: @@ -81438,9 +81483,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *97 requestBody: required: true @@ -81463,7 +81508,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -81549,9 +81594,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -81561,9 +81606,9 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: - default: *500 + default: *502 headers: Link: *37 x-github: @@ -81593,9 +81638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -81605,7 +81650,7 @@ paths: application/json: schema: type: array - items: *403 + items: *405 examples: default: value: @@ -81643,9 +81688,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 responses: '204': description: Response if pull request has been merged @@ -81668,9 +81713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81782,9 +81827,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 responses: '200': description: Response @@ -81859,9 +81904,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -81898,7 +81943,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: default: value: @@ -82434,9 +82479,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: true content: @@ -82470,7 +82515,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: default: value: @@ -82975,9 +83020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 - *17 - *18 responses: @@ -82987,7 +83032,7 @@ paths: application/json: schema: type: array - items: &501 + items: &503 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -83143,9 +83188,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: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -83235,9 +83280,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &503 + default: &505 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83300,10 +83345,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: - - *278 - - *279 - - *498 - - &502 + - *280 + - *281 + - *500 + - &504 name: review_id description: The unique identifier of the review. in: path @@ -83315,9 +83360,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &504 + default: &506 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -83376,10 +83421,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83402,7 +83447,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -83464,18 +83509,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *503 + default: *505 '422': *7 '404': *6 x-github: @@ -83502,10 +83547,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 - *17 - *18 responses: @@ -83603,9 +83648,9 @@ paths: _links: type: object properties: - self: *396 - html: *396 - pull_request: *396 + self: *398 + html: *398 + pull_request: *398 required: - self - html @@ -83756,10 +83801,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83788,7 +83833,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -83851,10 +83896,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: - - *278 - - *279 - - *498 - - *502 + - *280 + - *281 + - *500 + - *504 requestBody: required: true content: @@ -83889,9 +83934,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *504 + default: *506 '404': *6 '422': *7 '403': *27 @@ -83913,9 +83958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *278 - - *279 - - *498 + - *280 + - *281 + - *500 requestBody: required: false content: @@ -83979,8 +84024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *278 - - *279 + - *280 + - *281 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83993,9 +84038,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &506 + default: &508 value: type: file encoding: base64 @@ -84037,8 +84082,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: - - *278 - - *279 + - *280 + - *281 - name: dir description: The alternate path to look for a README file in: path @@ -84058,9 +84103,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *506 + default: *508 '404': *6 '422': *15 x-github: @@ -84082,8 +84127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -84093,7 +84138,7 @@ paths: application/json: schema: type: array - items: &507 + items: &509 title: Release description: A release. type: object @@ -84165,7 +84210,7 @@ paths: author: *4 assets: type: array - items: &508 + items: &510 title: Release Asset description: Data related to a release. type: object @@ -84345,8 +84390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -84422,9 +84467,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &511 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84525,9 +84570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *278 - - *279 - - &509 + - *280 + - *281 + - &511 name: asset_id description: The unique identifier of the asset. in: path @@ -84539,9 +84584,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &510 + default: &512 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 @@ -84575,7 +84620,7 @@ paths: type: User site_admin: false '404': *6 - '302': *405 + '302': *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84591,9 +84636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *278 - - *279 - - *509 + - *280 + - *281 + - *511 requestBody: required: false content: @@ -84622,9 +84667,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *510 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84640,9 +84685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *278 - - *279 - - *509 + - *280 + - *281 + - *511 responses: '204': description: Response @@ -84666,8 +84711,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -84753,16 +84798,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84779,8 +84824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *278 - - *279 + - *280 + - *281 - name: tag description: tag parameter in: path @@ -84793,9 +84838,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -84817,9 +84862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *278 - - *279 - - &512 + - *280 + - *281 + - &514 name: release_id description: The unique identifier of the release. in: path @@ -84833,9 +84878,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: *507 + schema: *509 examples: - default: *511 + default: *513 '401': description: Unauthorized x-github: @@ -84853,9 +84898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 requestBody: required: false content: @@ -84919,9 +84964,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': description: Not Found if the discussion category name is invalid content: @@ -84942,9 +84987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 responses: '204': description: Response @@ -84964,9 +85009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - *17 - *18 responses: @@ -84976,7 +85021,7 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: default: value: @@ -85057,9 +85102,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: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - name: name in: query required: true @@ -85085,7 +85130,7 @@ paths: description: Response for successful upload content: application/json: - schema: *508 + schema: *510 examples: response-for-successful-upload: value: @@ -85139,9 +85184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 - 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. @@ -85165,9 +85210,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 '404': *6 @@ -85188,9 +85233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *278 - - *279 - - *512 + - *280 + - *281 + - *514 requestBody: required: true content: @@ -85220,16 +85265,16 @@ paths: description: Reaction exists content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '201': description: Reaction created content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 '422': *15 x-github: githubCloudOnly: false @@ -85251,10 +85296,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *278 - - *279 - - *512 - - *270 + - *280 + - *281 + - *514 + - *272 responses: '204': description: Response @@ -85278,9 +85323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *278 - - *279 - - *337 + - *280 + - *281 + - *339 - *17 - *18 responses: @@ -85296,8 +85341,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *513 - - &515 + - *515 + - &517 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85316,54 +85361,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *514 - - *515 - allOf: - *516 - - *515 - - allOf: - *517 - - *515 - allOf: - *518 - - *515 + - *517 - allOf: - *519 - - *515 + - *517 - allOf: - *520 - - *515 + - *517 - allOf: - *521 - - *515 + - *517 - allOf: - *522 - - *515 + - *517 - allOf: - *523 - - *515 + - *517 - allOf: - *524 - - *515 + - *517 - allOf: - *525 - - *515 + - *517 - allOf: - *526 - - *515 + - *517 - allOf: - *527 - - *515 + - *517 - allOf: - *528 - - *515 + - *517 - allOf: - *529 - - *515 + - *517 - allOf: - *530 - - *515 + - *517 + - allOf: + - *531 + - *517 + - allOf: + - *532 + - *517 examples: default: value: @@ -85402,8 +85447,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 - name: includes_parents @@ -85414,7 +85459,7 @@ paths: schema: type: boolean default: true - - *531 + - *533 responses: '200': description: Response @@ -85469,8 +85514,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 requestBody: description: Request body required: true @@ -85532,7 +85577,7 @@ paths: application/json: schema: *241 examples: - default: &541 + default: &543 value: id: 42 name: super cool ruleset @@ -85579,12 +85624,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *278 - - *279 - - *532 - - *533 + - *280 + - *281 - *534 - *535 + - *536 + - *537 - *17 - *18 responses: @@ -85592,9 +85637,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 '404': *6 '500': *69 x-github: @@ -85615,17 +85660,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *278 - - *279 - - *538 + - *280 + - *281 + - *540 responses: '200': description: Response content: application/json: - schema: *539 + schema: *541 examples: - default: *540 + default: *542 '404': *6 '500': *69 x-github: @@ -85653,8 +85698,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85676,7 +85721,7 @@ paths: application/json: schema: *241 examples: - default: *541 + default: *543 '404': *6 '500': *69 put: @@ -85694,8 +85739,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85759,7 +85804,7 @@ paths: application/json: schema: *241 examples: - default: *541 + default: *543 '404': *6 '500': *69 delete: @@ -85777,8 +85822,8 @@ paths: category: repos subcategory: rules parameters: - - *278 - - *279 + - *280 + - *281 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85806,8 +85851,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: - - *278 - - *279 + - *280 + - *281 - *243 - *244 - *245 @@ -85815,9 +85860,11 @@ paths: - *65 - *18 - *17 - - *542 - - *543 + - *544 + - *545 - *247 + - *248 + - *249 responses: '200': description: Response @@ -85825,7 +85872,7 @@ paths: application/json: schema: type: array - items: &546 + items: &548 type: object properties: number: *70 @@ -85841,8 +85888,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *544 - resolution: *545 + state: *546 + resolution: *547 resolved_at: type: - string @@ -85894,6 +85941,17 @@ paths: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories under the same organization or enterprise. examples: default: value: @@ -85950,6 +86008,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 @@ -85967,6 +86027,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 @@ -85992,15 +86054,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -86021,6 +86083,8 @@ paths: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false '304': *35 '404': description: Repository is public, or secret scanning is disabled for the @@ -86046,9 +86110,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 requestBody: required: true content: @@ -86056,8 +86120,8 @@ paths: schema: type: object properties: - state: *544 - resolution: *545 + state: *546 + resolution: *547 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -86076,7 +86140,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: default: value: @@ -86115,6 +86179,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. @@ -86145,9 +86211,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: - - *278 - - *279 - - *365 + - *280 + - *281 + - *367 - *18 - *17 responses: @@ -86158,7 +86224,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &701 + items: &703 type: object properties: type: @@ -86537,8 +86603,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -86546,14 +86612,14 @@ paths: schema: type: object properties: - reason: &548 + reason: &550 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *547 + placeholder_id: *549 required: - reason - placeholder_id @@ -86570,7 +86636,7 @@ paths: schema: type: object properties: - reason: *548 + reason: *550 expire_at: type: - string @@ -86616,8 +86682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *278 - - *279 + - *280 + - *281 - *65 - name: sort description: The property to sort the results by. @@ -86661,9 +86727,9 @@ paths: application/json: schema: type: array - items: *549 + items: *551 examples: - default: *550 + default: *552 '400': *14 '404': *6 x-github: @@ -86686,8 +86752,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -86767,7 +86833,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 required: - login - type @@ -86857,9 +86923,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: &552 + default: &554 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -87092,8 +87158,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -87206,7 +87272,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: default: value: @@ -87353,17 +87419,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '200': description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *552 + default: *554 '403': *27 '404': *6 x-github: @@ -87387,9 +87453,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 requestBody: required: true content: @@ -87469,7 +87535,7 @@ paths: login: type: string description: The username of the user credited. - type: *250 + type: *252 required: - login - type @@ -87560,10 +87626,10 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *552 - add_credit: *552 + default: *554 + add_credit: *554 '403': *27 '404': *6 '422': @@ -87601,9 +87667,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '202': *120 '400': *14 @@ -87630,17 +87696,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: - - *278 - - *279 - - *551 + - *280 + - *281 + - *553 responses: '202': description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 '400': *14 '422': *15 '403': *27 @@ -87666,8 +87732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -87763,8 +87829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87773,7 +87839,7 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87806,8 +87872,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -87885,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -87980,8 +88046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -88135,8 +88201,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -88146,7 +88212,7 @@ paths: application/json: schema: type: array - items: *553 + items: *555 examples: default: value: @@ -88179,8 +88245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *278 - - *279 + - *280 + - *281 - name: sha in: path required: true @@ -88236,7 +88302,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: default: value: @@ -88290,8 +88356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88323,14 +88389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &555 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88403,8 +88469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: false content: @@ -88430,7 +88496,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -88457,8 +88523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -88478,8 +88544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88561,8 +88627,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: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -88570,7 +88636,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Tag protection description: Tag protection type: object @@ -88627,8 +88693,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: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -88651,7 +88717,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: default: value: @@ -88682,8 +88748,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: - - *278 - - *279 + - *280 + - *281 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88720,8 +88786,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *278 - - *279 + - *280 + - *281 - name: ref in: path required: true @@ -88757,8 +88823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *278 - - *279 + - *280 + - *281 - *17 - *18 responses: @@ -88790,8 +88856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *278 - - *279 + - *280 + - *281 - *18 - *17 responses: @@ -88799,7 +88865,7 @@ paths: description: Response content: application/json: - schema: &557 + schema: &559 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88811,7 +88877,7 @@ paths: required: - names examples: - default: &558 + default: &560 value: names: - octocat @@ -88834,8 +88900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -88866,9 +88932,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *558 + default: *560 '404': *6 '422': *7 x-github: @@ -88889,9 +88955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *278 - - *279 - - &559 + - *280 + - *281 + - &561 name: per description: The time frame to display results for. in: query @@ -88922,7 +88988,7 @@ paths: - 128 clones: type: array - items: &560 + items: &562 title: Traffic type: object properties: @@ -89009,8 +89075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -89104,8 +89170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *278 - - *279 + - *280 + - *281 responses: '200': description: Response @@ -89168,9 +89234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *278 - - *279 - - *559 + - *280 + - *281 + - *561 responses: '200': description: Response @@ -89191,7 +89257,7 @@ paths: - 3782 views: type: array - items: *560 + items: *562 required: - uniques - count @@ -89268,8 +89334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *278 - - *279 + - *280 + - *281 requestBody: required: true content: @@ -89543,8 +89609,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89567,8 +89633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -89590,8 +89656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -89617,8 +89683,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *278 - - *279 + - *280 + - *281 - name: ref in: path required: true @@ -89710,9 +89776,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89866,7 +89932,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &568 + - &570 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89876,7 +89942,7 @@ paths: type: string examples: - members - - &573 + - &575 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89888,7 +89954,7 @@ paths: format: int32 examples: - 1 - - &574 + - &576 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89932,7 +89998,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &562 + items: &564 allOf: - type: object required: @@ -90014,7 +90080,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: &575 + meta: &577 type: object description: The metadata associated with the creation/updates to the user. @@ -90079,31 +90145,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/927fa2c08dcb4a7fae9e startIndex: 1 itemsPerPage: 20 - '400': &563 + '400': &565 description: Bad request content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '401': &564 + schema: *563 + '401': &566 description: Authorization failure - '403': &565 + '403': &567 description: Permission denied - '429': &566 + '429': &568 description: Too many requests content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '500': &567 + schema: *563 + '500': &569 description: Internal server error content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 + schema: *563 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90130,7 +90196,7 @@ paths: required: true content: application/json: - schema: &571 + schema: &573 type: object required: - schemas @@ -90190,9 +90256,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *562 + schema: *564 examples: - group: &569 + group: &571 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -90211,13 +90277,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': *563 - '401': *564 - '403': *565 - '409': &572 + '400': *565 + '401': *566 + '403': *567 + '409': &574 description: Duplicate record detected - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90238,7 +90304,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: - - &570 + - &572 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -90247,22 +90313,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *568 + - *570 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *562 + schema: *564 examples: - default: *569 - '400': *563 - '401': *564 - '403': *565 + default: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90284,13 +90350,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: - - *570 + - *572 - *38 requestBody: required: true content: application/json: - schema: *571 + schema: *573 examples: group: summary: Group @@ -90316,17 +90382,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *562 + schema: *564 examples: - group: *569 - groupWithMembers: *569 - '400': *563 - '401': *564 - '403': *565 + group: *571 + groupWithMembers: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90353,13 +90419,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: - - *570 + - *572 - *38 requestBody: required: true content: application/json: - schema: &582 + schema: &584 type: object required: - Operations @@ -90419,17 +90485,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *562 + schema: *564 examples: - updateGroup: *569 - addMembers: *569 - '400': *563 - '401': *564 - '403': *565 + updateGroup: *571 + addMembers: *571 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90449,17 +90515,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: - - *570 + - *572 - *38 responses: '204': description: Group was deleted, no content - '400': *563 - '401': *564 - '403': *565 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90496,8 +90562,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *573 - - *574 + - *575 + - *576 - *38 responses: '200': @@ -90531,7 +90597,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &577 + items: &579 allOf: - type: object required: @@ -90623,7 +90689,7 @@ paths: address. examples: - true - roles: &576 + roles: &578 type: array description: The roles assigned to the user. items: @@ -90682,7 +90748,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *575 + meta: *577 startIndex: type: integer description: A starting index for the returned page @@ -90721,11 +90787,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *563 - '401': *564 - '403': *565 - '429': *566 - '500': *567 + '400': *565 + '401': *566 + '403': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90752,7 +90818,7 @@ paths: required: true content: application/json: - schema: &580 + schema: &582 type: object required: - schemas @@ -90845,9 +90911,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *576 + roles: *578 examples: - user: &581 + user: &583 summary: User value: schemas: @@ -90894,9 +90960,9 @@ paths: description: User has been created content: application/scim+json: - schema: *577 + schema: *579 examples: - user: &578 + user: &580 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90922,13 +90988,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: *578 - '400': *563 - '401': *564 - '403': *565 - '409': *572 - '429': *566 - '500': *567 + enterpriseOwner: *580 + '400': *565 + '401': *566 + '403': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90949,7 +91015,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: - - &579 + - &581 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90962,15 +91028,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *577 + schema: *579 examples: - default: *578 - '400': *563 - '401': *564 - '403': *565 + default: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90995,30 +91061,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: - - *579 + - *581 - *38 requestBody: required: true content: application/json: - schema: *580 + schema: *582 examples: - user: *581 + user: *583 responses: '200': description: User was updated content: application/scim+json: - schema: *577 + schema: *579 examples: - user: *578 - '400': *563 - '401': *564 - '403': *565 + user: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91056,13 +91122,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: - - *579 + - *581 - *38 requestBody: required: true content: application/json: - schema: *582 + schema: *584 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -91102,18 +91168,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *577 - examples: - userMultiValuedProperties: *578 - userSingleValuedProperties: *578 - disableUser: *578 - '400': *563 - '401': *564 - '403': *565 + schema: *579 + examples: + userMultiValuedProperties: *580 + userSingleValuedProperties: *580 + disableUser: *580 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '409': *572 - '429': *566 - '500': *567 + '409': *574 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91133,17 +91199,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: - - *579 + - *581 - *38 responses: '204': description: User was deleted, no content - '400': *563 - '401': *564 - '403': *565 + '400': *565 + '401': *566 + '403': *567 '404': *6 - '429': *566 - '500': *567 + '429': *568 + '500': *569 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91234,7 +91300,7 @@ paths: - 1 Resources: type: array - items: &583 + items: &585 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91481,22 +91547,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &584 + '404': &586 description: Resource not found content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '403': &585 + schema: *563 + '403': &587 description: Forbidden content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '400': *563 - '429': *566 + schema: *563 + '400': *565 + '429': *568 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91522,9 +91588,9 @@ paths: description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: &586 + default: &588 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91547,17 +91613,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *584 - '403': *585 - '500': *567 + '404': *586 + '403': *587 + '500': *569 '409': description: Conflict content: application/json: - schema: *561 + schema: *563 application/scim+json: - schema: *561 - '400': *563 + schema: *563 + '400': *565 requestBody: required: true content: @@ -91652,17 +91718,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 - '404': *584 - '403': *585 + default: *588 + '404': *586 + '403': *587 '304': *35 x-github: githubCloudOnly: true @@ -91686,18 +91752,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 + default: *588 '304': *35 - '404': *584 - '403': *585 + '404': *586 + '403': *587 requestBody: required: true content: @@ -91808,19 +91874,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *114 - - *579 + - *581 responses: '200': description: Response content: application/scim+json: - schema: *583 + schema: *585 examples: - default: *586 + default: *588 '304': *35 - '404': *584 - '403': *585 - '400': *563 + '404': *586 + '403': *587 + '400': *565 '429': description: Response content: @@ -91916,12 +91982,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *114 - - *579 + - *581 responses: '204': description: Response - '404': *584 - '403': *585 + '404': *586 + '403': *587 '304': *35 x-github: githubCloudOnly: true @@ -92055,7 +92121,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &587 + text_matches: &589 title: Search Result Text Matches type: array items: @@ -92219,7 +92285,7 @@ paths: enum: - author-date - committer-date - - &588 + - &590 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 @@ -92288,7 +92354,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 comment_count: type: integer message: @@ -92307,7 +92373,7 @@ paths: url: type: string format: uri - verification: *440 + verification: *442 required: - author - committer @@ -92322,7 +92388,7 @@ paths: committer: anyOf: - type: 'null' - - *335 + - *337 parents: type: array items: @@ -92339,7 +92405,7 @@ paths: type: number node_id: type: string - text_matches: *587 + text_matches: *589 required: - sha - node_id @@ -92532,7 +92598,7 @@ paths: - interactions - created - updated - - *588 + - *590 - *17 - *18 responses: @@ -92634,7 +92700,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *397 comments: type: integer created_at: @@ -92648,7 +92714,7 @@ paths: - string - 'null' format: date-time - text_matches: *587 + text_matches: *589 pull_request: type: object properties: @@ -92870,7 +92936,7 @@ paths: enum: - created - updated - - *588 + - *590 - *17 - *18 responses: @@ -92915,7 +92981,7 @@ paths: - 'null' score: type: number - text_matches: *587 + text_matches: *589 required: - id - node_id @@ -93001,7 +93067,7 @@ paths: - forks - help-wanted-issues - updated - - *588 + - *590 - *17 - *18 responses: @@ -93238,7 +93304,7 @@ paths: - admin - pull - push - text_matches: *587 + text_matches: *589 temp_clone_token: type: string allow_merge_commit: @@ -93547,7 +93613,7 @@ paths: - string - 'null' format: uri - text_matches: *587 + text_matches: *589 related: type: - array @@ -93742,7 +93808,7 @@ paths: - followers - repositories - joined - - *588 + - *590 - *17 - *18 responses: @@ -93852,7 +93918,7 @@ paths: type: - boolean - 'null' - text_matches: *587 + text_matches: *589 blog: type: - string @@ -93934,7 +94000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &589 + - &591 name: team_id description: The unique identifier of the team. in: path @@ -93946,9 +94012,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -93975,7 +94041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *589 + - *591 requestBody: required: true content: @@ -94039,16 +94105,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '201': description: Response content: application/json: - schema: *259 + schema: *261 examples: - default: *260 + default: *262 '404': *6 '422': *15 '403': *27 @@ -94076,7 +94142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *589 + - *591 responses: '204': description: Response @@ -94107,7 +94173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *589 + - *591 - *65 - *17 - *18 @@ -94118,9 +94184,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *590 + default: *592 headers: Link: *37 x-github: @@ -94149,7 +94215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *589 + - *591 requestBody: required: true content: @@ -94183,9 +94249,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: triggersNotification: true githubCloudOnly: false @@ -94212,16 +94278,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94246,8 +94312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 requestBody: required: false content: @@ -94270,9 +94336,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *591 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94297,8 +94363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *589 - - *263 + - *591 + - *265 responses: '204': description: Response @@ -94327,8 +94393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *589 - - *263 + - *591 + - *265 - *65 - *17 - *18 @@ -94339,9 +94405,9 @@ paths: application/json: schema: type: array - items: *264 + items: *266 examples: - default: *592 + default: *594 headers: Link: *37 x-github: @@ -94370,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *589 - - *263 + - *591 + - *265 requestBody: required: true content: @@ -94393,9 +94459,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -94422,17 +94488,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 responses: '200': description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *265 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94457,9 +94523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 requestBody: required: true content: @@ -94481,9 +94547,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *266 examples: - default: *593 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94508,9 +94574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 responses: '204': description: Response @@ -94539,9 +94605,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: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 - 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. @@ -94567,9 +94633,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -94598,9 +94664,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: - - *589 - - *263 - - *266 + - *591 + - *265 + - *268 requestBody: required: true content: @@ -94632,9 +94698,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94660,8 +94726,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: - - *589 - - *263 + - *591 + - *265 - 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. @@ -94687,9 +94753,9 @@ paths: application/json: schema: type: array - items: *267 + items: *269 examples: - default: *269 + default: *271 headers: Link: *37 x-github: @@ -94718,8 +94784,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: - - *589 - - *263 + - *591 + - *265 requestBody: required: true content: @@ -94751,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *269 examples: - default: *268 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94777,7 +94843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -94815,7 +94881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *589 + - *591 - name: role description: Filters members returned by their role in the team. in: query @@ -94866,7 +94932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94903,7 +94969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94943,7 +95009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *589 + - *591 - *154 responses: '204': @@ -94980,16 +95046,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: - - *589 + - *591 - *154 responses: '200': description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-user-is-a-team-maintainer: *594 + response-if-user-is-a-team-maintainer: *596 '404': *6 x-github: githubCloudOnly: false @@ -95022,7 +95088,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: - - *589 + - *591 - *154 requestBody: required: false @@ -95048,9 +95114,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - response-if-users-membership-with-team-is-now-pending: *595 + response-if-users-membership-with-team-is-now-pending: *597 '403': description: Forbidden if team synchronization is set up '422': @@ -95084,7 +95150,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: - - *589 + - *591 - *154 responses: '204': @@ -95114,7 +95180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95124,9 +95190,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *596 + default: *598 headers: Link: *37 '404': *6 @@ -95153,16 +95219,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: - - *589 - - *277 + - *591 + - *279 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *597 + default: *599 '404': description: Not Found if project is not managed by this team x-github: @@ -95187,8 +95253,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: - - *589 - - *277 + - *591 + - *279 requestBody: required: false content: @@ -95256,8 +95322,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: - - *589 - - *277 + - *591 + - *279 responses: '204': description: Response @@ -95284,7 +95350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95326,15 +95392,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *598 + schema: *600 examples: alternative-response-with-extra-repository-information: value: @@ -95485,9 +95551,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 requestBody: required: false content: @@ -95537,9 +95603,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: - - *589 - - *278 - - *279 + - *591 + - *280 + - *281 responses: '204': description: Response @@ -95568,15 +95634,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: - - *589 + - *591 responses: '200': description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 '403': *27 '404': *6 x-github: @@ -95603,7 +95669,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: - - *589 + - *591 requestBody: required: true content: @@ -95664,7 +95730,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: default: value: @@ -95695,7 +95761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *589 + - *591 - *17 - *18 responses: @@ -95707,7 +95773,7 @@ paths: type: array items: *198 examples: - response-if-child-teams-exist: *599 + response-if-child-teams-exist: *601 headers: Link: *37 '404': *6 @@ -95740,7 +95806,7 @@ paths: application/json: schema: oneOf: - - &601 + - &603 title: Private User description: Private User type: object @@ -95990,7 +96056,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *600 + - *602 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96150,7 +96216,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -96496,7 +96562,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96504,7 +96570,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -96548,7 +96614,7 @@ paths: type: integer secrets: type: array - items: &602 + items: &604 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96590,7 +96656,7 @@ paths: - visibility - selected_repositories_url examples: - default: *384 + default: *386 headers: Link: *37 x-github: @@ -96668,7 +96734,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -96814,7 +96880,7 @@ paths: type: array items: *132 examples: - default: *603 + default: *605 '401': *23 '403': *27 '404': *6 @@ -96966,7 +97032,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '304': *35 '500': *69 '401': *23 @@ -97024,7 +97090,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '401': *23 '403': *27 '404': *6 @@ -97081,7 +97147,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &606 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97134,7 +97200,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &605 + default: &607 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97179,9 +97245,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *605 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -97218,9 +97284,9 @@ paths: type: integer machines: type: array - items: *383 + items: *385 examples: - default: *606 + default: *608 '304': *35 '500': *69 '401': *23 @@ -97305,11 +97371,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *291 + repository: *293 machine: anyOf: - type: 'null' - - *383 + - *385 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -98114,7 +98180,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '304': *35 '500': *69 '400': *14 @@ -98154,7 +98220,7 @@ paths: application/json: schema: *202 examples: - default: *382 + default: *384 '500': *69 '401': *23 '403': *27 @@ -98186,7 +98252,7 @@ paths: type: array items: *213 examples: - default: &619 + default: &621 value: - id: 197 name: hello_docker @@ -98287,7 +98353,7 @@ paths: application/json: schema: type: array - items: &607 + items: &609 title: Email description: Email type: object @@ -98357,9 +98423,9 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: - default: &621 + default: &623 value: - email: octocat@github.com verified: true @@ -98436,7 +98502,7 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: default: value: @@ -98693,7 +98759,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: GPG Key description: A unique encryption key type: object @@ -98838,7 +98904,7 @@ paths: - subkeys - revoked examples: - default: &632 + default: &634 value: - id: 3 name: Octocat's GPG Key @@ -98923,9 +98989,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: id: 3 name: Octocat's GPG Key @@ -98982,7 +99048,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: - - &610 + - &612 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98994,9 +99060,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '304': *35 '403': *27 @@ -99019,7 +99085,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: - - *610 + - *612 responses: '204': description: Response @@ -99210,7 +99276,7 @@ paths: type: array items: *55 examples: - default: *611 + default: *613 headers: Link: *37 '404': *6 @@ -99324,7 +99390,7 @@ paths: required: true content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -99474,7 +99540,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Key description: Key type: object @@ -99572,9 +99638,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: &613 + default: &615 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99607,15 +99673,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: - - *477 + - *479 responses: '200': description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: *613 + default: *615 '404': *6 '304': *35 '403': *27 @@ -99638,7 +99704,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: - - *477 + - *479 responses: '204': description: Response @@ -99671,7 +99737,7 @@ paths: application/json: schema: type: array - items: &614 + items: &616 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99750,7 +99816,7 @@ paths: - account - plan examples: - default: &615 + default: &617 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99812,9 +99878,9 @@ paths: application/json: schema: type: array - items: *614 + items: *616 examples: - default: *615 + default: *617 headers: Link: *37 '304': *35 @@ -100818,7 +100884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *208 - - *616 + - *618 responses: '204': description: Response @@ -100888,7 +100954,7 @@ paths: type: array items: *50 examples: - default: *617 + default: *619 headers: Link: *37 '304': *35 @@ -100930,7 +100996,7 @@ paths: - docker - nuget - container - - *618 + - *620 - *18 - *17 responses: @@ -100942,8 +101008,8 @@ paths: type: array items: *213 examples: - default: *619 - '400': *620 + default: *621 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100972,7 +101038,7 @@ paths: application/json: schema: *213 examples: - default: &633 + default: &635 value: id: 40201 name: octo-name @@ -101424,9 +101490,9 @@ paths: application/json: schema: type: array - items: *607 + items: *609 examples: - default: *621 + default: *623 headers: Link: *37 '304': *35 @@ -101539,7 +101605,7 @@ paths: type: array items: *55 examples: - default: &628 + default: &630 summary: Default response value: - id: 1296269 @@ -101855,9 +101921,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *293 + default: *295 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101895,9 +101961,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *622 + default: *624 headers: Link: *37 '304': *35 @@ -101976,7 +102042,7 @@ paths: application/json: schema: type: array - items: &623 + items: &625 title: Social account description: Social media account type: object @@ -101993,7 +102059,7 @@ paths: - provider - url examples: - default: &624 + default: &626 value: - provider: twitter url: https://twitter.com/github @@ -102056,9 +102122,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *624 + default: *626 '422': *15 '304': *35 '404': *6 @@ -102146,7 +102212,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102166,7 +102232,7 @@ paths: - title - created_at examples: - default: &634 + default: &636 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102233,9 +102299,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &626 + default: &628 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102266,7 +102332,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: - - &627 + - &629 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102278,9 +102344,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '404': *6 '304': *35 '403': *27 @@ -102303,7 +102369,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: - - *627 + - *629 responses: '204': description: Response @@ -102332,7 +102398,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: - - &635 + - &637 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 @@ -102357,11 +102423,11 @@ paths: type: array items: *55 examples: - default-response: *628 + default-response: *630 application/vnd.github.v3.star+json: schema: type: array - items: &636 + items: &638 title: Starred Repository description: Starred Repository type: object @@ -102517,8 +102583,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response if this repository is starred by you @@ -102546,8 +102612,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -102571,8 +102637,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: - - *278 - - *279 + - *280 + - *281 responses: '204': description: Response @@ -102644,7 +102710,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -102728,10 +102794,10 @@ paths: application/json: schema: oneOf: - - *601 - - *600 + - *603 + - *602 examples: - default-response: &630 + default-response: &632 summary: Default response value: login: octocat @@ -102766,7 +102832,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &631 + response-with-git-hub-plan-information: &633 summary: Response with GitHub plan information value: login: octocat @@ -102826,7 +102892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *629 + - *631 - *17 responses: '200': @@ -102873,11 +102939,11 @@ paths: application/json: schema: oneOf: - - *601 - - *600 + - *603 + - *602 examples: - default-response: *630 - response-with-git-hub-plan-information: *631 + default-response: *632 + response-with-git-hub-plan-information: *633 '404': *6 x-github: githubCloudOnly: false @@ -103041,7 +103107,7 @@ paths: type: array items: *213 examples: - default: *619 + default: *621 '403': *27 '401': *23 x-github: @@ -103445,9 +103511,9 @@ paths: application/json: schema: type: array - items: *608 + items: *610 examples: - default: *632 + default: *634 headers: Link: *37 x-github: @@ -103551,7 +103617,7 @@ paths: application/json: schema: *20 examples: - default: *450 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103629,7 +103695,7 @@ paths: type: array items: *50 examples: - default: *617 + default: *619 headers: Link: *37 x-github: @@ -103668,7 +103734,7 @@ paths: - docker - nuget - container - - *618 + - *620 - *154 - *18 - *17 @@ -103681,10 +103747,10 @@ paths: type: array items: *213 examples: - default: *619 + default: *621 '403': *27 '401': *23 - '400': *620 + '400': *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103714,7 +103780,7 @@ paths: application/json: schema: *213 examples: - default: *633 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104307,9 +104373,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104337,9 +104403,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104367,9 +104433,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: - default: *258 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104397,9 +104463,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *624 + default: *626 headers: Link: *37 x-github: @@ -104429,9 +104495,9 @@ paths: application/json: schema: type: array - items: *625 + items: *627 examples: - default: *634 + default: *636 headers: Link: *37 x-github: @@ -104456,7 +104522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *154 - - *635 + - *637 - *65 - *17 - *18 @@ -104468,11 +104534,11 @@ paths: schema: anyOf: - type: array - items: *636 + items: *638 - type: array items: *55 examples: - default-response: *628 + default-response: *630 headers: Link: *37 x-github: @@ -104632,7 +104698,7 @@ webhooks: type: string enum: - disabled - enterprise: &637 + enterprise: &639 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104701,7 +104767,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &638 + installation: &640 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104722,7 +104788,7 @@ webhooks: required: - id - node_id - organization: &639 + organization: &641 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104795,7 +104861,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &640 + repository: &642 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -105708,10 +105774,10 @@ webhooks: type: string enum: - enabled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -105787,11 +105853,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: &641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: &643 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) @@ -106014,11 +106080,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: *641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: *643 sender: *4 required: - action @@ -106206,11 +106272,11 @@ webhooks: - everyone required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - rule: *641 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + rule: *643 sender: *4 required: - action @@ -106283,7 +106349,7 @@ webhooks: required: true content: application/json: - schema: &644 + schema: &646 title: Exemption request cancellation event type: object properties: @@ -106291,11 +106357,11 @@ webhooks: type: string enum: - cancelled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: &642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: &644 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -106435,7 +106501,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &643 + items: &645 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -106541,7 +106607,7 @@ webhooks: required: true content: application/json: - schema: &645 + schema: &647 title: Exemption request completed event type: object properties: @@ -106549,11 +106615,11 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 sender: *4 required: - action @@ -106625,7 +106691,7 @@ webhooks: required: true content: application/json: - schema: &646 + schema: &648 title: Exemption request created event type: object properties: @@ -106633,11 +106699,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 sender: *4 required: - action @@ -106709,7 +106775,7 @@ webhooks: required: true content: application/json: - schema: &647 + schema: &649 title: Exemption response dismissed event type: object properties: @@ -106717,12 +106783,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 - exemption_response: *643 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 + exemption_response: *645 sender: *4 required: - action @@ -106796,7 +106862,7 @@ webhooks: required: true content: application/json: - schema: &648 + schema: &650 title: Exemption response submitted event type: object properties: @@ -106804,12 +106870,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - exemption_request: *642 - exemption_response: *643 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + exemption_request: *644 + exemption_response: *645 sender: *4 required: - action @@ -106882,7 +106948,7 @@ webhooks: required: true content: application/json: - schema: *644 + schema: *646 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106949,7 +107015,7 @@ webhooks: required: true content: application/json: - schema: *645 + schema: *647 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107016,7 +107082,7 @@ webhooks: required: true content: application/json: - schema: *646 + schema: *648 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107083,7 +107149,7 @@ webhooks: required: true content: application/json: - schema: *647 + schema: *649 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107151,7 +107217,7 @@ webhooks: required: true content: application/json: - schema: *648 + schema: *650 responses: '200': description: Return a 200 status to indicate that the data was received @@ -107229,7 +107295,7 @@ webhooks: type: string enum: - completed - check_run: &650 + check_run: &652 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107297,7 +107363,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *348 + items: *350 repository: *132 status: type: string @@ -107342,7 +107408,7 @@ webhooks: - examples: - neutral - deployment: *649 + deployment: *651 details_url: type: string examples: @@ -107402,7 +107468,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *348 + items: *350 started_at: type: string format: date-time @@ -107440,9 +107506,9 @@ webhooks: - output - app - pull_requests - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -107835,10 +107901,10 @@ webhooks: type: string enum: - created - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -108234,10 +108300,10 @@ webhooks: type: string enum: - requested_action - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 requested_action: description: The action requested by the user. type: object @@ -108642,10 +108708,10 @@ webhooks: type: string enum: - rerequested - check_run: *650 - installation: *638 - organization: *639 - repository: *640 + check_run: *652 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - check_run @@ -109637,10 +109703,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -110325,10 +110391,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -111007,10 +111073,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -111317,20 +111383,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &651 + commit_oid: &653 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: *637 - installation: *638 - organization: *639 - ref: &652 + enterprise: *639 + installation: *640 + organization: *641 + ref: &654 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: *640 + repository: *642 sender: *4 required: - action @@ -111658,12 +111724,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -111761,7 +111827,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *360 + dismissed_comment: *362 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111933,12 +111999,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -112270,12 +112336,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -112544,9 +112610,9 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -112554,7 +112620,7 @@ webhooks: type: - string - 'null' - repository: *640 + repository: *642 sender: *4 required: - action @@ -112786,12 +112852,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *651 - enterprise: *637 - installation: *638 - organization: *639 - ref: *652 - repository: *640 + commit_oid: *653 + enterprise: *639 + installation: *640 + organization: *641 + ref: *654 + repository: *642 sender: *4 required: - action @@ -113053,10 +113119,10 @@ webhooks: - updated_at - author_association - body - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -113137,18 +113203,18 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *639 - pusher_type: &653 + organization: *641 + pusher_type: &655 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &654 + ref: &656 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -113158,7 +113224,7 @@ webhooks: enum: - tag - branch - repository: *640 + repository: *642 sender: *4 required: - ref @@ -113241,9 +113307,9 @@ webhooks: enum: - created definition: *227 - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113327,9 +113393,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113406,9 +113472,9 @@ webhooks: enum: - updated definition: *227 - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 sender: *4 required: - action @@ -113484,10 +113550,10 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - repository: *640 - organization: *639 + enterprise: *639 + installation: *640 + repository: *642 + organization: *641 sender: *4 new_property_values: type: array @@ -113572,18 +113638,18 @@ webhooks: title: delete event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - pusher_type: *653 - ref: *654 + enterprise: *639 + installation: *640 + organization: *641 + pusher_type: *655 + ref: *656 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *640 + repository: *642 sender: *4 required: - ref @@ -113667,11 +113733,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113755,11 +113821,11 @@ webhooks: type: string enum: - auto_reopened - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113843,11 +113909,11 @@ webhooks: type: string enum: - created - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -113929,11 +113995,11 @@ webhooks: type: string enum: - dismissed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114015,11 +114081,11 @@ webhooks: type: string enum: - fixed - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114102,11 +114168,11 @@ webhooks: type: string enum: - reintroduced - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114188,11 +114254,11 @@ webhooks: type: string enum: - reopened - alert: *409 - installation: *638 - organization: *639 - enterprise: *637 - repository: *640 + alert: *411 + installation: *640 + organization: *641 + enterprise: *639 + repository: *642 sender: *4 required: - action @@ -114269,9 +114335,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - key: &655 + enterprise: *639 + installation: *640 + key: &657 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114307,8 +114373,8 @@ webhooks: - verified - created_at - read_only - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -114385,11 +114451,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - key: *655 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + key: *657 + organization: *641 + repository: *642 sender: *4 required: - action @@ -114961,12 +115027,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: &659 + workflow: &661 title: Workflow type: - object @@ -115704,13 +115770,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *415 + deployment: *417 pull_requests: type: array - items: *496 - repository: *640 - organization: *639 - installation: *638 + items: *498 + repository: *642 + organization: *641 + installation: *640 sender: *4 responses: '200': @@ -115781,7 +115847,7 @@ webhooks: type: string enum: - approved - approver: &656 + approver: &658 type: object properties: avatar_url: @@ -115824,11 +115890,11 @@ webhooks: type: string comment: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - reviewers: &657 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + reviewers: &659 type: array items: type: object @@ -115909,7 +115975,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &658 + workflow_job_run: &660 type: object properties: conclusion: @@ -116655,18 +116721,18 @@ webhooks: type: string enum: - rejected - approver: *656 + approver: *658 comment: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - reviewers: *657 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + reviewers: *659 sender: *4 since: type: string - workflow_job_run: *658 + workflow_job_run: *660 workflow_job_runs: type: array items: @@ -117383,13 +117449,13 @@ webhooks: type: string enum: - requested - enterprise: *637 + enterprise: *639 environment: type: string - installation: *638 - organization: *639 - repository: *640 - requestor: &664 + installation: *640 + organization: *641 + repository: *642 + requestor: &666 title: User type: - object @@ -119332,12 +119398,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Deployment Workflow Run type: @@ -120028,7 +120094,7 @@ webhooks: type: string enum: - answered - answer: &662 + answer: &664 type: object properties: author_association: @@ -120188,7 +120254,7 @@ webhooks: - created_at - updated_at - body - discussion: &660 + discussion: &662 title: Discussion description: A Discussion in a repository. type: object @@ -120484,7 +120550,7 @@ webhooks: - id labels: type: array - items: *460 + items: *462 required: - repository_url - category @@ -120506,10 +120572,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120636,11 +120702,11 @@ webhooks: - from required: - category - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120723,11 +120789,11 @@ webhooks: type: string enum: - closed - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -120809,7 +120875,7 @@ webhooks: type: string enum: - created - comment: &661 + comment: &663 type: object properties: author_association: @@ -120969,11 +121035,11 @@ webhooks: - updated_at - body - reactions - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121056,12 +121122,12 @@ webhooks: type: string enum: - deleted - comment: *661 - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + comment: *663 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121156,12 +121222,12 @@ webhooks: - from required: - body - comment: *661 - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + comment: *663 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121245,11 +121311,11 @@ webhooks: type: string enum: - created - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121331,11 +121397,11 @@ webhooks: type: string enum: - deleted - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121435,11 +121501,11 @@ webhooks: type: string required: - from - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121521,10 +121587,10 @@ webhooks: type: string enum: - labeled - discussion: *660 - enterprise: *637 - installation: *638 - label: &663 + discussion: *662 + enterprise: *639 + installation: *640 + label: &665 title: Label type: object properties: @@ -121557,8 +121623,8 @@ webhooks: - color - default - description - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121641,11 +121707,11 @@ webhooks: type: string enum: - locked - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121727,11 +121793,11 @@ webhooks: type: string enum: - pinned - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121813,11 +121879,11 @@ webhooks: type: string enum: - reopened - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121902,16 +121968,16 @@ webhooks: changes: type: object properties: - new_discussion: *660 - new_repository: *640 + new_discussion: *662 + new_repository: *642 required: - new_discussion - new_repository - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -121994,10 +122060,10 @@ webhooks: type: string enum: - unanswered - discussion: *660 - old_answer: *662 - organization: *639 - repository: *640 + discussion: *662 + old_answer: *664 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122079,12 +122145,12 @@ webhooks: type: string enum: - unlabeled - discussion: *660 - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122167,11 +122233,11 @@ webhooks: type: string enum: - unlocked - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122253,11 +122319,11 @@ webhooks: type: string enum: - unpinned - discussion: *660 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + discussion: *662 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -122330,7 +122396,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *637 + enterprise: *639 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -123008,9 +123074,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - forkee @@ -123156,9 +123222,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pages: description: The pages that were updated. type: array @@ -123196,7 +123262,7 @@ webhooks: - action - sha - html_url - repository: *640 + repository: *642 sender: *4 required: - pages @@ -123272,10 +123338,10 @@ webhooks: type: string enum: - created - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: &665 + organization: *641 + repositories: &667 description: An array of repository objects that the installation can access. type: array @@ -123301,8 +123367,8 @@ webhooks: - name - full_name - private - repository: *640 - requester: *664 + repository: *642 + requester: *666 sender: *4 required: - action @@ -123377,11 +123443,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123458,11 +123524,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123539,10 +123605,10 @@ webhooks: type: string enum: - added - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories_added: &666 + organization: *641 + repositories_added: &668 description: An array of repository objects, which were added to the installation. type: array @@ -123588,15 +123654,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *640 - repository_selection: &667 + repository: *642 + repository_selection: &669 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *664 + requester: *666 sender: *4 required: - action @@ -123675,10 +123741,10 @@ webhooks: type: string enum: - removed - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories_added: *666 + organization: *641 + repositories_added: *668 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123705,9 +123771,9 @@ webhooks: - name - full_name - private - repository: *640 - repository_selection: *667 - requester: *664 + repository: *642 + repository_selection: *669 + requester: *666 sender: *4 required: - action @@ -123786,11 +123852,11 @@ webhooks: type: string enum: - suspend - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -123973,10 +124039,10 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 target_type: type: string @@ -124055,11 +124121,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *637 + enterprise: *639 installation: *20 - organization: *639 - repositories: *665 - repository: *640 + organization: *641 + repositories: *667 + repository: *642 requester: type: - 'null' @@ -124307,8 +124373,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125484,8 +125550,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -125565,7 +125631,7 @@ webhooks: type: string enum: - deleted - comment: &668 + comment: &670 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -125732,8 +125798,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126907,8 +126973,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -126988,7 +127054,7 @@ webhooks: type: string enum: - edited - changes: &693 + changes: &695 description: The changes to the comment. type: object properties: @@ -127000,9 +127066,9 @@ webhooks: type: string required: - from - comment: *668 - enterprise: *637 - installation: *638 + comment: *670 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128177,8 +128243,8 @@ webhooks: - state - locked - assignee - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -128260,10 +128326,10 @@ webhooks: type: string enum: - assigned - assignee: *664 - enterprise: *637 - installation: *638 - issue: &671 + assignee: *666 + enterprise: *639 + installation: *640 + issue: &673 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129193,8 +129259,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -129274,8 +129340,8 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130353,8 +130419,8 @@ webhooks: required: - state - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -130433,8 +130499,8 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131357,8 +131423,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -131437,8 +131503,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132365,7 +132431,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &669 + milestone: &671 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132508,8 +132574,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -132608,8 +132674,8 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133539,9 +133605,9 @@ webhooks: - active_lock_reason - body - reactions - label: *663 - organization: *639 - repository: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -133621,8 +133687,8 @@ webhooks: type: string enum: - labeled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134551,9 +134617,9 @@ webhooks: - active_lock_reason - body - reactions - label: *663 - organization: *639 - repository: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -134633,8 +134699,8 @@ webhooks: type: string enum: - locked - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135565,8 +135631,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -135645,8 +135711,8 @@ webhooks: type: string enum: - milestoned - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136571,9 +136637,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *669 - organization: *639 - repository: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -138059,8 +138125,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138989,8 +139055,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -139070,9 +139136,9 @@ webhooks: type: string enum: - pinned - enterprise: *637 - installation: *638 - issue: &670 + enterprise: *639 + installation: *640 + issue: &672 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139995,8 +140061,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -140075,8 +140141,8 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141006,8 +141072,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142493,11 +142559,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *637 - installation: *638 - issue: *670 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *672 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142578,7 +142644,7 @@ webhooks: type: string enum: - unassigned - assignee: &696 + assignee: &698 title: User type: - object @@ -142650,11 +142716,11 @@ webhooks: required: - login - id - enterprise: *637 - installation: *638 - issue: *671 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *673 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142733,12 +142799,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *637 - installation: *638 - issue: *671 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *673 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -142818,8 +142884,8 @@ webhooks: type: string enum: - unlocked - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143748,8 +143814,8 @@ webhooks: format: uri user_view_type: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143829,11 +143895,11 @@ webhooks: type: string enum: - unpinned - enterprise: *637 - installation: *638 - issue: *670 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + issue: *672 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143912,11 +143978,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -143994,11 +144060,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -144108,11 +144174,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - label: *663 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + label: *665 + organization: *641 + repository: *642 sender: *4 required: - action @@ -144194,9 +144260,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: &672 + enterprise: *639 + installation: *640 + marketplace_purchase: &674 title: Marketplace Purchase type: object required: @@ -144284,8 +144350,8 @@ webhooks: type: integer unit_count: type: integer - organization: *639 - previous_marketplace_purchase: &673 + organization: *641 + previous_marketplace_purchase: &675 title: Marketplace Purchase type: object properties: @@ -144369,7 +144435,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144449,10 +144515,10 @@ webhooks: - changed effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144540,7 +144606,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144622,10 +144688,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144711,7 +144777,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *640 + repository: *642 sender: *4 required: - action @@ -144792,8 +144858,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 marketplace_purchase: title: Marketplace Purchase type: object @@ -144879,9 +144945,9 @@ webhooks: type: integer unit_count: type: integer - organization: *639 - previous_marketplace_purchase: *673 - repository: *640 + organization: *641 + previous_marketplace_purchase: *675 + repository: *642 sender: *4 required: - action @@ -144961,12 +145027,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *637 - installation: *638 - marketplace_purchase: *672 - organization: *639 - previous_marketplace_purchase: *673 - repository: *640 + enterprise: *639 + installation: *640 + marketplace_purchase: *674 + organization: *641 + previous_marketplace_purchase: *675 + repository: *642 sender: *4 required: - action @@ -145068,11 +145134,11 @@ webhooks: type: string required: - to - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145174,11 +145240,11 @@ webhooks: type: - string - 'null' - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145257,11 +145323,11 @@ webhooks: type: string enum: - removed - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145339,11 +145405,11 @@ webhooks: type: string enum: - added - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145421,7 +145487,7 @@ webhooks: required: - login - id - team: &674 + team: &676 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145614,11 +145680,11 @@ webhooks: type: string enum: - removed - enterprise: *637 - installation: *638 - member: *664 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + member: *666 + organization: *641 + repository: *642 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145697,7 +145763,7 @@ webhooks: required: - login - id - team: *674 + team: *676 required: - action - scope @@ -145779,8 +145845,8 @@ webhooks: type: string enum: - checks_requested - installation: *638 - merge_group: &675 + installation: *640 + merge_group: &677 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145799,15 +145865,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *352 + head_commit: *354 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145893,10 +145959,10 @@ webhooks: - merged - invalidated - dequeued - installation: *638 - merge_group: *675 - organization: *639 - repository: *640 + installation: *640 + merge_group: *677 + organization: *641 + repository: *642 sender: *4 required: - action @@ -145969,7 +146035,7 @@ webhooks: type: string enum: - deleted - enterprise: *637 + enterprise: *639 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146077,12 +146143,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *638 - organization: *639 + installation: *640 + organization: *641 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -146162,11 +146228,11 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146245,9 +146311,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - milestone: &676 + enterprise: *639 + installation: *640 + milestone: &678 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146389,8 +146455,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146469,11 +146535,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146583,11 +146649,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - milestone: *669 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *671 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146667,11 +146733,11 @@ webhooks: type: string enum: - opened - enterprise: *637 - installation: *638 - milestone: *676 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + milestone: *678 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146750,11 +146816,11 @@ webhooks: type: string enum: - blocked - blocked_user: *664 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + blocked_user: *666 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146833,11 +146899,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *664 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + blocked_user: *666 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -146916,9 +146982,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - membership: &677 + enterprise: *639 + installation: *640 + membership: &679 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147012,8 +147078,8 @@ webhooks: - role - organization_url - user - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147091,11 +147157,11 @@ webhooks: type: string enum: - member_added - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147174,8 +147240,8 @@ webhooks: type: string enum: - member_invited - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147297,10 +147363,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 - user: *664 + user: *666 required: - action - invitation @@ -147378,11 +147444,11 @@ webhooks: type: string enum: - member_removed - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147469,11 +147535,11 @@ webhooks: properties: from: type: string - enterprise: *637 - installation: *638 - membership: *677 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + membership: *679 + organization: *641 + repository: *642 sender: *4 required: - action @@ -147549,9 +147615,9 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 package: description: Information about the package. type: object @@ -148074,7 +148140,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &678 + items: &680 title: Ruby Gems metadata type: object properties: @@ -148171,7 +148237,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -148247,9 +148313,9 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 package: description: Information about the package. type: object @@ -148611,7 +148677,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *678 + items: *680 source_url: type: string format: uri @@ -148682,7 +148748,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -148863,12 +148929,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *637 + enterprise: *639 id: type: integer - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - id @@ -148948,7 +149014,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &679 + personal_access_token_request: &681 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149086,10 +149152,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *637 - organization: *639 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149168,11 +149234,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *679 - enterprise: *637 - organization: *639 + personal_access_token_request: *681 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149250,11 +149316,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *679 - enterprise: *637 - organization: *639 + personal_access_token_request: *681 + enterprise: *639 + organization: *641 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149331,11 +149397,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *679 - organization: *639 - enterprise: *637 + personal_access_token_request: *681 + organization: *641 + enterprise: *639 sender: *4 - installation: *638 + installation: *640 required: - action - personal_access_token_request @@ -149439,7 +149505,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *680 + last_response: *682 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149471,8 +149537,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 zen: description: Random string of GitHub zen. @@ -149717,10 +149783,10 @@ webhooks: - from required: - note - enterprise: *637 - installation: *638 - organization: *639 - project_card: &681 + enterprise: *639 + installation: *640 + organization: *641 + project_card: &683 title: Project Card type: object properties: @@ -149843,7 +149909,7 @@ webhooks: - creator - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -149924,11 +149990,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project_card: *681 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_card: *683 + repository: *642 sender: *4 required: - action @@ -150008,9 +150074,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 project_card: title: Project Card type: object @@ -150140,7 +150206,7 @@ webhooks: repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -150234,11 +150300,11 @@ webhooks: - from required: - note - enterprise: *637 - installation: *638 - organization: *639 - project_card: *681 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_card: *683 + repository: *642 sender: *4 required: - action @@ -150332,9 +150398,9 @@ webhooks: - from required: - column_id - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 project_card: allOf: - title: Project Card @@ -150531,7 +150597,7 @@ webhooks: type: string required: - after_id - repository: *640 + repository: *642 sender: *4 required: - action @@ -150611,10 +150677,10 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - organization: *639 - project: &683 + enterprise: *639 + installation: *640 + organization: *641 + project: &685 title: Project type: object properties: @@ -150741,7 +150807,7 @@ webhooks: - creator - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -150821,10 +150887,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project_column: &682 + enterprise: *639 + installation: *640 + organization: *641 + project_column: &684 title: Project Column type: object properties: @@ -150864,7 +150930,7 @@ webhooks: - name - created_at - updated_at - repository: *640 + repository: *642 sender: *4 required: - action @@ -150943,14 +151009,14 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -151039,11 +151105,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 + repository: *642 sender: *4 required: - action @@ -151123,11 +151189,11 @@ webhooks: type: string enum: - moved - enterprise: *637 - installation: *638 - organization: *639 - project_column: *682 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project_column: *684 + repository: *642 sender: *4 required: - action @@ -151207,11 +151273,11 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151291,14 +151357,14 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - project: *683 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 repository: anyOf: - type: 'null' - - *640 + - *642 sender: *4 required: - action @@ -151399,11 +151465,11 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151482,11 +151548,11 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 - organization: *639 - project: *683 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + project: *685 + repository: *642 sender: *4 required: - action @@ -151567,9 +151633,9 @@ webhooks: type: string enum: - closed - installation: *638 - organization: *639 - projects_v2: &684 + installation: *640 + organization: *641 + projects_v2: &686 title: Projects v2 Project description: A projects v2 project type: object @@ -151717,9 +151783,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -151800,9 +151866,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -151923,9 +151989,9 @@ webhooks: type: string to: type: string - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -152008,7 +152074,7 @@ webhooks: type: string enum: - archived - changes: &688 + changes: &690 type: object properties: archived_at: @@ -152024,9 +152090,9 @@ webhooks: - string - 'null' format: date-time - installation: *638 - organization: *639 - projects_v2_item: &685 + installation: *640 + organization: *641 + projects_v2_item: &687 title: Projects v2 Item description: An item belonging to a project type: object @@ -152165,9 +152231,9 @@ webhooks: - 'null' to: type: string - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152249,9 +152315,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152332,9 +152398,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152439,7 +152505,7 @@ webhooks: oneOf: - type: string - type: integer - - &686 + - &688 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152459,7 +152525,7 @@ webhooks: required: - id - name - - &687 + - &689 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152488,8 +152554,8 @@ webhooks: oneOf: - type: string - type: integer - - *686 - - *687 + - *688 + - *689 type: - 'null' - string @@ -152512,9 +152578,9 @@ webhooks: - 'null' required: - body - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152611,9 +152677,9 @@ webhooks: type: - string - 'null' - installation: *638 - organization: *639 - projects_v2_item: *685 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152696,10 +152762,10 @@ webhooks: type: string enum: - restored - changes: *688 - installation: *638 - organization: *639 - projects_v2_item: *685 + changes: *690 + installation: *640 + organization: *641 + projects_v2_item: *687 sender: *4 required: - action @@ -152781,9 +152847,9 @@ webhooks: type: string enum: - reopened - installation: *638 - organization: *639 - projects_v2: *684 + installation: *640 + organization: *641 + projects_v2: *686 sender: *4 required: - action @@ -152864,9 +152930,9 @@ webhooks: type: string enum: - created - installation: *638 - organization: *639 - projects_v2_status_update: &689 + installation: *640 + organization: *641 + projects_v2_status_update: &691 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -153001,9 +153067,9 @@ webhooks: type: string enum: - deleted - installation: *638 - organization: *639 - projects_v2_status_update: *689 + installation: *640 + organization: *641 + projects_v2_status_update: *691 sender: *4 required: - action @@ -153149,9 +153215,9 @@ webhooks: - string - 'null' format: date - installation: *638 - organization: *639 - projects_v2_status_update: *689 + installation: *640 + organization: *641 + projects_v2_status_update: *691 sender: *4 required: - action @@ -153222,10 +153288,10 @@ webhooks: title: public event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - repository @@ -153302,13 +153368,13 @@ webhooks: type: string enum: - assigned - assignee: *664 - enterprise: *637 - installation: *638 - number: &690 + assignee: *666 + enterprise: *639 + installation: *640 + number: &692 description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -155657,7 +155723,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -155739,11 +155805,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -158085,7 +158151,7 @@ webhooks: - draft reason: type: string - repository: *640 + repository: *642 sender: *4 required: - action @@ -158167,11 +158233,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -160513,7 +160579,7 @@ webhooks: - draft reason: type: string - repository: *640 + repository: *642 sender: *4 required: - action @@ -160595,13 +160661,13 @@ webhooks: type: string enum: - closed - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: &691 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: &693 allOf: - - *496 + - *498 - type: object properties: allow_auto_merge: @@ -160663,7 +160729,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *640 + repository: *642 sender: *4 required: - action @@ -160744,12 +160810,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -160829,11 +160895,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *637 - milestone: *395 - number: *690 - organization: *639 - pull_request: &692 + enterprise: *639 + milestone: *397 + number: *692 + organization: *641 + pull_request: &694 title: Pull Request type: object properties: @@ -163160,7 +163226,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -163239,11 +163305,11 @@ webhooks: type: string enum: - dequeued - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -165589,7 +165655,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *640 + repository: *642 sender: *4 required: - action @@ -165713,12 +165779,12 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -165798,11 +165864,11 @@ webhooks: type: string enum: - enqueued - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -168133,7 +168199,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -168213,11 +168279,11 @@ webhooks: type: string enum: - labeled - enterprise: *637 - installation: *638 - label: *663 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + label: *665 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -170565,7 +170631,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -170646,10 +170712,10 @@ webhooks: type: string enum: - locked - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -172995,7 +173061,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -173075,12 +173141,12 @@ webhooks: type: string enum: - milestoned - enterprise: *637 - milestone: *395 - number: *690 - organization: *639 - pull_request: *692 - repository: *640 + enterprise: *639 + milestone: *397 + number: *692 + organization: *641 + pull_request: *694 + repository: *642 sender: *4 required: - action @@ -173159,12 +173225,12 @@ webhooks: type: string enum: - opened - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173245,12 +173311,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173330,12 +173396,12 @@ webhooks: type: string enum: - reopened - enterprise: *637 - installation: *638 - number: *690 - organization: *639 - pull_request: *691 - repository: *640 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 + pull_request: *693 + repository: *642 sender: *4 required: - action @@ -173710,9 +173776,9 @@ webhooks: - start_side - side - reactions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -175942,7 +176008,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -176022,7 +176088,7 @@ webhooks: type: string enum: - deleted - comment: &694 + comment: &696 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. @@ -176315,9 +176381,9 @@ webhooks: - start_side - side - reactions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -178535,7 +178601,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -178615,11 +178681,11 @@ webhooks: type: string enum: - edited - changes: *693 - comment: *694 - enterprise: *637 - installation: *638 - organization: *639 + changes: *695 + comment: *696 + enterprise: *639 + installation: *640 + organization: *641 pull_request: type: object properties: @@ -180840,7 +180906,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *640 + repository: *642 sender: *4 required: - action @@ -180921,9 +180987,9 @@ webhooks: type: string enum: - dismissed - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -183156,7 +183222,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 review: description: The review that was affected. type: object @@ -183402,9 +183468,9 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -185518,8 +185584,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 - review: &695 + repository: *642 + review: &697 description: The review that was affected. type: object properties: @@ -185752,12 +185818,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -188104,7 +188170,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_reviewer: title: User type: @@ -188190,12 +188256,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -190549,7 +190615,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190744,12 +190810,12 @@ webhooks: type: string enum: - review_requested - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -193098,7 +193164,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_reviewer: title: User type: @@ -193185,12 +193251,12 @@ webhooks: type: string enum: - review_requested - enterprise: *637 - installation: *638 + enterprise: *639 + installation: *640 number: description: The pull request number. type: integer - organization: *639 + organization: *641 pull_request: title: Pull Request type: object @@ -195530,7 +195596,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195714,9 +195780,9 @@ webhooks: type: string enum: - submitted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -197952,8 +198018,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 - review: *695 + repository: *642 + review: *697 sender: *4 required: - action @@ -198033,9 +198099,9 @@ webhooks: type: string enum: - resolved - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -200166,7 +200232,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 sender: *4 thread: type: object @@ -200558,9 +200624,9 @@ webhooks: type: string enum: - unresolved - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 pull_request: title: Simple Pull Request type: object @@ -202674,7 +202740,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *640 + repository: *642 sender: *4 thread: type: object @@ -203068,10 +203134,10 @@ webhooks: type: string before: type: string - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -205406,7 +205472,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -205488,11 +205554,11 @@ webhooks: type: string enum: - unassigned - assignee: *696 - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + assignee: *698 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -207842,7 +207908,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -207921,11 +207987,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *637 - installation: *638 - label: *663 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + label: *665 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -210264,7 +210330,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -210345,10 +210411,10 @@ webhooks: type: string enum: - unlocked - enterprise: *637 - installation: *638 - number: *690 - organization: *639 + enterprise: *639 + installation: *640 + number: *692 + organization: *641 pull_request: title: Pull Request type: object @@ -212677,7 +212743,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *640 + repository: *642 sender: *4 required: - action @@ -212880,7 +212946,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *637 + enterprise: *639 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212975,8 +213041,8 @@ webhooks: - url - author - committer - installation: *638 - organization: *639 + installation: *640 + organization: *641 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -213564,9 +213630,9 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 registry_package: type: object properties: @@ -214043,7 +214109,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *678 + items: *680 summary: type: string tag_name: @@ -214099,7 +214165,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -214177,9 +214243,9 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 registry_package: type: object properties: @@ -214491,7 +214557,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *678 + items: *680 summary: type: string tag_name: @@ -214541,7 +214607,7 @@ webhooks: - owner - package_version - registry - repository: *640 + repository: *642 sender: *4 required: - action @@ -214618,10 +214684,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - release: &697 + enterprise: *639 + installation: *640 + organization: *641 + release: &699 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -214937,7 +215003,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *640 + repository: *642 sender: *4 required: - action @@ -215014,11 +215080,11 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -215126,11 +215192,11 @@ webhooks: type: boolean required: - to - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -215208,9 +215274,9 @@ webhooks: type: string enum: - prereleased - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -215531,7 +215597,7 @@ webhooks: - string - 'null' format: uri - repository: *640 + repository: *642 sender: *4 required: - action @@ -215607,10 +215673,10 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - release: &698 + enterprise: *639 + installation: *640 + organization: *641 + release: &700 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -215928,7 +215994,7 @@ webhooks: - string - 'null' format: uri - repository: *640 + repository: *642 sender: *4 required: - action @@ -216004,11 +216070,11 @@ webhooks: type: string enum: - released - enterprise: *637 - installation: *638 - organization: *639 - release: *697 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *699 + repository: *642 sender: *4 required: - action @@ -216084,11 +216150,11 @@ webhooks: type: string enum: - unpublished - enterprise: *637 - installation: *638 - organization: *639 - release: *698 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + release: *700 + repository: *642 sender: *4 required: - action @@ -216164,11 +216230,11 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - repository_advisory: *549 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + repository_advisory: *551 sender: *4 required: - action @@ -216244,11 +216310,11 @@ webhooks: type: string enum: - reported - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - repository_advisory: *549 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + repository_advisory: *551 sender: *4 required: - action @@ -216324,10 +216390,10 @@ webhooks: type: string enum: - archived - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216404,10 +216470,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216485,10 +216551,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216573,10 +216639,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216691,10 +216757,10 @@ webhooks: - 'null' items: type: string - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216766,10 +216832,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 status: type: string @@ -216850,10 +216916,10 @@ webhooks: type: string enum: - privatized - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -216930,10 +216996,10 @@ webhooks: type: string enum: - publicized - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217027,10 +217093,10 @@ webhooks: - name required: - repository - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217110,10 +217176,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 sender: *4 required: @@ -217192,10 +217258,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 sender: *4 required: @@ -217274,10 +217340,10 @@ webhooks: type: string enum: - edited - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 repository_ruleset: *241 changes: type: object @@ -217585,10 +217651,10 @@ webhooks: - from required: - owner - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217666,10 +217732,10 @@ webhooks: type: string enum: - unarchived - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -217747,7 +217813,7 @@ webhooks: type: string enum: - create - alert: &699 + alert: &701 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217871,10 +217937,10 @@ webhooks: type: string enum: - open - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218084,10 +218150,10 @@ webhooks: type: string enum: - dismissed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218165,11 +218231,11 @@ webhooks: type: string enum: - reopen - alert: *699 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *701 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218371,10 +218437,10 @@ webhooks: enum: - fixed - open - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218452,7 +218518,7 @@ webhooks: type: string enum: - created - alert: &700 + alert: &702 type: object properties: number: *70 @@ -218529,10 +218595,21 @@ webhooks: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or business. + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218613,11 +218690,11 @@ webhooks: type: string enum: - created - alert: *700 - installation: *638 - location: *701 - organization: *639 - repository: *640 + alert: *702 + installation: *640 + location: *703 + organization: *641 + repository: *642 sender: *4 required: - location @@ -218641,6 +218718,8 @@ webhooks: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -218793,6 +218872,88 @@ 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: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + sender: *4 + 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: |- @@ -218853,11 +219014,11 @@ webhooks: type: string enum: - reopened - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -218935,11 +219096,11 @@ webhooks: type: string enum: - resolved - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -219017,11 +219178,11 @@ webhooks: type: string enum: - validated - alert: *700 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + alert: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -219097,11 +219258,11 @@ webhooks: type: string enum: - published - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - security_advisory: &702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + security_advisory: &704 description: The details of the security advisory, including summary, description, and severity. type: object @@ -219287,11 +219448,11 @@ webhooks: type: string enum: - updated - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 - security_advisory: *702 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 + security_advisory: *704 sender: *4 required: - action @@ -219364,10 +219525,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219554,10 +219715,10 @@ webhooks: type: object properties: security_and_analysis: *232 - enterprise: *637 - installation: *638 - organization: *639 - repository: *291 + enterprise: *639 + installation: *640 + organization: *641 + repository: *293 sender: *4 required: - changes @@ -219635,12 +219796,12 @@ webhooks: type: string enum: - cancelled - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: &703 + sponsorship: &705 type: object properties: created_at: @@ -219945,12 +220106,12 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - sponsorship @@ -220038,12 +220199,12 @@ webhooks: type: string required: - from - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220120,17 +220281,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &704 + effective_date: &706 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: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - sponsorship @@ -220204,7 +220365,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &705 + changes: &707 type: object properties: tier: @@ -220248,13 +220409,13 @@ webhooks: - from required: - tier - effective_date: *704 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + effective_date: *706 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220331,13 +220492,13 @@ webhooks: type: string enum: - tier_changed - changes: *705 - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + changes: *707 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - sponsorship: *703 + sponsorship: *705 required: - action - changes @@ -220411,10 +220572,10 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220498,10 +220659,10 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220930,15 +221091,15 @@ webhooks: type: - string - 'null' - enterprise: *637 + enterprise: *639 id: description: The unique identifier of the status. type: integer - installation: *638 + installation: *640 name: type: string - organization: *639 - repository: *640 + organization: *641 + repository: *642 sender: *4 sha: description: The Commit SHA. @@ -221054,9 +221215,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221146,9 +221307,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221238,9 +221399,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221330,9 +221491,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *98 - installation: *638 - organization: *639 - repository: *640 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -221409,12 +221570,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - team: &706 + team: &708 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221607,9 +221768,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -222079,7 +222240,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -222155,9 +222316,9 @@ webhooks: type: string enum: - created - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -222627,7 +222788,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -222704,9 +222865,9 @@ webhooks: type: string enum: - deleted - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -223176,7 +223337,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -223320,9 +223481,9 @@ webhooks: - from required: - permissions - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -223792,7 +223953,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - changes @@ -223870,9 +224031,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *637 - installation: *638 - organization: *639 + enterprise: *639 + installation: *640 + organization: *641 repository: title: Repository description: A git repository @@ -224342,7 +224503,7 @@ webhooks: - topics - visibility sender: *4 - team: *706 + team: *708 required: - action - team @@ -224418,10 +224579,10 @@ webhooks: type: string enum: - started - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 required: - action @@ -224494,17 +224655,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *637 + enterprise: *639 inputs: type: - object - 'null' additionalProperties: true - installation: *638 - organization: *639 + installation: *640 + organization: *641 ref: type: string - repository: *640 + repository: *642 sender: *4 workflow: type: string @@ -224586,10 +224747,10 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: allOf: @@ -224845,7 +225006,7 @@ webhooks: type: string required: - conclusion - deployment: *415 + deployment: *417 required: - action - repository @@ -224924,10 +225085,10 @@ webhooks: type: string enum: - in_progress - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: allOf: @@ -225209,7 +225370,7 @@ webhooks: required: - status - steps - deployment: *415 + deployment: *417 required: - action - repository @@ -225288,10 +225449,10 @@ webhooks: type: string enum: - queued - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: type: object @@ -225437,7 +225598,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *417 required: - action - repository @@ -225516,10 +225677,10 @@ webhooks: type: string enum: - waiting - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 workflow_job: type: object @@ -225666,7 +225827,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *417 required: - action - repository @@ -225746,12 +225907,12 @@ webhooks: type: string enum: - completed - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object @@ -226770,12 +226931,12 @@ webhooks: type: string enum: - in_progress - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object @@ -227779,12 +227940,12 @@ webhooks: type: string enum: - requested - enterprise: *637 - installation: *638 - organization: *639 - repository: *640 + enterprise: *639 + installation: *640 + organization: *641 + repository: *642 sender: *4 - workflow: *659 + workflow: *661 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 5198312476..5fe9f304e9 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -4955,6 +4955,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": { @@ -22961,6 +22967,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": { @@ -57564,6 +57576,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": { @@ -94337,6 +94355,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.", @@ -104455,6 +104566,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } }, @@ -108142,6 +108267,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -131507,6 +131642,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -149561,6 +149710,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -270539,6 +270702,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", @@ -284933,7 +285131,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, @@ -285019,7 +285219,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -305047,7 +305249,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, @@ -305066,7 +305270,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -305088,7 +305294,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": { @@ -305128,7 +305336,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": { @@ -311946,7 +312156,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", @@ -312495,6 +312707,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index aa128d95e4..7fcbab86c0 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3507,6 +3507,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 @@ -16720,6 +16722,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 @@ -41786,6 +41790,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 @@ -68189,6 +68195,72 @@ 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: |- @@ -75746,6 +75818,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. actions-billing-usage: type: object properties: @@ -78375,6 +78458,16 @@ components: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -95265,6 +95358,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. 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`. @@ -108596,6 +108700,17 @@ components: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or business. webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -198538,6 +198653,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 @@ -209957,6 +210096,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 @@ -210039,6 +210180,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false actions-billing-usage: value: total_minutes_used: 305 @@ -227297,6 +227440,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 @@ -227314,6 +227459,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -227333,6 +227480,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -227370,6 +227519,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 @@ -233228,6 +233379,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -233730,6 +233883,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 5198312476..5fe9f304e9 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -4955,6 +4955,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": { @@ -22961,6 +22967,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": { @@ -57564,6 +57576,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": { @@ -94337,6 +94355,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.", @@ -104455,6 +104566,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." } } }, @@ -108142,6 +108267,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -131507,6 +131642,20 @@ "inactive", "unknown" ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise." } } }, @@ -149561,6 +149710,20 @@ ], "format": "date-time", "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or business." } } }, @@ -270539,6 +270702,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", @@ -284933,7 +285131,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, @@ -285019,7 +285219,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -305047,7 +305249,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, @@ -305066,7 +305270,9 @@ "push_protection_bypassed": false, "push_protection_bypassed_at": null, "resolution_comment": null, - "validity": "unknown" + "validity": "unknown", + "publicly_leaked": false, + "multi_repo": false } ] }, @@ -305088,7 +305294,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": { @@ -305128,7 +305336,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": { @@ -311946,7 +312156,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", @@ -312495,6 +312707,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index aa128d95e4..7fcbab86c0 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3507,6 +3507,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 @@ -16720,6 +16722,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 @@ -41786,6 +41790,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 @@ -68189,6 +68195,72 @@ 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: |- @@ -75746,6 +75818,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. actions-billing-usage: type: object properties: @@ -78375,6 +78458,16 @@ components: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -95265,6 +95358,17 @@ components: - active - inactive - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + under the same organization or enterprise. 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`. @@ -108596,6 +108700,17 @@ components: format: date-time description: 'The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the detected secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or business. webhooks_security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -198538,6 +198653,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 @@ -209957,6 +210096,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 @@ -210039,6 +210180,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false actions-billing-usage: value: total_minutes_used: 305 @@ -227297,6 +227440,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 @@ -227314,6 +227459,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-open: value: number: 42 @@ -227333,6 +227480,8 @@ components: push_protection_bypassed_at: resolution_comment: validity: unknown + publicly_leaked: false + multi_repo: false secret-scanning-alert-resolved: value: number: 42 @@ -227370,6 +227519,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 @@ -233228,6 +233379,8 @@ components: resolved_by: secret_type: mailchimp_api_key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 + publicly_leaked: false + multi_repo: false location: type: commit details: @@ -233730,6 +233883,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-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 71ad4d6d7e..a313a26cf3 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -73729,6 +73729,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -74437,6 +74447,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -1066452,9 +1066472,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-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index be16ac8362..d954aec140 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -19826,6 +19826,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -194910,9 +194920,6 @@ 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-next/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json index 71ad4d6d7e..a313a26cf3 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -73729,6 +73729,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -74437,6 +74447,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -1066452,9 +1066472,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-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index be16ac8362..d954aec140 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -19826,6 +19826,16 @@ paths: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -194910,9 +194920,6 @@ 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-next/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json index 426ea91c7d..e8ac0062cc 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json @@ -96002,6 +96002,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -280017,9 +280027,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-next/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml index 40a88b4e33..ad3543d432 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -68912,6 +68912,16 @@ components: - 'null' examples: - 10000 + collaborators: + type: + - integer + - 'null' + description: |- + The number of collaborators on private repositories. + + This field may be null if the number of private repositories is over 50,000. + examples: + - 8 billing_email: type: - string @@ -208640,9 +208650,6 @@ components: 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-next/ghes-3.10/ghes-3.10.json b/descriptions-next/ghes-3.10/ghes-3.10.json index 426ea91c7d..e8ac0062cc 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.json +++ b/descriptions-next/ghes-3.10/ghes-3.10.json @@ -96002,6 +96002,16 @@ 10000 ] }, + "collaborators": { + "type": [ + "integer", + "null" + ], + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", + "examples": [ + 8 + ] + }, "billing_email": { "type": [ "string", @@ -280017,9 +280027,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/secre{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}