diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 1bff9ed8d6..40b7c88353 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -70710,6 +70710,60 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -124898,7 +124952,7 @@ } }, "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`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true }, @@ -128372,6 +128426,70 @@ "id" ] }, + "billing-usage-report-user": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, "enterprise-webhooks": { "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).\"", @@ -171928,30 +172046,14 @@ "login", "id" ] + }, + "type": { + "$ref": "#/components/schemas/issue-type" } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { @@ -297543,6 +297645,24 @@ } ] }, + "billing-usage-report-user": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -301328,6 +301448,21 @@ } } } + }, + "billing_usage_report_user": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index bed6e2c51b..79aafba911 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -51357,6 +51357,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -92088,8 +92123,8 @@ components: encoded nullable: true secret-scanning-alert-resolution-comment: - description: An optional comment when closing an alert. Cannot be updated or - deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. Cannot + be updated or deleted. type: string nullable: true secret-scanning-location-commit: @@ -94748,6 +94783,54 @@ components: required: - key - id + billing-usage-report-user: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount enterprise-webhooks: title: Enterprise description: |- @@ -127337,28 +127420,11 @@ components: required: - login - id + type: + "$ref": "#/components/schemas/issue-type" required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository @@ -225772,6 +225838,19 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-usage-report-user: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example check-run-completed: value: action: completed @@ -229022,6 +229101,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_user: + description: Response when getting a billing usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 1bff9ed8d6..40b7c88353 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -70710,6 +70710,60 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -124898,7 +124952,7 @@ } }, "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`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true }, @@ -128372,6 +128426,70 @@ "id" ] }, + "billing-usage-report-user": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, "enterprise-webhooks": { "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).\"", @@ -171928,30 +172046,14 @@ "login", "id" ] + }, + "type": { + "$ref": "#/components/schemas/issue-type" } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { @@ -297543,6 +297645,24 @@ } ] }, + "billing-usage-report-user": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -301328,6 +301448,21 @@ } } } + }, + "billing_usage_report_user": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index bed6e2c51b..79aafba911 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -51357,6 +51357,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -92088,8 +92123,8 @@ components: encoded nullable: true secret-scanning-alert-resolution-comment: - description: An optional comment when closing an alert. Cannot be updated or - deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. Cannot + be updated or deleted. type: string nullable: true secret-scanning-location-commit: @@ -94748,6 +94783,54 @@ components: required: - key - id + billing-usage-report-user: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount enterprise-webhooks: title: Enterprise description: |- @@ -127337,28 +127420,11 @@ components: required: - login - id + type: + "$ref": "#/components/schemas/issue-type" required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository @@ -225772,6 +225838,19 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-usage-report-user: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example check-run-completed: value: action: completed @@ -229022,6 +229101,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_user: + description: Response when getting a billing usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index d9365b9119..74fa7d1966 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -420891,7 +420891,7 @@ ] }, "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true } @@ -543055,6 +543055,299 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -737865,30 +738158,71 @@ "login", "id" ] + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d9ad0e0f0d..2110892b3e 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -15352,7 +15352,8 @@ paths: required: true schema: type: string - - name: year + - &649 + name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year. @@ -15360,7 +15361,8 @@ paths: required: false schema: type: integer - - name: month + - &650 + name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used. @@ -15368,7 +15370,8 @@ paths: required: false schema: type: integer - - name: day + - &651 + name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used. @@ -15376,7 +15379,8 @@ paths: required: false schema: type: integer - - name: hour + - &652 + name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used. @@ -52607,7 +52611,7 @@ paths: check. type: array items: *359 - deployment: &657 + deployment: &661 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53519,7 +53523,7 @@ paths: type: string format: date-time nullable: true - head_commit: &683 + head_commit: &687 title: Simple Commit description: A commit. type: object @@ -68321,7 +68325,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &691 + last_response: &695 title: Hook Response type: object properties: @@ -83696,8 +83700,8 @@ paths: state: *577 resolution: *578 resolution_comment: - description: An optional comment when closing an alert. Cannot be - updated or deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. + Cannot be updated or deleted. type: string nullable: true required: @@ -83800,7 +83804,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &712 + items: &716 type: object properties: type: @@ -97473,7 +97477,7 @@ paths: - title - created_at examples: - default: &649 + default: &653 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97638,7 +97642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &650 + - &654 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 @@ -97667,7 +97671,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &651 + items: &655 title: Starred Repository description: Starred Repository type: object @@ -99644,6 +99648,101 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - *133 + - *649 + - *650 + - *651 + - *652 + responses: + '200': + description: Response when getting a billing usage report + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example + '400': *14 + '403': *29 + '500': *94 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -99700,7 +99799,7 @@ paths: type: array items: *634 examples: - default: *649 + default: *653 headers: Link: *58 x-github: @@ -99725,7 +99824,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *650 + - *654 - *48 - *17 - *19 @@ -99737,7 +99836,7 @@ paths: schema: anyOf: - type: array - items: *651 + items: *655 - type: array items: *60 examples: @@ -99900,7 +99999,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &652 + enterprise: &656 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99958,7 +100057,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &653 + installation: &657 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99977,7 +100076,7 @@ x-webhooks: required: - id - node_id - organization: &654 + organization: &658 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100037,13 +100136,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &655 + repository: &659 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &685 + properties: &689 id: description: Unique identifier of the repository example: 42 @@ -100726,7 +100825,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &686 + required: &690 - archive_url - assignees_url - blobs_url @@ -100877,10 +100976,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -100956,11 +101055,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: &656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: &660 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) @@ -101183,11 +101282,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: *656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: *660 sender: *4 required: - action @@ -101370,11 +101469,11 @@ x-webhooks: - everyone required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: *656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: *660 sender: *4 required: - action @@ -101458,7 +101557,7 @@ x-webhooks: type: string enum: - completed - check_run: &658 + check_run: &662 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101559,7 +101658,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *657 + deployment: *661 details_url: example: https://example.com type: string @@ -101644,9 +101743,9 @@ x-webhooks: - output - app - pull_requests - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -102039,10 +102138,10 @@ x-webhooks: type: string enum: - created - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -102438,10 +102537,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 requested_action: description: The action requested by the user. type: object @@ -102846,10 +102945,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -103826,10 +103925,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -104499,10 +104598,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -105166,10 +105265,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -105477,20 +105576,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &659 + commit_oid: &663 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: *652 - installation: *653 - organization: *654 - ref: &660 + enterprise: *656 + installation: *657 + organization: *658 + ref: &664 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: *655 + repository: *659 sender: *4 required: - action @@ -105882,12 +105981,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106150,12 +106249,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106484,12 +106583,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106754,16 +106853,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *655 + repository: *659 sender: *4 required: - action @@ -106997,12 +107096,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -107259,10 +107358,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -107342,18 +107441,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *654 - pusher_type: &661 + organization: *658 + pusher_type: &665 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &662 + ref: &666 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107363,7 +107462,7 @@ x-webhooks: enum: - tag - branch - repository: *655 + repository: *659 sender: *4 required: - ref @@ -107446,9 +107545,9 @@ x-webhooks: enum: - created definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107533,9 +107632,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107613,9 +107712,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107693,9 +107792,9 @@ x-webhooks: enum: - updated definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107772,10 +107871,10 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - repository: *655 - organization: *654 + enterprise: *656 + installation: *657 + repository: *659 + organization: *658 sender: *4 new_property_values: type: array @@ -107860,18 +107959,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - pusher_type: *661 - ref: *662 + enterprise: *656 + installation: *657 + organization: *658 + pusher_type: *665 + ref: *666 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *655 + repository: *659 sender: *4 required: - ref @@ -107956,10 +108055,10 @@ x-webhooks: enum: - auto_dismissed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108044,10 +108143,10 @@ x-webhooks: enum: - auto_reopened alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108132,10 +108231,10 @@ x-webhooks: enum: - created alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108218,10 +108317,10 @@ x-webhooks: enum: - dismissed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108304,10 +108403,10 @@ x-webhooks: enum: - fixed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108391,10 +108490,10 @@ x-webhooks: enum: - reintroduced alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108477,10 +108576,10 @@ x-webhooks: enum: - reopened alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108557,9 +108656,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - key: &663 + enterprise: *656 + installation: *657 + key: &667 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108595,8 +108694,8 @@ x-webhooks: - verified - created_at - read_only - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -108673,11 +108772,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - key: *663 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + key: *667 + organization: *658 + repository: *659 sender: *4 required: - action @@ -109238,12 +109337,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: &667 + workflow: &671 title: Workflow type: object nullable: true @@ -109973,9 +110072,9 @@ x-webhooks: pull_requests: type: array items: *523 - repository: *655 - organization: *654 - installation: *653 + repository: *659 + organization: *658 + installation: *657 sender: *4 responses: '200': @@ -110046,7 +110145,7 @@ x-webhooks: type: string enum: - approved - approver: &664 + approver: &668 type: object properties: avatar_url: @@ -110089,11 +110188,11 @@ x-webhooks: type: string comment: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - reviewers: &665 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + reviewers: &669 type: array items: type: object @@ -110172,7 +110271,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &666 + workflow_job_run: &670 type: object properties: conclusion: @@ -110903,18 +111002,18 @@ x-webhooks: type: string enum: - rejected - approver: *664 + approver: *668 comment: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - reviewers: *665 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + reviewers: *669 sender: *4 since: type: string - workflow_job_run: *666 + workflow_job_run: *670 workflow_job_runs: type: array items: @@ -111618,13 +111717,13 @@ x-webhooks: type: string enum: - requested - enterprise: *652 + enterprise: *656 environment: type: string - installation: *653 - organization: *654 - repository: *655 - requestor: &672 + installation: *657 + organization: *658 + repository: *659 + requestor: &676 title: User type: object nullable: true @@ -113523,12 +113622,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Deployment Workflow Run type: object @@ -114208,7 +114307,7 @@ x-webhooks: type: string enum: - answered - answer: &670 + answer: &674 type: object properties: author_association: @@ -114365,7 +114464,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &668 + discussion: &672 title: Discussion description: A Discussion in a repository. type: object @@ -114673,10 +114772,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114803,11 +114902,11 @@ x-webhooks: - from required: - category - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114890,11 +114989,11 @@ x-webhooks: type: string enum: - closed - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114976,7 +115075,7 @@ x-webhooks: type: string enum: - created - comment: &669 + comment: &673 type: object properties: author_association: @@ -115133,11 +115232,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115220,12 +115319,12 @@ x-webhooks: type: string enum: - deleted - comment: *669 - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + comment: *673 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115320,12 +115419,12 @@ x-webhooks: - from required: - body - comment: *669 - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + comment: *673 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115409,11 +115508,11 @@ x-webhooks: type: string enum: - created - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115495,11 +115594,11 @@ x-webhooks: type: string enum: - deleted - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115599,11 +115698,11 @@ x-webhooks: type: string required: - from - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115685,10 +115784,10 @@ x-webhooks: type: string enum: - labeled - discussion: *668 - enterprise: *652 - installation: *653 - label: &671 + discussion: *672 + enterprise: *656 + installation: *657 + label: &675 title: Label type: object properties: @@ -115720,8 +115819,8 @@ x-webhooks: - color - default - description - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115804,11 +115903,11 @@ x-webhooks: type: string enum: - locked - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115890,11 +115989,11 @@ x-webhooks: type: string enum: - pinned - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115976,11 +116075,11 @@ x-webhooks: type: string enum: - reopened - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116065,16 +116164,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *668 - new_repository: *655 + new_discussion: *672 + new_repository: *659 required: - new_discussion - new_repository - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116157,10 +116256,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *668 - old_answer: *670 - organization: *654 - repository: *655 + discussion: *672 + old_answer: *674 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116242,12 +116341,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *668 - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116330,11 +116429,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116416,11 +116515,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116493,7 +116592,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *652 + enterprise: *656 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117153,9 +117252,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - forkee @@ -117301,9 +117400,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pages: description: The pages that were updated. type: array @@ -117340,7 +117439,7 @@ x-webhooks: - action - sha - html_url - repository: *655 + repository: *659 sender: *4 required: - pages @@ -117416,10 +117515,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: &673 + organization: *658 + repositories: &677 description: An array of repository objects that the installation can access. type: array @@ -117445,8 +117544,8 @@ x-webhooks: - name - full_name - private - repository: *655 - requester: *672 + repository: *659 + requester: *676 sender: *4 required: - action @@ -117521,11 +117620,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -117601,11 +117700,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -117681,10 +117780,10 @@ x-webhooks: type: string enum: - added - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories_added: &674 + organization: *658 + repositories_added: &678 description: An array of repository objects, which were added to the installation. type: array @@ -117730,15 +117829,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *655 - repository_selection: &675 + repository: *659 + repository_selection: &679 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *672 + requester: *676 sender: *4 required: - action @@ -117817,10 +117916,10 @@ x-webhooks: type: string enum: - removed - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories_added: *674 + organization: *658 + repositories_added: *678 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117847,9 +117946,9 @@ x-webhooks: - name - full_name - private - repository: *655 - repository_selection: *675 - requester: *672 + repository: *659 + repository_selection: *679 + requester: *676 sender: *4 required: - action @@ -117928,11 +118027,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -118110,10 +118209,10 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 target_type: type: string @@ -118192,11 +118291,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -118448,8 +118547,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119605,8 +119704,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -119686,7 +119785,7 @@ x-webhooks: type: string enum: - deleted - comment: &676 + comment: &680 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119851,8 +119950,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121006,8 +121105,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -121087,7 +121186,7 @@ x-webhooks: type: string enum: - edited - changes: &704 + changes: &708 description: The changes to the comment. type: object properties: @@ -121099,9 +121198,9 @@ x-webhooks: type: string required: - from - comment: *676 - enterprise: *652 - installation: *653 + comment: *680 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122256,8 +122355,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -122339,10 +122438,10 @@ x-webhooks: type: string enum: - assigned - assignee: *672 - enterprise: *652 - installation: *653 - issue: &679 + assignee: *676 + enterprise: *656 + installation: *657 + issue: &683 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123261,8 +123360,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -123342,8 +123441,8 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124402,8 +124501,8 @@ x-webhooks: required: - state - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -124482,8 +124581,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125395,8 +125494,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -125475,8 +125574,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126391,7 +126490,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &677 + milestone: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126529,8 +126628,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -126629,8 +126728,8 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127549,9 +127648,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *671 - organization: *654 - repository: *655 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -127631,8 +127730,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128550,9 +128649,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *671 - organization: *654 - repository: *655 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -128632,8 +128731,8 @@ x-webhooks: type: string enum: - locked - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129552,8 +129651,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -129632,8 +129731,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130546,9 +130645,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *677 - organization: *654 - repository: *655 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -131522,28 +131621,10 @@ x-webhooks: required: - login - id + type: *193 required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository @@ -132009,8 +132090,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132928,8 +133009,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -133009,9 +133090,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *652 - installation: *653 - issue: &678 + enterprise: *656 + installation: *657 + issue: &682 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133923,8 +134004,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -134003,8 +134084,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134922,8 +135003,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136386,11 +136467,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *652 - installation: *653 - issue: *678 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *682 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136470,12 +136551,12 @@ x-webhooks: type: string enum: - typed - enterprise: *652 - installation: *653 - issue: *679 + enterprise: *656 + installation: *657 + issue: *683 type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136556,7 +136637,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &707 + assignee: &711 title: User type: object nullable: true @@ -136626,11 +136707,11 @@ x-webhooks: required: - login - id - enterprise: *652 - installation: *653 - issue: *679 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *683 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136709,12 +136790,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *652 - installation: *653 - issue: *679 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *683 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136794,8 +136875,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137712,8 +137793,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137793,11 +137874,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *652 - installation: *653 - issue: *678 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *682 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137876,12 +137957,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *652 - installation: *653 - issue: *679 + enterprise: *656 + installation: *657 + issue: *683 type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137961,11 +138042,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138043,11 +138124,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138157,11 +138238,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138243,9 +138324,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: &680 + enterprise: *656 + installation: *657 + marketplace_purchase: &684 title: Marketplace Purchase type: object required: @@ -138328,8 +138409,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *654 - previous_marketplace_purchase: &681 + organization: *658 + previous_marketplace_purchase: &685 title: Marketplace Purchase type: object properties: @@ -138409,7 +138490,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138489,10 +138570,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138575,7 +138656,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138657,10 +138738,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138742,7 +138823,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138823,8 +138904,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 marketplace_purchase: title: Marketplace Purchase type: object @@ -138906,9 +138987,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *654 - previous_marketplace_purchase: *681 - repository: *655 + organization: *658 + previous_marketplace_purchase: *685 + repository: *659 sender: *4 required: - action @@ -138988,12 +139069,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 - previous_marketplace_purchase: *681 - repository: *655 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 + previous_marketplace_purchase: *685 + repository: *659 sender: *4 required: - action @@ -139095,11 +139176,11 @@ x-webhooks: type: string required: - to - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139199,11 +139280,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139282,11 +139363,11 @@ x-webhooks: type: string enum: - removed - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139364,11 +139445,11 @@ x-webhooks: type: string enum: - added - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139444,7 +139525,7 @@ x-webhooks: required: - login - id - team: &682 + team: &686 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139634,11 +139715,11 @@ x-webhooks: type: string enum: - removed - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139715,7 +139796,7 @@ x-webhooks: required: - login - id - team: *682 + team: *686 required: - action - scope @@ -139797,8 +139878,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *653 - merge_group: &684 + installation: *657 + merge_group: &688 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139817,15 +139898,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *683 + head_commit: *687 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139911,10 +139992,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *653 - merge_group: *684 - organization: *654 - repository: *655 + installation: *657 + merge_group: *688 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139987,7 +140068,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 + enterprise: *656 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140095,16 +140176,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *653 - organization: *654 + installation: *657 + organization: *658 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -140185,11 +140266,11 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140268,9 +140349,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - milestone: &687 + enterprise: *656 + installation: *657 + milestone: &691 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140407,8 +140488,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140487,11 +140568,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140601,11 +140682,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140685,11 +140766,11 @@ x-webhooks: type: string enum: - opened - enterprise: *652 - installation: *653 - milestone: *687 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *691 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140768,11 +140849,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *672 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + blocked_user: *676 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140851,11 +140932,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *672 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + blocked_user: *676 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140934,9 +141015,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - membership: &688 + enterprise: *656 + installation: *657 + membership: &692 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141028,8 +141109,8 @@ x-webhooks: - role - organization_url - user - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141107,11 +141188,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141190,8 +141271,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141307,10 +141388,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 - user: *672 + user: *676 required: - action - invitation @@ -141388,11 +141469,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141479,11 +141560,11 @@ x-webhooks: properties: from: type: string - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141559,9 +141640,9 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 package: description: Information about the package. type: object @@ -142060,7 +142141,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &689 + items: &693 title: Ruby Gems metadata type: object properties: @@ -142155,7 +142236,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -142231,9 +142312,9 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 package: description: Information about the package. type: object @@ -142586,7 +142667,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *689 + items: *693 source_url: type: string format: uri @@ -142656,7 +142737,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -142833,12 +142914,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *652 + enterprise: *656 id: type: integer - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - id @@ -142915,7 +142996,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &690 + personal_access_token_request: &694 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143061,10 +143142,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *652 - organization: *654 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143141,11 +143222,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *690 - enterprise: *652 - organization: *654 + personal_access_token_request: *694 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143221,11 +143302,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *690 - enterprise: *652 - organization: *654 + personal_access_token_request: *694 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143300,11 +143381,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *690 - organization: *654 - enterprise: *652 + personal_access_token_request: *694 + organization: *658 + enterprise: *656 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143409,7 +143490,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *691 + last_response: *695 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143441,8 +143522,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 zen: description: Random string of GitHub zen. @@ -143687,10 +143768,10 @@ x-webhooks: - from required: - note - enterprise: *652 - installation: *653 - organization: *654 - project_card: &692 + enterprise: *656 + installation: *657 + organization: *658 + project_card: &696 title: Project Card type: object properties: @@ -143809,7 +143890,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -143890,11 +143971,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project_card: *692 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_card: *696 + repository: *659 sender: *4 required: - action @@ -143974,9 +144055,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 project_card: title: Project Card type: object @@ -144104,8 +144185,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -144199,11 +144280,11 @@ x-webhooks: - from required: - note - enterprise: *652 - installation: *653 - organization: *654 - project_card: *692 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_card: *696 + repository: *659 sender: *4 required: - action @@ -144297,9 +144378,9 @@ x-webhooks: - from required: - column_id - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 project_card: allOf: - title: Project Card @@ -144489,7 +144570,7 @@ x-webhooks: type: string required: - after_id - repository: *655 + repository: *659 sender: *4 required: - action @@ -144569,10 +144650,10 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - organization: *654 - project: &694 + enterprise: *656 + installation: *657 + organization: *658 + project: &698 title: Project type: object properties: @@ -144696,7 +144777,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -144776,10 +144857,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project_column: &693 + enterprise: *656 + installation: *657 + organization: *658 + project_column: &697 title: Project Column type: object properties: @@ -144818,7 +144899,7 @@ x-webhooks: - name - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -144897,18 +144978,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -144998,11 +145079,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 + repository: *659 sender: *4 required: - action @@ -145082,11 +145163,11 @@ x-webhooks: type: string enum: - moved - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 + repository: *659 sender: *4 required: - action @@ -145166,11 +145247,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145250,18 +145331,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - project: *694 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -145363,11 +145444,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145446,11 +145527,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145531,9 +145612,9 @@ x-webhooks: type: string enum: - closed - installation: *653 - organization: *654 - projects_v2: &695 + installation: *657 + organization: *658 + projects_v2: &699 title: Projects v2 Project description: A projects v2 project type: object @@ -145676,9 +145757,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145759,9 +145840,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145878,9 +145959,9 @@ x-webhooks: type: string to: type: string - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145963,7 +146044,7 @@ x-webhooks: type: string enum: - archived - changes: &699 + changes: &703 type: object properties: archived_at: @@ -145977,9 +146058,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *653 - organization: *654 - projects_v2_item: &696 + installation: *657 + organization: *658 + projects_v2_item: &700 title: Projects v2 Item description: An item belonging to a project type: object @@ -146113,9 +146194,9 @@ x-webhooks: nullable: true to: type: string - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146197,9 +146278,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146280,9 +146361,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146388,7 +146469,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &697 + - &701 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146406,7 +146487,7 @@ x-webhooks: required: - id - name - - &698 + - &702 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146429,8 +146510,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *697 - - *698 + - *701 + - *702 required: - field_value - type: object @@ -146446,9 +146527,9 @@ x-webhooks: nullable: true required: - body - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146543,9 +146624,9 @@ x-webhooks: to: type: string nullable: true - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146628,10 +146709,10 @@ x-webhooks: type: string enum: - restored - changes: *699 - installation: *653 - organization: *654 - projects_v2_item: *696 + changes: *703 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146713,9 +146794,9 @@ x-webhooks: type: string enum: - reopened - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -146796,9 +146877,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2_status_update: &700 + installation: *657 + organization: *658 + projects_v2_status_update: &704 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146925,9 +147006,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2_status_update: *700 + installation: *657 + organization: *658 + projects_v2_status_update: *704 sender: *4 required: - action @@ -147063,9 +147144,9 @@ x-webhooks: type: string format: date nullable: true - installation: *653 - organization: *654 - projects_v2_status_update: *700 + installation: *657 + organization: *658 + projects_v2_status_update: *704 sender: *4 required: - action @@ -147136,10 +147217,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - repository @@ -147216,13 +147297,13 @@ x-webhooks: type: string enum: - assigned - assignee: *672 - enterprise: *652 - installation: *653 - number: &701 + assignee: *676 + enterprise: *656 + installation: *657 + number: &705 description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -149505,7 +149586,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -149587,11 +149668,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -151869,7 +151950,7 @@ x-webhooks: - draft reason: type: string - repository: *655 + repository: *659 sender: *4 required: - action @@ -151951,11 +152032,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -154233,7 +154314,7 @@ x-webhooks: - draft reason: type: string - repository: *655 + repository: *659 sender: *4 required: - action @@ -154315,11 +154396,11 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: &702 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: &706 allOf: - *523 - type: object @@ -154383,7 +154464,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *655 + repository: *659 sender: *4 required: - action @@ -154464,12 +154545,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -154549,11 +154630,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *652 + enterprise: *656 milestone: *506 - number: *701 - organization: *654 - pull_request: &703 + number: *705 + organization: *658 + pull_request: &707 title: Pull Request type: object properties: @@ -156816,7 +156897,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -156895,11 +156976,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -159181,7 +159262,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *655 + repository: *659 sender: *4 required: - action @@ -159305,12 +159386,12 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -159390,11 +159471,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -161661,7 +161742,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -161741,11 +161822,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *652 - installation: *653 - label: *671 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + label: *675 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -164027,7 +164108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -164108,10 +164189,10 @@ x-webhooks: type: string enum: - locked - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -166391,7 +166472,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -166471,12 +166552,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *652 + enterprise: *656 milestone: *506 - number: *701 - organization: *654 - pull_request: *703 - repository: *655 + number: *705 + organization: *658 + pull_request: *707 + repository: *659 sender: *4 required: - action @@ -166555,12 +166636,12 @@ x-webhooks: type: string enum: - opened - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -166641,12 +166722,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -166726,12 +166807,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -167097,9 +167178,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -169269,7 +169350,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -169349,7 +169430,7 @@ x-webhooks: type: string enum: - deleted - comment: &705 + comment: &709 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169634,9 +169715,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -171794,7 +171875,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -171874,11 +171955,11 @@ x-webhooks: type: string enum: - edited - changes: *704 - comment: *705 - enterprise: *652 - installation: *653 - organization: *654 + changes: *708 + comment: *709 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -174039,7 +174120,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -174120,9 +174201,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -176295,7 +176376,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 review: description: The review that was affected. type: object @@ -176538,9 +176619,9 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -178594,8 +178675,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 - review: &706 + repository: *659 + review: &710 description: The review that was affected. type: object properties: @@ -178824,12 +178905,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -181112,7 +181193,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_reviewer: title: User type: object @@ -181196,12 +181277,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -183491,7 +183572,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183683,12 +183764,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -185973,7 +186054,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_reviewer: title: User type: object @@ -186058,12 +186139,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -188339,7 +188420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188520,9 +188601,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -190697,8 +190778,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 - review: *706 + repository: *659 + review: *710 sender: *4 required: - action @@ -190778,9 +190859,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -192850,7 +192931,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 sender: *4 thread: type: object @@ -193233,9 +193314,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -195291,7 +195372,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 sender: *4 thread: type: object @@ -195677,10 +195758,10 @@ x-webhooks: type: string before: type: string - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -197951,7 +198032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -198033,11 +198114,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *707 - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + assignee: *711 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -200320,7 +200401,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -200399,11 +200480,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *652 - installation: *653 - label: *671 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + label: *675 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -202676,7 +202757,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -202757,10 +202838,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -205025,7 +205106,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -205225,7 +205306,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *652 + enterprise: *656 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205317,8 +205398,8 @@ x-webhooks: - url - author - committer - installation: *653 - organization: *654 + installation: *657 + organization: *658 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205893,9 +205974,9 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 registry_package: type: object properties: @@ -206341,7 +206422,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *689 + items: *693 summary: type: string tag_name: @@ -206395,7 +206476,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -206473,9 +206554,9 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 registry_package: type: object properties: @@ -206783,7 +206864,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *689 + items: *693 summary: type: string tag_name: @@ -206832,7 +206913,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -206909,10 +206990,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - release: &708 + enterprise: *656 + installation: *657 + organization: *658 + release: &712 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207217,7 +207298,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *655 + repository: *659 sender: *4 required: - action @@ -207294,11 +207375,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -207415,11 +207496,11 @@ x-webhooks: type: boolean required: - to - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -207497,9 +207578,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207808,7 +207889,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *655 + repository: *659 sender: *4 required: - action @@ -207884,10 +207965,10 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - release: &709 + enterprise: *656 + installation: *657 + organization: *658 + release: &713 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208193,7 +208274,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *655 + repository: *659 sender: *4 required: - action @@ -208269,11 +208350,11 @@ x-webhooks: type: string enum: - released - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -208349,11 +208430,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *652 - installation: *653 - organization: *654 - release: *709 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *713 + repository: *659 sender: *4 required: - action @@ -208429,10 +208510,10 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_advisory: *583 sender: *4 required: @@ -208509,10 +208590,10 @@ x-webhooks: type: string enum: - reported - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_advisory: *583 sender: *4 required: @@ -208589,10 +208670,10 @@ x-webhooks: type: string enum: - archived - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208669,10 +208750,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208750,10 +208831,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208837,10 +208918,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208952,10 +209033,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209027,10 +209108,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 status: type: string @@ -209111,10 +209192,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209191,10 +209272,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209288,10 +209369,10 @@ x-webhooks: - name required: - repository - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209371,10 +209452,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 sender: *4 required: @@ -209453,10 +209534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 sender: *4 required: @@ -209535,10 +209616,10 @@ x-webhooks: type: string enum: - edited - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 changes: type: object @@ -209843,10 +209924,10 @@ x-webhooks: - from required: - owner - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209924,10 +210005,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210005,7 +210086,7 @@ x-webhooks: type: string enum: - create - alert: &710 + alert: &714 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210126,10 +210207,10 @@ x-webhooks: type: string enum: - open - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210335,10 +210416,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210416,11 +210497,11 @@ x-webhooks: type: string enum: - reopen - alert: *710 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *714 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210619,10 +210700,10 @@ x-webhooks: enum: - fixed - open - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210700,7 +210781,7 @@ x-webhooks: type: string enum: - created - alert: &711 + alert: &715 type: object properties: number: *54 @@ -210811,10 +210892,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210895,11 +210976,11 @@ x-webhooks: type: string enum: - created - alert: *711 - installation: *653 - location: *712 - organization: *654 - repository: *655 + alert: *715 + installation: *657 + location: *716 + organization: *658 + repository: *659 sender: *4 required: - location @@ -211137,11 +211218,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211219,11 +211300,11 @@ x-webhooks: type: string enum: - reopened - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211301,11 +211382,11 @@ x-webhooks: type: string enum: - resolved - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211383,11 +211464,11 @@ x-webhooks: type: string enum: - validated - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211513,10 +211594,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *655 - enterprise: *652 - installation: *653 - organization: *654 + repository: *659 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -211594,11 +211675,11 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - security_advisory: &713 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + security_advisory: &717 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211781,11 +211862,11 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - security_advisory: *713 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + security_advisory: *717 sender: *4 required: - action @@ -211858,10 +211939,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212046,9 +212127,9 @@ x-webhooks: type: object properties: security_and_analysis: *238 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: *291 sender: *4 required: @@ -212127,12 +212208,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: &714 + sponsorship: &718 type: object properties: created_at: @@ -212433,12 +212514,12 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - sponsorship @@ -212526,12 +212607,12 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212608,17 +212689,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &715 + effective_date: &719 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: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - sponsorship @@ -212692,7 +212773,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &716 + changes: &720 type: object properties: tier: @@ -212736,13 +212817,13 @@ x-webhooks: - from required: - tier - effective_date: *715 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + effective_date: *719 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212819,13 +212900,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *716 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + changes: *720 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212899,10 +212980,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212985,10 +213066,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213408,15 +213489,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *652 + enterprise: *656 id: description: The unique identifier of the status. type: integer - installation: *653 + installation: *657 name: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 sha: description: The Commit SHA. @@ -213531,9 +213612,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213623,9 +213704,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213715,9 +213796,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213807,9 +213888,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213886,12 +213967,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - team: &717 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214081,9 +214162,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -214541,7 +214622,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -214617,9 +214698,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -215077,7 +215158,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -215154,9 +215235,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -215614,7 +215695,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -215758,9 +215839,9 @@ x-webhooks: - from required: - permissions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -216218,7 +216299,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - changes @@ -216296,9 +216377,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -216756,7 +216837,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -216832,10 +216913,10 @@ x-webhooks: type: string enum: - started - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -216908,16 +216989,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *652 + enterprise: *656 inputs: type: object nullable: true additionalProperties: true - installation: *653 - organization: *654 + installation: *657 + organization: *658 ref: type: string - repository: *655 + repository: *659 sender: *4 workflow: type: string @@ -216999,10 +217080,10 @@ x-webhooks: type: string enum: - completed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: allOf: @@ -217318,10 +217399,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: allOf: @@ -217660,10 +217741,10 @@ x-webhooks: type: string enum: - queued - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: type: object @@ -217877,10 +217958,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: type: object @@ -218096,12 +218177,12 @@ x-webhooks: type: string enum: - completed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object @@ -219100,12 +219181,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object @@ -220089,12 +220170,12 @@ x-webhooks: type: string enum: - requested - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index d9365b9119..74fa7d1966 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -420891,7 +420891,7 @@ ] }, "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true } @@ -543055,6 +543055,299 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -737865,30 +738158,71 @@ "login", "id" ] + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index d9ad0e0f0d..2110892b3e 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -15352,7 +15352,8 @@ paths: required: true schema: type: string - - name: year + - &649 + name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year. @@ -15360,7 +15361,8 @@ paths: required: false schema: type: integer - - name: month + - &650 + name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used. @@ -15368,7 +15370,8 @@ paths: required: false schema: type: integer - - name: day + - &651 + name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used. @@ -15376,7 +15379,8 @@ paths: required: false schema: type: integer - - name: hour + - &652 + name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used. @@ -52607,7 +52611,7 @@ paths: check. type: array items: *359 - deployment: &657 + deployment: &661 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53519,7 +53523,7 @@ paths: type: string format: date-time nullable: true - head_commit: &683 + head_commit: &687 title: Simple Commit description: A commit. type: object @@ -68321,7 +68325,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &691 + last_response: &695 title: Hook Response type: object properties: @@ -83696,8 +83700,8 @@ paths: state: *577 resolution: *578 resolution_comment: - description: An optional comment when closing an alert. Cannot be - updated or deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. + Cannot be updated or deleted. type: string nullable: true required: @@ -83800,7 +83804,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &712 + items: &716 type: object properties: type: @@ -97473,7 +97477,7 @@ paths: - title - created_at examples: - default: &649 + default: &653 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -97638,7 +97642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &650 + - &654 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 @@ -97667,7 +97671,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &651 + items: &655 title: Starred Repository description: Starred Repository type: object @@ -99644,6 +99648,101 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - *133 + - *649 + - *650 + - *651 + - *652 + responses: + '200': + description: Response when getting a billing usage report + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example + '400': *14 + '403': *29 + '500': *94 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -99700,7 +99799,7 @@ paths: type: array items: *634 examples: - default: *649 + default: *653 headers: Link: *58 x-github: @@ -99725,7 +99824,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *133 - - *650 + - *654 - *48 - *17 - *19 @@ -99737,7 +99836,7 @@ paths: schema: anyOf: - type: array - items: *651 + items: *655 - type: array items: *60 examples: @@ -99900,7 +99999,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &652 + enterprise: &656 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99958,7 +100057,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &653 + installation: &657 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99977,7 +100076,7 @@ x-webhooks: required: - id - node_id - organization: &654 + organization: &658 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -100037,13 +100136,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &655 + repository: &659 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &685 + properties: &689 id: description: Unique identifier of the repository example: 42 @@ -100726,7 +100825,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &686 + required: &690 - archive_url - assignees_url - blobs_url @@ -100877,10 +100976,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -100956,11 +101055,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: &656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: &660 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) @@ -101183,11 +101282,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: *656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: *660 sender: *4 required: - action @@ -101370,11 +101469,11 @@ x-webhooks: - everyone required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - rule: *656 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + rule: *660 sender: *4 required: - action @@ -101458,7 +101557,7 @@ x-webhooks: type: string enum: - completed - check_run: &658 + check_run: &662 title: CheckRun description: A check performed on the code of a given code change type: object @@ -101559,7 +101658,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *657 + deployment: *661 details_url: example: https://example.com type: string @@ -101644,9 +101743,9 @@ x-webhooks: - output - app - pull_requests - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -102039,10 +102138,10 @@ x-webhooks: type: string enum: - created - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -102438,10 +102537,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 requested_action: description: The action requested by the user. type: object @@ -102846,10 +102945,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *658 - installation: *653 - organization: *654 - repository: *655 + check_run: *662 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - check_run @@ -103826,10 +103925,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -104499,10 +104598,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -105166,10 +105265,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -105477,20 +105576,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &659 + commit_oid: &663 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: *652 - installation: *653 - organization: *654 - ref: &660 + enterprise: *656 + installation: *657 + organization: *658 + ref: &664 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: *655 + repository: *659 sender: *4 required: - action @@ -105882,12 +105981,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106150,12 +106249,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106484,12 +106583,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -106754,16 +106853,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *655 + repository: *659 sender: *4 required: - action @@ -106997,12 +107096,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *659 - enterprise: *652 - installation: *653 - organization: *654 - ref: *660 - repository: *655 + commit_oid: *663 + enterprise: *656 + installation: *657 + organization: *658 + ref: *664 + repository: *659 sender: *4 required: - action @@ -107259,10 +107358,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -107342,18 +107441,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *654 - pusher_type: &661 + organization: *658 + pusher_type: &665 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &662 + ref: &666 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -107363,7 +107462,7 @@ x-webhooks: enum: - tag - branch - repository: *655 + repository: *659 sender: *4 required: - ref @@ -107446,9 +107545,9 @@ x-webhooks: enum: - created definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107533,9 +107632,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107613,9 +107712,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107693,9 +107792,9 @@ x-webhooks: enum: - updated definition: *231 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -107772,10 +107871,10 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - repository: *655 - organization: *654 + enterprise: *656 + installation: *657 + repository: *659 + organization: *658 sender: *4 new_property_values: type: array @@ -107860,18 +107959,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - pusher_type: *661 - ref: *662 + enterprise: *656 + installation: *657 + organization: *658 + pusher_type: *665 + ref: *666 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *655 + repository: *659 sender: *4 required: - ref @@ -107956,10 +108055,10 @@ x-webhooks: enum: - auto_dismissed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108044,10 +108143,10 @@ x-webhooks: enum: - auto_reopened alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108132,10 +108231,10 @@ x-webhooks: enum: - created alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108218,10 +108317,10 @@ x-webhooks: enum: - dismissed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108304,10 +108403,10 @@ x-webhooks: enum: - fixed alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108391,10 +108490,10 @@ x-webhooks: enum: - reintroduced alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108477,10 +108576,10 @@ x-webhooks: enum: - reopened alert: *432 - installation: *653 - organization: *654 - enterprise: *652 - repository: *655 + installation: *657 + organization: *658 + enterprise: *656 + repository: *659 sender: *4 required: - action @@ -108557,9 +108656,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - key: &663 + enterprise: *656 + installation: *657 + key: &667 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -108595,8 +108694,8 @@ x-webhooks: - verified - created_at - read_only - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -108673,11 +108772,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - key: *663 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + key: *667 + organization: *658 + repository: *659 sender: *4 required: - action @@ -109238,12 +109337,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: &667 + workflow: &671 title: Workflow type: object nullable: true @@ -109973,9 +110072,9 @@ x-webhooks: pull_requests: type: array items: *523 - repository: *655 - organization: *654 - installation: *653 + repository: *659 + organization: *658 + installation: *657 sender: *4 responses: '200': @@ -110046,7 +110145,7 @@ x-webhooks: type: string enum: - approved - approver: &664 + approver: &668 type: object properties: avatar_url: @@ -110089,11 +110188,11 @@ x-webhooks: type: string comment: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - reviewers: &665 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + reviewers: &669 type: array items: type: object @@ -110172,7 +110271,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &666 + workflow_job_run: &670 type: object properties: conclusion: @@ -110903,18 +111002,18 @@ x-webhooks: type: string enum: - rejected - approver: *664 + approver: *668 comment: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - reviewers: *665 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + reviewers: *669 sender: *4 since: type: string - workflow_job_run: *666 + workflow_job_run: *670 workflow_job_runs: type: array items: @@ -111618,13 +111717,13 @@ x-webhooks: type: string enum: - requested - enterprise: *652 + enterprise: *656 environment: type: string - installation: *653 - organization: *654 - repository: *655 - requestor: &672 + installation: *657 + organization: *658 + repository: *659 + requestor: &676 title: User type: object nullable: true @@ -113523,12 +113622,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Deployment Workflow Run type: object @@ -114208,7 +114307,7 @@ x-webhooks: type: string enum: - answered - answer: &670 + answer: &674 type: object properties: author_association: @@ -114365,7 +114464,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &668 + discussion: &672 title: Discussion description: A Discussion in a repository. type: object @@ -114673,10 +114772,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114803,11 +114902,11 @@ x-webhooks: - from required: - category - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114890,11 +114989,11 @@ x-webhooks: type: string enum: - closed - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -114976,7 +115075,7 @@ x-webhooks: type: string enum: - created - comment: &669 + comment: &673 type: object properties: author_association: @@ -115133,11 +115232,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115220,12 +115319,12 @@ x-webhooks: type: string enum: - deleted - comment: *669 - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + comment: *673 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115320,12 +115419,12 @@ x-webhooks: - from required: - body - comment: *669 - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + comment: *673 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115409,11 +115508,11 @@ x-webhooks: type: string enum: - created - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115495,11 +115594,11 @@ x-webhooks: type: string enum: - deleted - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115599,11 +115698,11 @@ x-webhooks: type: string required: - from - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115685,10 +115784,10 @@ x-webhooks: type: string enum: - labeled - discussion: *668 - enterprise: *652 - installation: *653 - label: &671 + discussion: *672 + enterprise: *656 + installation: *657 + label: &675 title: Label type: object properties: @@ -115720,8 +115819,8 @@ x-webhooks: - color - default - description - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115804,11 +115903,11 @@ x-webhooks: type: string enum: - locked - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115890,11 +115989,11 @@ x-webhooks: type: string enum: - pinned - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -115976,11 +116075,11 @@ x-webhooks: type: string enum: - reopened - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116065,16 +116164,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *668 - new_repository: *655 + new_discussion: *672 + new_repository: *659 required: - new_discussion - new_repository - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116157,10 +116256,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *668 - old_answer: *670 - organization: *654 - repository: *655 + discussion: *672 + old_answer: *674 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116242,12 +116341,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *668 - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116330,11 +116429,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116416,11 +116515,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *668 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + discussion: *672 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -116493,7 +116592,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *652 + enterprise: *656 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -117153,9 +117252,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - forkee @@ -117301,9 +117400,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pages: description: The pages that were updated. type: array @@ -117340,7 +117439,7 @@ x-webhooks: - action - sha - html_url - repository: *655 + repository: *659 sender: *4 required: - pages @@ -117416,10 +117515,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: &673 + organization: *658 + repositories: &677 description: An array of repository objects that the installation can access. type: array @@ -117445,8 +117544,8 @@ x-webhooks: - name - full_name - private - repository: *655 - requester: *672 + repository: *659 + requester: *676 sender: *4 required: - action @@ -117521,11 +117620,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -117601,11 +117700,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -117681,10 +117780,10 @@ x-webhooks: type: string enum: - added - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories_added: &674 + organization: *658 + repositories_added: &678 description: An array of repository objects, which were added to the installation. type: array @@ -117730,15 +117829,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *655 - repository_selection: &675 + repository: *659 + repository_selection: &679 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *672 + requester: *676 sender: *4 required: - action @@ -117817,10 +117916,10 @@ x-webhooks: type: string enum: - removed - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories_added: *674 + organization: *658 + repositories_added: *678 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117847,9 +117946,9 @@ x-webhooks: - name - full_name - private - repository: *655 - repository_selection: *675 - requester: *672 + repository: *659 + repository_selection: *679 + requester: *676 sender: *4 required: - action @@ -117928,11 +118027,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -118110,10 +118209,10 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 target_type: type: string @@ -118192,11 +118291,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *652 + enterprise: *656 installation: *22 - organization: *654 - repositories: *673 - repository: *655 + organization: *658 + repositories: *677 + repository: *659 requester: nullable: true sender: *4 @@ -118448,8 +118547,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119605,8 +119704,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -119686,7 +119785,7 @@ x-webhooks: type: string enum: - deleted - comment: &676 + comment: &680 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119851,8 +119950,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121006,8 +121105,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -121087,7 +121186,7 @@ x-webhooks: type: string enum: - edited - changes: &704 + changes: &708 description: The changes to the comment. type: object properties: @@ -121099,9 +121198,9 @@ x-webhooks: type: string required: - from - comment: *676 - enterprise: *652 - installation: *653 + comment: *680 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122256,8 +122355,8 @@ x-webhooks: - state - locked - assignee - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -122339,10 +122438,10 @@ x-webhooks: type: string enum: - assigned - assignee: *672 - enterprise: *652 - installation: *653 - issue: &679 + assignee: *676 + enterprise: *656 + installation: *657 + issue: &683 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123261,8 +123360,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -123342,8 +123441,8 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -124402,8 +124501,8 @@ x-webhooks: required: - state - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -124482,8 +124581,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125395,8 +125494,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -125475,8 +125574,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126391,7 +126490,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &677 + milestone: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -126529,8 +126628,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -126629,8 +126728,8 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127549,9 +127648,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *671 - organization: *654 - repository: *655 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -127631,8 +127730,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128550,9 +128649,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *671 - organization: *654 - repository: *655 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -128632,8 +128731,8 @@ x-webhooks: type: string enum: - locked - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129552,8 +129651,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -129632,8 +129731,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130546,9 +130645,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *677 - organization: *654 - repository: *655 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -131522,28 +131621,10 @@ x-webhooks: required: - login - id + type: *193 required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository @@ -132009,8 +132090,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132928,8 +133009,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -133009,9 +133090,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *652 - installation: *653 - issue: &678 + enterprise: *656 + installation: *657 + issue: &682 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133923,8 +134004,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -134003,8 +134084,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134922,8 +135003,8 @@ x-webhooks: user_view_type: type: string type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136386,11 +136467,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *652 - installation: *653 - issue: *678 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *682 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136470,12 +136551,12 @@ x-webhooks: type: string enum: - typed - enterprise: *652 - installation: *653 - issue: *679 + enterprise: *656 + installation: *657 + issue: *683 type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136556,7 +136637,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &707 + assignee: &711 title: User type: object nullable: true @@ -136626,11 +136707,11 @@ x-webhooks: required: - login - id - enterprise: *652 - installation: *653 - issue: *679 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *683 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136709,12 +136790,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *652 - installation: *653 - issue: *679 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *683 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -136794,8 +136875,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137712,8 +137793,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137793,11 +137874,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *652 - installation: *653 - issue: *678 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + issue: *682 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137876,12 +137957,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *652 - installation: *653 - issue: *679 + enterprise: *656 + installation: *657 + issue: *683 type: *193 - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -137961,11 +138042,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138043,11 +138124,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138157,11 +138238,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - label: *671 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + label: *675 + organization: *658 + repository: *659 sender: *4 required: - action @@ -138243,9 +138324,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: &680 + enterprise: *656 + installation: *657 + marketplace_purchase: &684 title: Marketplace Purchase type: object required: @@ -138328,8 +138409,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *654 - previous_marketplace_purchase: &681 + organization: *658 + previous_marketplace_purchase: &685 title: Marketplace Purchase type: object properties: @@ -138409,7 +138490,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138489,10 +138570,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138575,7 +138656,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138657,10 +138738,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138742,7 +138823,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *655 + repository: *659 sender: *4 required: - action @@ -138823,8 +138904,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 marketplace_purchase: title: Marketplace Purchase type: object @@ -138906,9 +138987,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *654 - previous_marketplace_purchase: *681 - repository: *655 + organization: *658 + previous_marketplace_purchase: *685 + repository: *659 sender: *4 required: - action @@ -138988,12 +139069,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *652 - installation: *653 - marketplace_purchase: *680 - organization: *654 - previous_marketplace_purchase: *681 - repository: *655 + enterprise: *656 + installation: *657 + marketplace_purchase: *684 + organization: *658 + previous_marketplace_purchase: *685 + repository: *659 sender: *4 required: - action @@ -139095,11 +139176,11 @@ x-webhooks: type: string required: - to - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139199,11 +139280,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139282,11 +139363,11 @@ x-webhooks: type: string enum: - removed - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139364,11 +139445,11 @@ x-webhooks: type: string enum: - added - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139444,7 +139525,7 @@ x-webhooks: required: - login - id - team: &682 + team: &686 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139634,11 +139715,11 @@ x-webhooks: type: string enum: - removed - enterprise: *652 - installation: *653 - member: *672 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + member: *676 + organization: *658 + repository: *659 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139715,7 +139796,7 @@ x-webhooks: required: - login - id - team: *682 + team: *686 required: - action - scope @@ -139797,8 +139878,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *653 - merge_group: &684 + installation: *657 + merge_group: &688 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139817,15 +139898,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *683 + head_commit: *687 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139911,10 +139992,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *653 - merge_group: *684 - organization: *654 - repository: *655 + installation: *657 + merge_group: *688 + organization: *658 + repository: *659 sender: *4 required: - action @@ -139987,7 +140068,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 + enterprise: *656 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -140095,16 +140176,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *653 - organization: *654 + installation: *657 + organization: *658 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -140185,11 +140266,11 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140268,9 +140349,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - milestone: &687 + enterprise: *656 + installation: *657 + milestone: &691 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140407,8 +140488,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140487,11 +140568,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140601,11 +140682,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - milestone: *677 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *681 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140685,11 +140766,11 @@ x-webhooks: type: string enum: - opened - enterprise: *652 - installation: *653 - milestone: *687 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + milestone: *691 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140768,11 +140849,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *672 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + blocked_user: *676 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140851,11 +140932,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *672 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + blocked_user: *676 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -140934,9 +141015,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - membership: &688 + enterprise: *656 + installation: *657 + membership: &692 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -141028,8 +141109,8 @@ x-webhooks: - role - organization_url - user - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141107,11 +141188,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141190,8 +141271,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -141307,10 +141388,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 - user: *672 + user: *676 required: - action - invitation @@ -141388,11 +141469,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141479,11 +141560,11 @@ x-webhooks: properties: from: type: string - enterprise: *652 - installation: *653 - membership: *688 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + membership: *692 + organization: *658 + repository: *659 sender: *4 required: - action @@ -141559,9 +141640,9 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 package: description: Information about the package. type: object @@ -142060,7 +142141,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &689 + items: &693 title: Ruby Gems metadata type: object properties: @@ -142155,7 +142236,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -142231,9 +142312,9 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 package: description: Information about the package. type: object @@ -142586,7 +142667,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *689 + items: *693 source_url: type: string format: uri @@ -142656,7 +142737,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -142833,12 +142914,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *652 + enterprise: *656 id: type: integer - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - id @@ -142915,7 +142996,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &690 + personal_access_token_request: &694 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -143061,10 +143142,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *652 - organization: *654 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143141,11 +143222,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *690 - enterprise: *652 - organization: *654 + personal_access_token_request: *694 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143221,11 +143302,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *690 - enterprise: *652 - organization: *654 + personal_access_token_request: *694 + enterprise: *656 + organization: *658 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143300,11 +143381,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *690 - organization: *654 - enterprise: *652 + personal_access_token_request: *694 + organization: *658 + enterprise: *656 sender: *4 - installation: *653 + installation: *657 required: - action - personal_access_token_request @@ -143409,7 +143490,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *691 + last_response: *695 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -143441,8 +143522,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 zen: description: Random string of GitHub zen. @@ -143687,10 +143768,10 @@ x-webhooks: - from required: - note - enterprise: *652 - installation: *653 - organization: *654 - project_card: &692 + enterprise: *656 + installation: *657 + organization: *658 + project_card: &696 title: Project Card type: object properties: @@ -143809,7 +143890,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -143890,11 +143971,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project_card: *692 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_card: *696 + repository: *659 sender: *4 required: - action @@ -143974,9 +144055,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 project_card: title: Project Card type: object @@ -144104,8 +144185,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -144199,11 +144280,11 @@ x-webhooks: - from required: - note - enterprise: *652 - installation: *653 - organization: *654 - project_card: *692 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_card: *696 + repository: *659 sender: *4 required: - action @@ -144297,9 +144378,9 @@ x-webhooks: - from required: - column_id - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 project_card: allOf: - title: Project Card @@ -144489,7 +144570,7 @@ x-webhooks: type: string required: - after_id - repository: *655 + repository: *659 sender: *4 required: - action @@ -144569,10 +144650,10 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - organization: *654 - project: &694 + enterprise: *656 + installation: *657 + organization: *658 + project: &698 title: Project type: object properties: @@ -144696,7 +144777,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -144776,10 +144857,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project_column: &693 + enterprise: *656 + installation: *657 + organization: *658 + project_column: &697 title: Project Column type: object properties: @@ -144818,7 +144899,7 @@ x-webhooks: - name - created_at - updated_at - repository: *655 + repository: *659 sender: *4 required: - action @@ -144897,18 +144978,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -144998,11 +145079,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 + repository: *659 sender: *4 required: - action @@ -145082,11 +145163,11 @@ x-webhooks: type: string enum: - moved - enterprise: *652 - installation: *653 - organization: *654 - project_column: *693 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project_column: *697 + repository: *659 sender: *4 required: - action @@ -145166,11 +145247,11 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145250,18 +145331,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - project: *694 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *685 - required: *686 + properties: *689 + required: *690 nullable: true sender: *4 required: @@ -145363,11 +145444,11 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145446,11 +145527,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 - organization: *654 - project: *694 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + project: *698 + repository: *659 sender: *4 required: - action @@ -145531,9 +145612,9 @@ x-webhooks: type: string enum: - closed - installation: *653 - organization: *654 - projects_v2: &695 + installation: *657 + organization: *658 + projects_v2: &699 title: Projects v2 Project description: A projects v2 project type: object @@ -145676,9 +145757,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145759,9 +145840,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145878,9 +145959,9 @@ x-webhooks: type: string to: type: string - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -145963,7 +146044,7 @@ x-webhooks: type: string enum: - archived - changes: &699 + changes: &703 type: object properties: archived_at: @@ -145977,9 +146058,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *653 - organization: *654 - projects_v2_item: &696 + installation: *657 + organization: *658 + projects_v2_item: &700 title: Projects v2 Item description: An item belonging to a project type: object @@ -146113,9 +146194,9 @@ x-webhooks: nullable: true to: type: string - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146197,9 +146278,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146280,9 +146361,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146388,7 +146469,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &697 + - &701 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -146406,7 +146487,7 @@ x-webhooks: required: - id - name - - &698 + - &702 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -146429,8 +146510,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *697 - - *698 + - *701 + - *702 required: - field_value - type: object @@ -146446,9 +146527,9 @@ x-webhooks: nullable: true required: - body - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146543,9 +146624,9 @@ x-webhooks: to: type: string nullable: true - installation: *653 - organization: *654 - projects_v2_item: *696 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146628,10 +146709,10 @@ x-webhooks: type: string enum: - restored - changes: *699 - installation: *653 - organization: *654 - projects_v2_item: *696 + changes: *703 + installation: *657 + organization: *658 + projects_v2_item: *700 sender: *4 required: - action @@ -146713,9 +146794,9 @@ x-webhooks: type: string enum: - reopened - installation: *653 - organization: *654 - projects_v2: *695 + installation: *657 + organization: *658 + projects_v2: *699 sender: *4 required: - action @@ -146796,9 +146877,9 @@ x-webhooks: type: string enum: - created - installation: *653 - organization: *654 - projects_v2_status_update: &700 + installation: *657 + organization: *658 + projects_v2_status_update: &704 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146925,9 +147006,9 @@ x-webhooks: type: string enum: - deleted - installation: *653 - organization: *654 - projects_v2_status_update: *700 + installation: *657 + organization: *658 + projects_v2_status_update: *704 sender: *4 required: - action @@ -147063,9 +147144,9 @@ x-webhooks: type: string format: date nullable: true - installation: *653 - organization: *654 - projects_v2_status_update: *700 + installation: *657 + organization: *658 + projects_v2_status_update: *704 sender: *4 required: - action @@ -147136,10 +147217,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - repository @@ -147216,13 +147297,13 @@ x-webhooks: type: string enum: - assigned - assignee: *672 - enterprise: *652 - installation: *653 - number: &701 + assignee: *676 + enterprise: *656 + installation: *657 + number: &705 description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -149505,7 +149586,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -149587,11 +149668,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -151869,7 +151950,7 @@ x-webhooks: - draft reason: type: string - repository: *655 + repository: *659 sender: *4 required: - action @@ -151951,11 +152032,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -154233,7 +154314,7 @@ x-webhooks: - draft reason: type: string - repository: *655 + repository: *659 sender: *4 required: - action @@ -154315,11 +154396,11 @@ x-webhooks: type: string enum: - closed - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: &702 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: &706 allOf: - *523 - type: object @@ -154383,7 +154464,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *655 + repository: *659 sender: *4 required: - action @@ -154464,12 +154545,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -154549,11 +154630,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *652 + enterprise: *656 milestone: *506 - number: *701 - organization: *654 - pull_request: &703 + number: *705 + organization: *658 + pull_request: &707 title: Pull Request type: object properties: @@ -156816,7 +156897,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -156895,11 +156976,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -159181,7 +159262,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *655 + repository: *659 sender: *4 required: - action @@ -159305,12 +159386,12 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -159390,11 +159471,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -161661,7 +161742,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -161741,11 +161822,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *652 - installation: *653 - label: *671 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + label: *675 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -164027,7 +164108,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -164108,10 +164189,10 @@ x-webhooks: type: string enum: - locked - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -166391,7 +166472,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -166471,12 +166552,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *652 + enterprise: *656 milestone: *506 - number: *701 - organization: *654 - pull_request: *703 - repository: *655 + number: *705 + organization: *658 + pull_request: *707 + repository: *659 sender: *4 required: - action @@ -166555,12 +166636,12 @@ x-webhooks: type: string enum: - opened - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -166641,12 +166722,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -166726,12 +166807,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *652 - installation: *653 - number: *701 - organization: *654 - pull_request: *702 - repository: *655 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 + pull_request: *706 + repository: *659 sender: *4 required: - action @@ -167097,9 +167178,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -169269,7 +169350,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -169349,7 +169430,7 @@ x-webhooks: type: string enum: - deleted - comment: &705 + comment: &709 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169634,9 +169715,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -171794,7 +171875,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -171874,11 +171955,11 @@ x-webhooks: type: string enum: - edited - changes: *704 - comment: *705 - enterprise: *652 - installation: *653 - organization: *654 + changes: *708 + comment: *709 + enterprise: *656 + installation: *657 + organization: *658 pull_request: type: object properties: @@ -174039,7 +174120,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *655 + repository: *659 sender: *4 required: - action @@ -174120,9 +174201,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -176295,7 +176376,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 review: description: The review that was affected. type: object @@ -176538,9 +176619,9 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -178594,8 +178675,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 - review: &706 + repository: *659 + review: &710 description: The review that was affected. type: object properties: @@ -178824,12 +178905,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -181112,7 +181193,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_reviewer: title: User type: object @@ -181196,12 +181277,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -183491,7 +183572,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183683,12 +183764,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -185973,7 +186054,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_reviewer: title: User type: object @@ -186058,12 +186139,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *652 - installation: *653 + enterprise: *656 + installation: *657 number: description: The pull request number. type: integer - organization: *654 + organization: *658 pull_request: title: Pull Request type: object @@ -188339,7 +188420,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188520,9 +188601,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -190697,8 +190778,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 - review: *706 + repository: *659 + review: *710 sender: *4 required: - action @@ -190778,9 +190859,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -192850,7 +192931,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 sender: *4 thread: type: object @@ -193233,9 +193314,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 pull_request: title: Simple Pull Request type: object @@ -195291,7 +195372,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *655 + repository: *659 sender: *4 thread: type: object @@ -195677,10 +195758,10 @@ x-webhooks: type: string before: type: string - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -197951,7 +198032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -198033,11 +198114,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *707 - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + assignee: *711 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -200320,7 +200401,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -200399,11 +200480,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *652 - installation: *653 - label: *671 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + label: *675 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -202676,7 +202757,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -202757,10 +202838,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *652 - installation: *653 - number: *701 - organization: *654 + enterprise: *656 + installation: *657 + number: *705 + organization: *658 pull_request: title: Pull Request type: object @@ -205025,7 +205106,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *655 + repository: *659 sender: *4 required: - action @@ -205225,7 +205306,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *652 + enterprise: *656 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -205317,8 +205398,8 @@ x-webhooks: - url - author - committer - installation: *653 - organization: *654 + installation: *657 + organization: *658 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205893,9 +205974,9 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 registry_package: type: object properties: @@ -206341,7 +206422,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *689 + items: *693 summary: type: string tag_name: @@ -206395,7 +206476,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -206473,9 +206554,9 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 registry_package: type: object properties: @@ -206783,7 +206864,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *689 + items: *693 summary: type: string tag_name: @@ -206832,7 +206913,7 @@ x-webhooks: - owner - package_version - registry - repository: *655 + repository: *659 sender: *4 required: - action @@ -206909,10 +206990,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - release: &708 + enterprise: *656 + installation: *657 + organization: *658 + release: &712 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207217,7 +207298,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *655 + repository: *659 sender: *4 required: - action @@ -207294,11 +207375,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -207415,11 +207496,11 @@ x-webhooks: type: boolean required: - to - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -207497,9 +207578,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207808,7 +207889,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *655 + repository: *659 sender: *4 required: - action @@ -207884,10 +207965,10 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - release: &709 + enterprise: *656 + installation: *657 + organization: *658 + release: &713 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208193,7 +208274,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *655 + repository: *659 sender: *4 required: - action @@ -208269,11 +208350,11 @@ x-webhooks: type: string enum: - released - enterprise: *652 - installation: *653 - organization: *654 - release: *708 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *712 + repository: *659 sender: *4 required: - action @@ -208349,11 +208430,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *652 - installation: *653 - organization: *654 - release: *709 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + release: *713 + repository: *659 sender: *4 required: - action @@ -208429,10 +208510,10 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_advisory: *583 sender: *4 required: @@ -208509,10 +208590,10 @@ x-webhooks: type: string enum: - reported - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_advisory: *583 sender: *4 required: @@ -208589,10 +208670,10 @@ x-webhooks: type: string enum: - archived - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208669,10 +208750,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208750,10 +208831,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208837,10 +208918,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -208952,10 +209033,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209027,10 +209108,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 status: type: string @@ -209111,10 +209192,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209191,10 +209272,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209288,10 +209369,10 @@ x-webhooks: - name required: - repository - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209371,10 +209452,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 sender: *4 required: @@ -209453,10 +209534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 sender: *4 required: @@ -209535,10 +209616,10 @@ x-webhooks: type: string enum: - edited - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 repository_ruleset: *245 changes: type: object @@ -209843,10 +209924,10 @@ x-webhooks: - from required: - owner - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -209924,10 +210005,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210005,7 +210086,7 @@ x-webhooks: type: string enum: - create - alert: &710 + alert: &714 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210126,10 +210207,10 @@ x-webhooks: type: string enum: - open - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210335,10 +210416,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210416,11 +210497,11 @@ x-webhooks: type: string enum: - reopen - alert: *710 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *714 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210619,10 +210700,10 @@ x-webhooks: enum: - fixed - open - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210700,7 +210781,7 @@ x-webhooks: type: string enum: - created - alert: &711 + alert: &715 type: object properties: number: *54 @@ -210811,10 +210892,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -210895,11 +210976,11 @@ x-webhooks: type: string enum: - created - alert: *711 - installation: *653 - location: *712 - organization: *654 - repository: *655 + alert: *715 + installation: *657 + location: *716 + organization: *658 + repository: *659 sender: *4 required: - location @@ -211137,11 +211218,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211219,11 +211300,11 @@ x-webhooks: type: string enum: - reopened - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211301,11 +211382,11 @@ x-webhooks: type: string enum: - resolved - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211383,11 +211464,11 @@ x-webhooks: type: string enum: - validated - alert: *711 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + alert: *715 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -211513,10 +211594,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *655 - enterprise: *652 - installation: *653 - organization: *654 + repository: *659 + enterprise: *656 + installation: *657 + organization: *658 sender: *4 required: - action @@ -211594,11 +211675,11 @@ x-webhooks: type: string enum: - published - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - security_advisory: &713 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + security_advisory: &717 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211781,11 +211862,11 @@ x-webhooks: type: string enum: - updated - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 - security_advisory: *713 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 + security_advisory: *717 sender: *4 required: - action @@ -211858,10 +211939,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212046,9 +212127,9 @@ x-webhooks: type: object properties: security_and_analysis: *238 - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: *291 sender: *4 required: @@ -212127,12 +212208,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: &714 + sponsorship: &718 type: object properties: created_at: @@ -212433,12 +212514,12 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - sponsorship @@ -212526,12 +212607,12 @@ x-webhooks: type: string required: - from - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212608,17 +212689,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &715 + effective_date: &719 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: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - sponsorship @@ -212692,7 +212773,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &716 + changes: &720 type: object properties: tier: @@ -212736,13 +212817,13 @@ x-webhooks: - from required: - tier - effective_date: *715 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + effective_date: *719 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212819,13 +212900,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *716 - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + changes: *720 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - sponsorship: *714 + sponsorship: *718 required: - action - changes @@ -212899,10 +212980,10 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212985,10 +213066,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213408,15 +213489,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *652 + enterprise: *656 id: description: The unique identifier of the status. type: integer - installation: *653 + installation: *657 name: type: string - organization: *654 - repository: *655 + organization: *658 + repository: *659 sender: *4 sha: description: The Commit SHA. @@ -213531,9 +213612,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213623,9 +213704,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213715,9 +213796,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213807,9 +213888,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *653 - organization: *654 - repository: *655 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -213886,12 +213967,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - team: &717 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214081,9 +214162,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -214541,7 +214622,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -214617,9 +214698,9 @@ x-webhooks: type: string enum: - created - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -215077,7 +215158,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -215154,9 +215235,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -215614,7 +215695,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -215758,9 +215839,9 @@ x-webhooks: - from required: - permissions - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -216218,7 +216299,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - changes @@ -216296,9 +216377,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *652 - installation: *653 - organization: *654 + enterprise: *656 + installation: *657 + organization: *658 repository: title: Repository description: A git repository @@ -216756,7 +216837,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *717 + team: *721 required: - action - team @@ -216832,10 +216913,10 @@ x-webhooks: type: string enum: - started - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 required: - action @@ -216908,16 +216989,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *652 + enterprise: *656 inputs: type: object nullable: true additionalProperties: true - installation: *653 - organization: *654 + installation: *657 + organization: *658 ref: type: string - repository: *655 + repository: *659 sender: *4 workflow: type: string @@ -216999,10 +217080,10 @@ x-webhooks: type: string enum: - completed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: allOf: @@ -217318,10 +217399,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: allOf: @@ -217660,10 +217741,10 @@ x-webhooks: type: string enum: - queued - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: type: object @@ -217877,10 +217958,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 workflow_job: type: object @@ -218096,12 +218177,12 @@ x-webhooks: type: string enum: - completed - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object @@ -219100,12 +219181,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object @@ -220089,12 +220170,12 @@ x-webhooks: type: string enum: - requested - enterprise: *652 - installation: *653 - organization: *654 - repository: *655 + enterprise: *656 + installation: *657 + organization: *658 + repository: *659 sender: *4 - workflow: *667 + workflow: *671 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c08cd993b1..1e5325d704 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -457728,7 +457728,7 @@ ] }, "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true } @@ -590664,6 +590664,299 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -819025,30 +819318,71 @@ "login", "id" ] + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 6ed15e2107..58c5540b8d 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -92228,8 +92228,8 @@ paths: state: *665 resolution: *666 resolution_comment: - description: An optional comment when closing an alert. Cannot be - updated or deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. + Cannot be updated or deleted. type: string nullable: true required: @@ -110296,6 +110296,101 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - *218 + - *171 + - *172 + - *173 + - *174 + responses: + '200': + description: Response when getting a billing usage report + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example + '400': *14 + '403': *29 + '500': *85 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -143659,28 +143754,10 @@ x-webhooks: required: - login - id + type: *289 required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c08cd993b1..1e5325d704 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -457728,7 +457728,7 @@ ] }, "resolution_comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true } @@ -590664,6 +590664,299 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -819025,30 +819318,71 @@ "login", "id" ] + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": "string", + "description": "The description of the issue type.", + "nullable": true + }, + "color": { + "type": "string", + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple" + ], + "nullable": true + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 6ed15e2107..58c5540b8d 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -92228,8 +92228,8 @@ paths: state: *665 resolution: *666 resolution_comment: - description: An optional comment when closing an alert. Cannot be - updated or deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. + Cannot be updated or deleted. type: string nullable: true required: @@ -110296,6 +110296,101 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - *218 + - *171 + - *172 + - *173 + - *174 + responses: + '200': + description: Response when getting a billing usage report + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example + '400': *14 + '403': *29 + '500': *85 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -143659,28 +143754,10 @@ x-webhooks: required: - login - id + type: *289 required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 889d76e3c3..4789217c16 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -80960,6 +80960,60 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -139171,7 +139225,7 @@ } }, "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`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true }, @@ -143537,6 +143591,70 @@ "id" ] }, + "billing-usage-report-user": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, "enterprise-webhooks": { "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).\"", @@ -187644,30 +187762,14 @@ "login", "id" ] + }, + "type": { + "$ref": "#/components/schemas/issue-type" } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { @@ -314781,6 +314883,24 @@ } ] }, + "billing-usage-report-user": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -319044,6 +319164,21 @@ } } } + }, + "billing_usage_report_user": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 6ccbfdb0e6..dafef6a34c 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -58678,6 +58678,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -102427,8 +102462,8 @@ components: encoded nullable: true secret-scanning-alert-resolution-comment: - description: An optional comment when closing an alert. Cannot be updated or - deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. Cannot + be updated or deleted. type: string nullable: true secret-scanning-location-commit: @@ -105738,6 +105773,54 @@ components: required: - key - id + billing-usage-report-user: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount enterprise-webhooks: title: Enterprise description: |- @@ -138726,28 +138809,11 @@ components: required: - login - id + type: + "$ref": "#/components/schemas/issue-type" required: - - url - - repository_url - - labels_url - - comments_url - - events_url - - html_url - id - - node_id - number - - title - - user - - assignees - - milestone - - comments - - created_at - - updated_at - - closed_at - - author_association - - active_lock_reason - - body - - reactions old_repository: title: Repository description: A git repository @@ -238246,6 +238312,19 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-usage-report-user: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + repositoryName: user/example check-run-completed: value: action: completed @@ -241871,6 +241950,15 @@ components: application/scim+json: schema: "$ref": "#/components/schemas/scim-error" + billing_usage_report_user: + description: Response when getting a billing usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 889d76e3c3..4789217c16 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -80960,6 +80960,60 @@ } } }, + "/users/{username}/settings/billing/usage": { + "get": { + "summary": "Get billing usage report for a user", + "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -139171,7 +139225,7 @@ } }, "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`.", + "description": "An optional comment when closing or reopening an alert. Cannot be updated or deleted.", "type": "string", "nullable": true }, @@ -143537,6 +143591,70 @@ "id" ] }, + "billing-usage-report-user": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount" + ] + } + } + } + }, "enterprise-webhooks": { "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).\"", @@ -187644,30 +187762,14 @@ "login", "id" ] + }, + "type": { + "$ref": "#/components/schemas/issue-type" } }, "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" + "number" ] }, "old_repository": { @@ -314781,6 +314883,24 @@ } ] }, + "billing-usage-report-user": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "repositoryName": "user/example" + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -319044,6 +319164,21 @@ } } } + }, + "billing_usage_report_user": { + "description": "Response when getting a billing usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 6ccbfdb0e6..dafef6a34c 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -58678,6 +58678,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/usage": + get: + summary: Get billing usage report for a user + description: |- + Gets a report of the total usage for a user. + + **Note:** This endpoint is only available to users with access to the enhanced billing platform. + tags: + - billing + operationId: billing/get-github-billing-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -102427,8 +102462,8 @@ components: encoded nullable: true secret-scanning-alert-resolution-comment: - description: An optional comment when closing an alert. Cannot be updated or - deleted. Must be `null` when changing `state` to `open`. + description: An optional comment when closing or reopening an alert. Cannot + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}