diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index f44873047d..6c4004a643 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -71069,6 +71069,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", @@ -128367,7 +128421,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", "null" @@ -132408,6 +132462,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).\"", @@ -306592,6 +306710,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", @@ -310389,6 +310525,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 5e6241428e..0659f70f7c 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -51536,6 +51536,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 @@ -93022,8 +93057,8 @@ components: description: A boolean value representing whether or not alert is base64 encoded 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 - 'null' @@ -95949,6 +95984,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: |- @@ -229254,6 +229337,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 @@ -232510,6 +232606,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index f44873047d..6c4004a643 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -71069,6 +71069,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", @@ -128367,7 +128421,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", "null" @@ -132408,6 +132462,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).\"", @@ -306592,6 +306710,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", @@ -310389,6 +310525,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 5e6241428e..0659f70f7c 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -51536,6 +51536,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 @@ -93022,8 +93057,8 @@ components: description: A boolean value representing whether or not alert is base64 encoded 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 - 'null' @@ -95949,6 +95984,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: |- @@ -229254,6 +229337,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 @@ -232510,6 +232606,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index f50c60ffe5..ef8609205b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -495919,7 +495919,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", "null" @@ -642390,6 +642390,307 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index c27bcd1a75..77364b13df 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -15901,7 +15901,8 @@ paths: required: true schema: type: string - - name: year + - &626 + 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. @@ -15909,7 +15910,8 @@ paths: required: false schema: type: integer - - name: month + - &627 + 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. @@ -15917,7 +15919,8 @@ paths: required: false schema: type: integer - - name: day + - &628 + 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. @@ -15925,7 +15928,8 @@ paths: required: false schema: type: integer - - name: hour + - &629 + 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. @@ -54109,7 +54113,7 @@ paths: check. type: array items: *346 - deployment: &634 + deployment: &638 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70120,7 +70124,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &665 + last_response: &669 title: Hook Response type: object properties: @@ -85649,8 +85653,8 @@ paths: state: *555 resolution: *556 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 - 'null' @@ -85754,7 +85758,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &686 + items: &690 type: object properties: type: @@ -99672,7 +99676,7 @@ paths: - title - created_at examples: - default: &626 + default: &630 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99838,7 +99842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &627 + - &631 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 @@ -99867,7 +99871,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &628 + items: &632 title: Starred Repository description: Starred Repository type: object @@ -101844,6 +101848,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: + - *129 + - *626 + - *627 + - *628 + - *629 + 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': *27 + '500': *90 + '503': *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -101900,7 +101999,7 @@ paths: type: array items: *611 examples: - default: *626 + default: *630 headers: Link: *57 x-github: @@ -101925,7 +102024,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *627 + - *631 - *46 - *17 - *19 @@ -101937,7 +102036,7 @@ paths: schema: anyOf: - type: array - items: *628 + items: *632 - type: array items: *59 examples: @@ -102101,7 +102200,7 @@ webhooks: type: string enum: - disabled - enterprise: &629 + enterprise: &633 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102170,7 +102269,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &630 + installation: &634 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102191,7 +102290,7 @@ webhooks: required: - id - node_id - organization: &631 + organization: &635 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102264,7 +102363,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &632 + repository: &636 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103177,10 +103276,10 @@ webhooks: type: string enum: - enabled - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -103256,11 +103355,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: &633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: &637 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) @@ -103483,11 +103582,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: *633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: *637 sender: *4 required: - action @@ -103675,11 +103774,11 @@ webhooks: - everyone required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: *633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: *637 sender: *4 required: - action @@ -103763,7 +103862,7 @@ webhooks: type: string enum: - completed - check_run: &635 + check_run: &639 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103876,7 +103975,7 @@ webhooks: - examples: - neutral - deployment: *634 + deployment: *638 details_url: type: string examples: @@ -103974,9 +104073,9 @@ webhooks: - output - app - pull_requests - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -104369,10 +104468,10 @@ webhooks: type: string enum: - created - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -104768,10 +104867,10 @@ webhooks: type: string enum: - requested_action - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 requested_action: description: The action requested by the user. type: object @@ -105176,10 +105275,10 @@ webhooks: type: string enum: - rerequested - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -106171,10 +106270,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -106859,10 +106958,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -107541,10 +107640,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -107862,20 +107961,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &636 + commit_oid: &640 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: *629 - installation: *630 - organization: *631 - ref: &637 + enterprise: *633 + installation: *634 + organization: *635 + ref: &641 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: *632 + repository: *636 sender: *4 required: - action @@ -108280,12 +108379,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -108565,12 +108664,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -108913,12 +109012,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -109198,9 +109297,9 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109208,7 +109307,7 @@ webhooks: type: - string - 'null' - repository: *632 + repository: *636 sender: *4 required: - action @@ -109451,12 +109550,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -109718,10 +109817,10 @@ webhooks: - updated_at - author_association - body - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -109802,18 +109901,18 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *631 - pusher_type: &638 + organization: *635 + pusher_type: &642 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &639 + ref: &643 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109823,7 +109922,7 @@ webhooks: enum: - tag - branch - repository: *632 + repository: *636 sender: *4 required: - ref @@ -109906,9 +110005,9 @@ webhooks: enum: - created definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -109993,9 +110092,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110073,9 +110172,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110153,9 +110252,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110232,10 +110331,10 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - repository: *632 - organization: *631 + enterprise: *633 + installation: *634 + repository: *636 + organization: *635 sender: *4 new_property_values: type: array @@ -110320,18 +110419,18 @@ webhooks: title: delete event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - pusher_type: *638 - ref: *639 + enterprise: *633 + installation: *634 + organization: *635 + pusher_type: *642 + ref: *643 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *632 + repository: *636 sender: *4 required: - ref @@ -110416,10 +110515,10 @@ webhooks: enum: - auto_dismissed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110504,10 +110603,10 @@ webhooks: enum: - auto_reopened alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110592,10 +110691,10 @@ webhooks: enum: - created alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110678,10 +110777,10 @@ webhooks: enum: - dismissed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110764,10 +110863,10 @@ webhooks: enum: - fixed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110851,10 +110950,10 @@ webhooks: enum: - reintroduced alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110937,10 +111036,10 @@ webhooks: enum: - reopened alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -111017,9 +111116,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - key: &640 + enterprise: *633 + installation: *634 + key: &644 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111057,8 +111156,8 @@ webhooks: - verified - created_at - read_only - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -111135,11 +111234,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - key: *640 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + key: *644 + organization: *635 + repository: *636 sender: *4 required: - action @@ -111711,12 +111810,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: &644 + workflow: &648 title: Workflow type: - object @@ -112458,9 +112557,9 @@ webhooks: pull_requests: type: array items: *501 - repository: *632 - organization: *631 - installation: *630 + repository: *636 + organization: *635 + installation: *634 sender: *4 responses: '200': @@ -112531,7 +112630,7 @@ webhooks: type: string enum: - approved - approver: &641 + approver: &645 type: object properties: avatar_url: @@ -112574,11 +112673,11 @@ webhooks: type: string comment: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - reviewers: &642 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + reviewers: &646 type: array items: type: object @@ -112659,7 +112758,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &643 + workflow_job_run: &647 type: object properties: conclusion: @@ -113405,18 +113504,18 @@ webhooks: type: string enum: - rejected - approver: *641 + approver: *645 comment: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - reviewers: *642 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + reviewers: *646 sender: *4 since: type: string - workflow_job_run: *643 + workflow_job_run: *647 workflow_job_runs: type: array items: @@ -114133,13 +114232,13 @@ webhooks: type: string enum: - requested - enterprise: *629 + enterprise: *633 environment: type: string - installation: *630 - organization: *631 - repository: *632 - requestor: &649 + installation: *634 + organization: *635 + repository: *636 + requestor: &653 title: User type: - object @@ -116082,12 +116181,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Deployment Workflow Run type: @@ -116778,7 +116877,7 @@ webhooks: type: string enum: - answered - answer: &647 + answer: &651 type: object properties: author_association: @@ -116938,7 +117037,7 @@ webhooks: - created_at - updated_at - body - discussion: &645 + discussion: &649 title: Discussion description: A Discussion in a repository. type: object @@ -117256,10 +117355,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117386,11 +117485,11 @@ webhooks: - from required: - category - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117473,11 +117572,11 @@ webhooks: type: string enum: - closed - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117559,7 +117658,7 @@ webhooks: type: string enum: - created - comment: &646 + comment: &650 type: object properties: author_association: @@ -117719,11 +117818,11 @@ webhooks: - updated_at - body - reactions - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117806,12 +117905,12 @@ webhooks: type: string enum: - deleted - comment: *646 - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + comment: *650 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117906,12 +118005,12 @@ webhooks: - from required: - body - comment: *646 - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + comment: *650 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117995,11 +118094,11 @@ webhooks: type: string enum: - created - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118081,11 +118180,11 @@ webhooks: type: string enum: - deleted - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118185,11 +118284,11 @@ webhooks: type: string required: - from - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118271,10 +118370,10 @@ webhooks: type: string enum: - labeled - discussion: *645 - enterprise: *629 - installation: *630 - label: &648 + discussion: *649 + enterprise: *633 + installation: *634 + label: &652 title: Label type: object properties: @@ -118307,8 +118406,8 @@ webhooks: - color - default - description - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118391,11 +118490,11 @@ webhooks: type: string enum: - locked - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118477,11 +118576,11 @@ webhooks: type: string enum: - pinned - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118563,11 +118662,11 @@ webhooks: type: string enum: - reopened - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118652,16 +118751,16 @@ webhooks: changes: type: object properties: - new_discussion: *645 - new_repository: *632 + new_discussion: *649 + new_repository: *636 required: - new_discussion - new_repository - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118744,10 +118843,10 @@ webhooks: type: string enum: - unanswered - discussion: *645 - old_answer: *647 - organization: *631 - repository: *632 + discussion: *649 + old_answer: *651 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118829,12 +118928,12 @@ webhooks: type: string enum: - unlabeled - discussion: *645 - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118917,11 +119016,11 @@ webhooks: type: string enum: - unlocked - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -119003,11 +119102,11 @@ webhooks: type: string enum: - unpinned - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -119080,7 +119179,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *629 + enterprise: *633 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119758,9 +119857,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - forkee @@ -119906,9 +120005,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pages: description: The pages that were updated. type: array @@ -119946,7 +120045,7 @@ webhooks: - action - sha - html_url - repository: *632 + repository: *636 sender: *4 required: - pages @@ -120022,10 +120121,10 @@ webhooks: type: string enum: - created - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: &650 + organization: *635 + repositories: &654 description: An array of repository objects that the installation can access. type: array @@ -120051,8 +120150,8 @@ webhooks: - name - full_name - private - repository: *632 - requester: *649 + repository: *636 + requester: *653 sender: *4 required: - action @@ -120127,11 +120226,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120208,11 +120307,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120289,10 +120388,10 @@ webhooks: type: string enum: - added - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories_added: &651 + organization: *635 + repositories_added: &655 description: An array of repository objects, which were added to the installation. type: array @@ -120338,15 +120437,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *632 - repository_selection: &652 + repository: *636 + repository_selection: &656 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *649 + requester: *653 sender: *4 required: - action @@ -120425,10 +120524,10 @@ webhooks: type: string enum: - removed - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories_added: *651 + organization: *635 + repositories_added: *655 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120455,9 +120554,9 @@ webhooks: - name - full_name - private - repository: *632 - repository_selection: *652 - requester: *649 + repository: *636 + repository_selection: *656 + requester: *653 sender: *4 required: - action @@ -120536,11 +120635,11 @@ webhooks: type: string enum: - suspend - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120722,10 +120821,10 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 target_type: type: string @@ -120804,11 +120903,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -121056,8 +121155,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122248,8 +122347,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -122329,7 +122428,7 @@ webhooks: type: string enum: - deleted - comment: &653 + comment: &657 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122496,8 +122595,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123686,8 +123785,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -123767,7 +123866,7 @@ webhooks: type: string enum: - edited - changes: &678 + changes: &682 description: The changes to the comment. type: object properties: @@ -123779,9 +123878,9 @@ webhooks: type: string required: - from - comment: *653 - enterprise: *629 - installation: *630 + comment: *657 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124971,8 +125070,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -125054,10 +125153,10 @@ webhooks: type: string enum: - assigned - assignee: *649 - enterprise: *629 - installation: *630 - issue: &656 + assignee: *653 + enterprise: *633 + installation: *634 + issue: &660 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126002,8 +126101,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -126083,8 +126182,8 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127177,8 +127276,8 @@ webhooks: required: - state - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -127257,8 +127356,8 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128196,8 +128295,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -128276,8 +128375,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129219,7 +129318,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &654 + milestone: &658 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129362,8 +129461,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -129462,8 +129561,8 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130408,9 +130507,9 @@ webhooks: - active_lock_reason - body - reactions - label: *648 - organization: *631 - repository: *632 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -130490,8 +130589,8 @@ webhooks: type: string enum: - labeled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131435,9 +131534,9 @@ webhooks: - active_lock_reason - body - reactions - label: *648 - organization: *631 - repository: *632 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -131517,8 +131616,8 @@ webhooks: type: string enum: - locked - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132464,8 +132563,8 @@ webhooks: format: uri user_view_type: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -132544,8 +132643,8 @@ webhooks: type: string enum: - milestoned - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133485,9 +133584,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *654 - organization: *631 - repository: *632 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -134987,8 +135086,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135932,8 +136031,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -136013,9 +136112,9 @@ webhooks: type: string enum: - pinned - enterprise: *629 - installation: *630 - issue: &655 + enterprise: *633 + installation: *634 + issue: &659 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136953,8 +137052,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -137033,8 +137132,8 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137979,8 +138078,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139481,11 +139580,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *629 - installation: *630 - issue: *655 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *659 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139565,12 +139664,12 @@ webhooks: type: string enum: - typed - enterprise: *629 - installation: *630 - issue: *656 + enterprise: *633 + installation: *634 + issue: *660 type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139651,7 +139750,7 @@ webhooks: type: string enum: - unassigned - assignee: &681 + assignee: &685 title: User type: - object @@ -139723,11 +139822,11 @@ webhooks: required: - login - id - enterprise: *629 - installation: *630 - issue: *656 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *660 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139806,12 +139905,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *629 - installation: *630 - issue: *656 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *660 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139891,8 +139990,8 @@ webhooks: type: string enum: - unlocked - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140836,8 +140935,8 @@ webhooks: format: uri user_view_type: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -140917,11 +141016,11 @@ webhooks: type: string enum: - unpinned - enterprise: *629 - installation: *630 - issue: *655 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *659 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141000,12 +141099,12 @@ webhooks: type: string enum: - untyped - enterprise: *629 - installation: *630 - issue: *656 + enterprise: *633 + installation: *634 + issue: *660 type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141085,11 +141184,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141167,11 +141266,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141281,11 +141380,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141367,9 +141466,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: &657 + enterprise: *633 + installation: *634 + marketplace_purchase: &661 title: Marketplace Purchase type: object required: @@ -141457,8 +141556,8 @@ webhooks: type: integer unit_count: type: integer - organization: *631 - previous_marketplace_purchase: &658 + organization: *635 + previous_marketplace_purchase: &662 title: Marketplace Purchase type: object properties: @@ -141542,7 +141641,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141622,10 +141721,10 @@ webhooks: - changed effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141713,7 +141812,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141795,10 +141894,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141884,7 +141983,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141965,8 +142064,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 marketplace_purchase: title: Marketplace Purchase type: object @@ -142052,9 +142151,9 @@ webhooks: type: integer unit_count: type: integer - organization: *631 - previous_marketplace_purchase: *658 - repository: *632 + organization: *635 + previous_marketplace_purchase: *662 + repository: *636 sender: *4 required: - action @@ -142134,12 +142233,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 - previous_marketplace_purchase: *658 - repository: *632 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 + previous_marketplace_purchase: *662 + repository: *636 sender: *4 required: - action @@ -142241,11 +142340,11 @@ webhooks: type: string required: - to - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142347,11 +142446,11 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142430,11 +142529,11 @@ webhooks: type: string enum: - removed - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142512,11 +142611,11 @@ webhooks: type: string enum: - added - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142594,7 +142693,7 @@ webhooks: required: - login - id - team: &659 + team: &663 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142787,11 +142886,11 @@ webhooks: type: string enum: - removed - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142870,7 +142969,7 @@ webhooks: required: - login - id - team: *659 + team: *663 required: - action - scope @@ -142952,8 +143051,8 @@ webhooks: type: string enum: - checks_requested - installation: *630 - merge_group: &660 + installation: *634 + merge_group: &664 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142979,8 +143078,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143066,10 +143165,10 @@ webhooks: - merged - invalidated - dequeued - installation: *630 - merge_group: *660 - organization: *631 - repository: *632 + installation: *634 + merge_group: *664 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143142,7 +143241,7 @@ webhooks: type: string enum: - deleted - enterprise: *629 + enterprise: *633 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143250,12 +143349,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *630 - organization: *631 + installation: *634 + organization: *635 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -143335,11 +143434,11 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143418,9 +143517,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - milestone: &661 + enterprise: *633 + installation: *634 + milestone: &665 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143562,8 +143661,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143642,11 +143741,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143756,11 +143855,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143840,11 +143939,11 @@ webhooks: type: string enum: - opened - enterprise: *629 - installation: *630 - milestone: *661 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *665 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143923,11 +144022,11 @@ webhooks: type: string enum: - blocked - blocked_user: *649 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + blocked_user: *653 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144006,11 +144105,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *649 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + blocked_user: *653 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144089,9 +144188,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - membership: &662 + enterprise: *633 + installation: *634 + membership: &666 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144185,8 +144284,8 @@ webhooks: - role - organization_url - user - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144264,11 +144363,11 @@ webhooks: type: string enum: - member_added - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144347,8 +144446,8 @@ webhooks: type: string enum: - member_invited - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144470,10 +144569,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 - user: *649 + user: *653 required: - action - invitation @@ -144551,11 +144650,11 @@ webhooks: type: string enum: - member_removed - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144642,11 +144741,11 @@ webhooks: properties: from: type: string - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144722,9 +144821,9 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 package: description: Information about the package. type: object @@ -145247,7 +145346,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &663 + items: &667 title: Ruby Gems metadata type: object properties: @@ -145344,7 +145443,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -145420,9 +145519,9 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 package: description: Information about the package. type: object @@ -145784,7 +145883,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *663 + items: *667 source_url: type: string format: uri @@ -145855,7 +145954,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -146036,12 +146135,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *629 + enterprise: *633 id: type: integer - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - id @@ -146118,7 +146217,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &664 + personal_access_token_request: &668 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146268,10 +146367,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *629 - organization: *631 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146348,11 +146447,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *664 - enterprise: *629 - organization: *631 + personal_access_token_request: *668 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146428,11 +146527,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *664 - enterprise: *629 - organization: *631 + personal_access_token_request: *668 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146507,11 +146606,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *664 - organization: *631 - enterprise: *629 + personal_access_token_request: *668 + organization: *635 + enterprise: *633 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146616,7 +146715,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *665 + last_response: *669 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146648,8 +146747,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 zen: description: Random string of GitHub zen. @@ -146894,10 +146993,10 @@ webhooks: - from required: - note - enterprise: *629 - installation: *630 - organization: *631 - project_card: &666 + enterprise: *633 + installation: *634 + organization: *635 + project_card: &670 title: Project Card type: object properties: @@ -147020,7 +147119,7 @@ webhooks: - creator - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -147101,11 +147200,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project_card: *666 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_card: *670 + repository: *636 sender: *4 required: - action @@ -147185,9 +147284,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 project_card: title: Project Card type: object @@ -147317,7 +147416,7 @@ webhooks: repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -147411,11 +147510,11 @@ webhooks: - from required: - note - enterprise: *629 - installation: *630 - organization: *631 - project_card: *666 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_card: *670 + repository: *636 sender: *4 required: - action @@ -147509,9 +147608,9 @@ webhooks: - from required: - column_id - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 project_card: allOf: - title: Project Card @@ -147708,7 +147807,7 @@ webhooks: type: string required: - after_id - repository: *632 + repository: *636 sender: *4 required: - action @@ -147788,10 +147887,10 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - organization: *631 - project: &668 + enterprise: *633 + installation: *634 + organization: *635 + project: &672 title: Project type: object properties: @@ -147918,7 +148017,7 @@ webhooks: - creator - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -147998,10 +148097,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project_column: &667 + enterprise: *633 + installation: *634 + organization: *635 + project_column: &671 title: Project Column type: object properties: @@ -148041,7 +148140,7 @@ webhooks: - name - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -148120,14 +148219,14 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -148216,11 +148315,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 + repository: *636 sender: *4 required: - action @@ -148300,11 +148399,11 @@ webhooks: type: string enum: - moved - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 + repository: *636 sender: *4 required: - action @@ -148384,11 +148483,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148468,14 +148567,14 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - project: *668 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -148576,11 +148675,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148659,11 +148758,11 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148744,9 +148843,9 @@ webhooks: type: string enum: - closed - installation: *630 - organization: *631 - projects_v2: &669 + installation: *634 + organization: *635 + projects_v2: &673 title: Projects v2 Project description: A projects v2 project type: object @@ -148894,9 +148993,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -148977,9 +149076,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -149100,9 +149199,9 @@ webhooks: type: string to: type: string - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -149185,7 +149284,7 @@ webhooks: type: string enum: - archived - changes: &673 + changes: &677 type: object properties: archived_at: @@ -149201,9 +149300,9 @@ webhooks: - string - 'null' format: date-time - installation: *630 - organization: *631 - projects_v2_item: &670 + installation: *634 + organization: *635 + projects_v2_item: &674 title: Projects v2 Item description: An item belonging to a project type: object @@ -149342,9 +149441,9 @@ webhooks: - 'null' to: type: string - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149426,9 +149525,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149509,9 +149608,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149616,7 +149715,7 @@ webhooks: oneOf: - type: string - type: integer - - &671 + - &675 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149636,7 +149735,7 @@ webhooks: required: - id - name - - &672 + - &676 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149665,8 +149764,8 @@ webhooks: oneOf: - type: string - type: integer - - *671 - - *672 + - *675 + - *676 type: - 'null' - string @@ -149689,9 +149788,9 @@ webhooks: - 'null' required: - body - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149788,9 +149887,9 @@ webhooks: type: - string - 'null' - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149873,10 +149972,10 @@ webhooks: type: string enum: - restored - changes: *673 - installation: *630 - organization: *631 - projects_v2_item: *670 + changes: *677 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149958,9 +150057,9 @@ webhooks: type: string enum: - reopened - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -150041,9 +150140,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2_status_update: &674 + installation: *634 + organization: *635 + projects_v2_status_update: &678 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150178,9 +150277,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2_status_update: *674 + installation: *634 + organization: *635 + projects_v2_status_update: *678 sender: *4 required: - action @@ -150326,9 +150425,9 @@ webhooks: - string - 'null' format: date - installation: *630 - organization: *631 - projects_v2_status_update: *674 + installation: *634 + organization: *635 + projects_v2_status_update: *678 sender: *4 required: - action @@ -150399,10 +150498,10 @@ webhooks: title: public event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - repository @@ -150479,13 +150578,13 @@ webhooks: type: string enum: - assigned - assignee: *649 - enterprise: *629 - installation: *630 - number: &675 + assignee: *653 + enterprise: *633 + installation: *634 + number: &679 description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -152834,7 +152933,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -152916,11 +153015,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -155262,7 +155361,7 @@ webhooks: - draft reason: type: string - repository: *632 + repository: *636 sender: *4 required: - action @@ -155344,11 +155443,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -157690,7 +157789,7 @@ webhooks: - draft reason: type: string - repository: *632 + repository: *636 sender: *4 required: - action @@ -157772,11 +157871,11 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: &676 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: &680 allOf: - *501 - type: object @@ -157840,7 +157939,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *632 + repository: *636 sender: *4 required: - action @@ -157921,12 +158020,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -158006,11 +158105,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *629 + enterprise: *633 milestone: *399 - number: *675 - organization: *631 - pull_request: &677 + number: *679 + organization: *635 + pull_request: &681 title: Pull Request type: object properties: @@ -160337,7 +160436,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -160416,11 +160515,11 @@ webhooks: type: string enum: - dequeued - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -162766,7 +162865,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *632 + repository: *636 sender: *4 required: - action @@ -162890,12 +162989,12 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -162975,11 +163074,11 @@ webhooks: type: string enum: - enqueued - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -165310,7 +165409,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -165390,11 +165489,11 @@ webhooks: type: string enum: - labeled - enterprise: *629 - installation: *630 - label: *648 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + label: *652 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -167742,7 +167841,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -167823,10 +167922,10 @@ webhooks: type: string enum: - locked - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -170172,7 +170271,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -170252,12 +170351,12 @@ webhooks: type: string enum: - milestoned - enterprise: *629 + enterprise: *633 milestone: *399 - number: *675 - organization: *631 - pull_request: *677 - repository: *632 + number: *679 + organization: *635 + pull_request: *681 + repository: *636 sender: *4 required: - action @@ -170336,12 +170435,12 @@ webhooks: type: string enum: - opened - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170422,12 +170521,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170507,12 +170606,12 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170887,9 +170986,9 @@ webhooks: - start_side - side - reactions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -173119,7 +173218,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -173199,7 +173298,7 @@ webhooks: type: string enum: - deleted - comment: &679 + comment: &683 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173492,9 +173591,9 @@ webhooks: - start_side - side - reactions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -175712,7 +175811,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -175792,11 +175891,11 @@ webhooks: type: string enum: - edited - changes: *678 - comment: *679 - enterprise: *629 - installation: *630 - organization: *631 + changes: *682 + comment: *683 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -178017,7 +178116,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -178098,9 +178197,9 @@ webhooks: type: string enum: - dismissed - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -180333,7 +180432,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 review: description: The review that was affected. type: object @@ -180579,9 +180678,9 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -182695,8 +182794,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 - review: &680 + repository: *636 + review: &684 description: The review that was affected. type: object properties: @@ -182929,12 +183028,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -185281,7 +185380,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_reviewer: title: User type: @@ -185367,12 +185466,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -187726,7 +187825,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187921,12 +188020,12 @@ webhooks: type: string enum: - review_requested - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -190275,7 +190374,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_reviewer: title: User type: @@ -190362,12 +190461,12 @@ webhooks: type: string enum: - review_requested - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -192707,7 +192806,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192891,9 +192990,9 @@ webhooks: type: string enum: - submitted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -195129,8 +195228,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 - review: *680 + repository: *636 + review: *684 sender: *4 required: - action @@ -195210,9 +195309,9 @@ webhooks: type: string enum: - resolved - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -197343,7 +197442,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 sender: *4 thread: type: object @@ -197735,9 +197834,9 @@ webhooks: type: string enum: - unresolved - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -199851,7 +199950,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 sender: *4 thread: type: object @@ -200245,10 +200344,10 @@ webhooks: type: string before: type: string - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -202583,7 +202682,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -202665,11 +202764,11 @@ webhooks: type: string enum: - unassigned - assignee: *681 - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + assignee: *685 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -205019,7 +205118,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -205098,11 +205197,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *629 - installation: *630 - label: *648 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + label: *652 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -207441,7 +207540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -207522,10 +207621,10 @@ webhooks: type: string enum: - unlocked - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -209854,7 +209953,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -210057,7 +210156,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *629 + enterprise: *633 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210152,8 +210251,8 @@ webhooks: - url - author - committer - installation: *630 - organization: *631 + installation: *634 + organization: *635 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210741,9 +210840,9 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 registry_package: type: object properties: @@ -211220,7 +211319,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *663 + items: *667 summary: type: string tag_name: @@ -211276,7 +211375,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -211354,9 +211453,9 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 registry_package: type: object properties: @@ -211668,7 +211767,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *663 + items: *667 summary: type: string tag_name: @@ -211718,7 +211817,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -211795,10 +211894,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - release: &682 + enterprise: *633 + installation: *634 + organization: *635 + release: &686 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212114,7 +212213,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *632 + repository: *636 sender: *4 required: - action @@ -212191,11 +212290,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -212312,11 +212411,11 @@ webhooks: type: boolean required: - to - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -212394,9 +212493,9 @@ webhooks: type: string enum: - prereleased - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212717,7 +212816,7 @@ webhooks: - string - 'null' format: uri - repository: *632 + repository: *636 sender: *4 required: - action @@ -212793,10 +212892,10 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - release: &683 + enterprise: *633 + installation: *634 + organization: *635 + release: &687 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213114,7 +213213,7 @@ webhooks: - string - 'null' format: uri - repository: *632 + repository: *636 sender: *4 required: - action @@ -213190,11 +213289,11 @@ webhooks: type: string enum: - released - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -213270,11 +213369,11 @@ webhooks: type: string enum: - unpublished - enterprise: *629 - installation: *630 - organization: *631 - release: *683 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *687 + repository: *636 sender: *4 required: - action @@ -213350,10 +213449,10 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_advisory: *561 sender: *4 required: @@ -213430,10 +213529,10 @@ webhooks: type: string enum: - reported - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_advisory: *561 sender: *4 required: @@ -213510,10 +213609,10 @@ webhooks: type: string enum: - archived - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213590,10 +213689,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213671,10 +213770,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213759,10 +213858,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213877,10 +213976,10 @@ webhooks: - 'null' items: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213952,10 +214051,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 status: type: string @@ -214036,10 +214135,10 @@ webhooks: type: string enum: - privatized - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214116,10 +214215,10 @@ webhooks: type: string enum: - publicized - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214213,10 +214312,10 @@ webhooks: - name required: - repository - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214296,10 +214395,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 sender: *4 required: @@ -214378,10 +214477,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 sender: *4 required: @@ -214460,10 +214559,10 @@ webhooks: type: string enum: - edited - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 changes: type: object @@ -214771,10 +214870,10 @@ webhooks: - from required: - owner - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214852,10 +214951,10 @@ webhooks: type: string enum: - unarchived - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214933,7 +215032,7 @@ webhooks: type: string enum: - create - alert: &684 + alert: &688 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215057,10 +215156,10 @@ webhooks: type: string enum: - open - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215270,10 +215369,10 @@ webhooks: type: string enum: - dismissed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215351,11 +215450,11 @@ webhooks: type: string enum: - reopen - alert: *684 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *688 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215557,10 +215656,10 @@ webhooks: enum: - fixed - open - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215638,7 +215737,7 @@ webhooks: type: string enum: - created - alert: &685 + alert: &689 type: object properties: number: *52 @@ -215748,10 +215847,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215832,11 +215931,11 @@ webhooks: type: string enum: - created - alert: *685 - installation: *630 - location: *686 - organization: *631 - repository: *632 + alert: *689 + installation: *634 + location: *690 + organization: *635 + repository: *636 sender: *4 required: - location @@ -216074,11 +216173,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216156,11 +216255,11 @@ webhooks: type: string enum: - reopened - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216238,11 +216337,11 @@ webhooks: type: string enum: - resolved - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216320,11 +216419,11 @@ webhooks: type: string enum: - validated - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216454,10 +216553,10 @@ webhooks: - organization - enterprise - - repository: *632 - enterprise: *629 - installation: *630 - organization: *631 + repository: *636 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -216535,11 +216634,11 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - security_advisory: &687 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + security_advisory: &691 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216725,11 +216824,11 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - security_advisory: *687 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + security_advisory: *691 sender: *4 required: - action @@ -216802,10 +216901,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216992,9 +217091,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: *278 sender: *4 required: @@ -217073,12 +217172,12 @@ webhooks: type: string enum: - cancelled - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: &688 + sponsorship: &692 type: object properties: created_at: @@ -217383,12 +217482,12 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - sponsorship @@ -217476,12 +217575,12 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217558,17 +217657,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &689 + effective_date: &693 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: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - sponsorship @@ -217642,7 +217741,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &690 + changes: &694 type: object properties: tier: @@ -217686,13 +217785,13 @@ webhooks: - from required: - tier - effective_date: *689 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + effective_date: *693 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217769,13 +217868,13 @@ webhooks: type: string enum: - tier_changed - changes: *690 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + changes: *694 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217849,10 +217948,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217936,10 +218035,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218373,15 +218472,15 @@ webhooks: type: - string - 'null' - enterprise: *629 + enterprise: *633 id: description: The unique identifier of the status. type: integer - installation: *630 + installation: *634 name: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 sha: description: The Commit SHA. @@ -218497,9 +218596,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218589,9 +218688,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218681,9 +218780,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218773,9 +218872,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218852,12 +218951,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - team: &691 + team: &695 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219050,9 +219149,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -219522,7 +219621,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -219598,9 +219697,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -220070,7 +220169,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -220147,9 +220246,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -220619,7 +220718,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -220763,9 +220862,9 @@ webhooks: - from required: - permissions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -221235,7 +221334,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - changes @@ -221313,9 +221412,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -221785,7 +221884,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -221861,10 +221960,10 @@ webhooks: type: string enum: - started - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -221937,17 +222036,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *629 + enterprise: *633 inputs: type: - object - 'null' additionalProperties: true - installation: *630 - organization: *631 + installation: *634 + organization: *635 ref: type: string - repository: *632 + repository: *636 sender: *4 workflow: type: string @@ -222029,10 +222128,10 @@ webhooks: type: string enum: - completed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: allOf: @@ -222367,10 +222466,10 @@ webhooks: type: string enum: - in_progress - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: allOf: @@ -222731,10 +222830,10 @@ webhooks: type: string enum: - queued - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: type: object @@ -222959,10 +223058,10 @@ webhooks: type: string enum: - waiting - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: type: object @@ -223189,12 +223288,12 @@ webhooks: type: string enum: - completed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object @@ -224213,12 +224312,12 @@ webhooks: type: string enum: - in_progress - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object @@ -225222,12 +225321,12 @@ webhooks: type: string enum: - requested - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index f50c60ffe5..ef8609205b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -495919,7 +495919,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", "null" @@ -642390,6 +642390,307 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index c27bcd1a75..77364b13df 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -15901,7 +15901,8 @@ paths: required: true schema: type: string - - name: year + - &626 + 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. @@ -15909,7 +15910,8 @@ paths: required: false schema: type: integer - - name: month + - &627 + 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. @@ -15917,7 +15919,8 @@ paths: required: false schema: type: integer - - name: day + - &628 + 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. @@ -15925,7 +15928,8 @@ paths: required: false schema: type: integer - - name: hour + - &629 + 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. @@ -54109,7 +54113,7 @@ paths: check. type: array items: *346 - deployment: &634 + deployment: &638 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70120,7 +70124,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &665 + last_response: &669 title: Hook Response type: object properties: @@ -85649,8 +85653,8 @@ paths: state: *555 resolution: *556 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 - 'null' @@ -85754,7 +85758,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &686 + items: &690 type: object properties: type: @@ -99672,7 +99676,7 @@ paths: - title - created_at examples: - default: &626 + default: &630 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99838,7 +99842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &627 + - &631 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 @@ -99867,7 +99871,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &628 + items: &632 title: Starred Repository description: Starred Repository type: object @@ -101844,6 +101848,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: + - *129 + - *626 + - *627 + - *628 + - *629 + 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': *27 + '500': *90 + '503': *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -101900,7 +101999,7 @@ paths: type: array items: *611 examples: - default: *626 + default: *630 headers: Link: *57 x-github: @@ -101925,7 +102024,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *129 - - *627 + - *631 - *46 - *17 - *19 @@ -101937,7 +102036,7 @@ paths: schema: anyOf: - type: array - items: *628 + items: *632 - type: array items: *59 examples: @@ -102101,7 +102200,7 @@ webhooks: type: string enum: - disabled - enterprise: &629 + enterprise: &633 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -102170,7 +102269,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &630 + installation: &634 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -102191,7 +102290,7 @@ webhooks: required: - id - node_id - organization: &631 + organization: &635 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -102264,7 +102363,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &632 + repository: &636 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -103177,10 +103276,10 @@ webhooks: type: string enum: - enabled - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -103256,11 +103355,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: &633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: &637 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) @@ -103483,11 +103582,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: *633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: *637 sender: *4 required: - action @@ -103675,11 +103774,11 @@ webhooks: - everyone required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - rule: *633 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + rule: *637 sender: *4 required: - action @@ -103763,7 +103862,7 @@ webhooks: type: string enum: - completed - check_run: &635 + check_run: &639 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103876,7 +103975,7 @@ webhooks: - examples: - neutral - deployment: *634 + deployment: *638 details_url: type: string examples: @@ -103974,9 +104073,9 @@ webhooks: - output - app - pull_requests - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -104369,10 +104468,10 @@ webhooks: type: string enum: - created - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -104768,10 +104867,10 @@ webhooks: type: string enum: - requested_action - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 requested_action: description: The action requested by the user. type: object @@ -105176,10 +105275,10 @@ webhooks: type: string enum: - rerequested - check_run: *635 - installation: *630 - organization: *631 - repository: *632 + check_run: *639 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - check_run @@ -106171,10 +106270,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -106859,10 +106958,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -107541,10 +107640,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -107862,20 +107961,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &636 + commit_oid: &640 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: *629 - installation: *630 - organization: *631 - ref: &637 + enterprise: *633 + installation: *634 + organization: *635 + ref: &641 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: *632 + repository: *636 sender: *4 required: - action @@ -108280,12 +108379,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -108565,12 +108664,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -108913,12 +109012,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -109198,9 +109297,9 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -109208,7 +109307,7 @@ webhooks: type: - string - 'null' - repository: *632 + repository: *636 sender: *4 required: - action @@ -109451,12 +109550,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *636 - enterprise: *629 - installation: *630 - organization: *631 - ref: *637 - repository: *632 + commit_oid: *640 + enterprise: *633 + installation: *634 + organization: *635 + ref: *641 + repository: *636 sender: *4 required: - action @@ -109718,10 +109817,10 @@ webhooks: - updated_at - author_association - body - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -109802,18 +109901,18 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *631 - pusher_type: &638 + organization: *635 + pusher_type: &642 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &639 + ref: &643 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109823,7 +109922,7 @@ webhooks: enum: - tag - branch - repository: *632 + repository: *636 sender: *4 required: - ref @@ -109906,9 +110005,9 @@ webhooks: enum: - created definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -109993,9 +110092,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110073,9 +110172,9 @@ webhooks: enum: - promote_to_enterprise definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110153,9 +110252,9 @@ webhooks: enum: - updated definition: *221 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -110232,10 +110331,10 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - repository: *632 - organization: *631 + enterprise: *633 + installation: *634 + repository: *636 + organization: *635 sender: *4 new_property_values: type: array @@ -110320,18 +110419,18 @@ webhooks: title: delete event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - pusher_type: *638 - ref: *639 + enterprise: *633 + installation: *634 + organization: *635 + pusher_type: *642 + ref: *643 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *632 + repository: *636 sender: *4 required: - ref @@ -110416,10 +110515,10 @@ webhooks: enum: - auto_dismissed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110504,10 +110603,10 @@ webhooks: enum: - auto_reopened alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110592,10 +110691,10 @@ webhooks: enum: - created alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110678,10 +110777,10 @@ webhooks: enum: - dismissed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110764,10 +110863,10 @@ webhooks: enum: - fixed alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110851,10 +110950,10 @@ webhooks: enum: - reintroduced alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -110937,10 +111036,10 @@ webhooks: enum: - reopened alert: *413 - installation: *630 - organization: *631 - enterprise: *629 - repository: *632 + installation: *634 + organization: *635 + enterprise: *633 + repository: *636 sender: *4 required: - action @@ -111017,9 +111116,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - key: &640 + enterprise: *633 + installation: *634 + key: &644 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -111057,8 +111156,8 @@ webhooks: - verified - created_at - read_only - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -111135,11 +111234,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - key: *640 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + key: *644 + organization: *635 + repository: *636 sender: *4 required: - action @@ -111711,12 +111810,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: &644 + workflow: &648 title: Workflow type: - object @@ -112458,9 +112557,9 @@ webhooks: pull_requests: type: array items: *501 - repository: *632 - organization: *631 - installation: *630 + repository: *636 + organization: *635 + installation: *634 sender: *4 responses: '200': @@ -112531,7 +112630,7 @@ webhooks: type: string enum: - approved - approver: &641 + approver: &645 type: object properties: avatar_url: @@ -112574,11 +112673,11 @@ webhooks: type: string comment: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - reviewers: &642 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + reviewers: &646 type: array items: type: object @@ -112659,7 +112758,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &643 + workflow_job_run: &647 type: object properties: conclusion: @@ -113405,18 +113504,18 @@ webhooks: type: string enum: - rejected - approver: *641 + approver: *645 comment: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - reviewers: *642 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + reviewers: *646 sender: *4 since: type: string - workflow_job_run: *643 + workflow_job_run: *647 workflow_job_runs: type: array items: @@ -114133,13 +114232,13 @@ webhooks: type: string enum: - requested - enterprise: *629 + enterprise: *633 environment: type: string - installation: *630 - organization: *631 - repository: *632 - requestor: &649 + installation: *634 + organization: *635 + repository: *636 + requestor: &653 title: User type: - object @@ -116082,12 +116181,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Deployment Workflow Run type: @@ -116778,7 +116877,7 @@ webhooks: type: string enum: - answered - answer: &647 + answer: &651 type: object properties: author_association: @@ -116938,7 +117037,7 @@ webhooks: - created_at - updated_at - body - discussion: &645 + discussion: &649 title: Discussion description: A Discussion in a repository. type: object @@ -117256,10 +117355,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117386,11 +117485,11 @@ webhooks: - from required: - category - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117473,11 +117572,11 @@ webhooks: type: string enum: - closed - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117559,7 +117658,7 @@ webhooks: type: string enum: - created - comment: &646 + comment: &650 type: object properties: author_association: @@ -117719,11 +117818,11 @@ webhooks: - updated_at - body - reactions - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117806,12 +117905,12 @@ webhooks: type: string enum: - deleted - comment: *646 - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + comment: *650 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117906,12 +118005,12 @@ webhooks: - from required: - body - comment: *646 - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + comment: *650 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -117995,11 +118094,11 @@ webhooks: type: string enum: - created - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118081,11 +118180,11 @@ webhooks: type: string enum: - deleted - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118185,11 +118284,11 @@ webhooks: type: string required: - from - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118271,10 +118370,10 @@ webhooks: type: string enum: - labeled - discussion: *645 - enterprise: *629 - installation: *630 - label: &648 + discussion: *649 + enterprise: *633 + installation: *634 + label: &652 title: Label type: object properties: @@ -118307,8 +118406,8 @@ webhooks: - color - default - description - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118391,11 +118490,11 @@ webhooks: type: string enum: - locked - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118477,11 +118576,11 @@ webhooks: type: string enum: - pinned - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118563,11 +118662,11 @@ webhooks: type: string enum: - reopened - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118652,16 +118751,16 @@ webhooks: changes: type: object properties: - new_discussion: *645 - new_repository: *632 + new_discussion: *649 + new_repository: *636 required: - new_discussion - new_repository - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118744,10 +118843,10 @@ webhooks: type: string enum: - unanswered - discussion: *645 - old_answer: *647 - organization: *631 - repository: *632 + discussion: *649 + old_answer: *651 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118829,12 +118928,12 @@ webhooks: type: string enum: - unlabeled - discussion: *645 - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -118917,11 +119016,11 @@ webhooks: type: string enum: - unlocked - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -119003,11 +119102,11 @@ webhooks: type: string enum: - unpinned - discussion: *645 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + discussion: *649 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -119080,7 +119179,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *629 + enterprise: *633 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119758,9 +119857,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - forkee @@ -119906,9 +120005,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pages: description: The pages that were updated. type: array @@ -119946,7 +120045,7 @@ webhooks: - action - sha - html_url - repository: *632 + repository: *636 sender: *4 required: - pages @@ -120022,10 +120121,10 @@ webhooks: type: string enum: - created - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: &650 + organization: *635 + repositories: &654 description: An array of repository objects that the installation can access. type: array @@ -120051,8 +120150,8 @@ webhooks: - name - full_name - private - repository: *632 - requester: *649 + repository: *636 + requester: *653 sender: *4 required: - action @@ -120127,11 +120226,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120208,11 +120307,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120289,10 +120388,10 @@ webhooks: type: string enum: - added - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories_added: &651 + organization: *635 + repositories_added: &655 description: An array of repository objects, which were added to the installation. type: array @@ -120338,15 +120437,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *632 - repository_selection: &652 + repository: *636 + repository_selection: &656 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *649 + requester: *653 sender: *4 required: - action @@ -120425,10 +120524,10 @@ webhooks: type: string enum: - removed - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories_added: *651 + organization: *635 + repositories_added: *655 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -120455,9 +120554,9 @@ webhooks: - name - full_name - private - repository: *632 - repository_selection: *652 - requester: *649 + repository: *636 + repository_selection: *656 + requester: *653 sender: *4 required: - action @@ -120536,11 +120635,11 @@ webhooks: type: string enum: - suspend - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -120722,10 +120821,10 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 target_type: type: string @@ -120804,11 +120903,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *629 + enterprise: *633 installation: *20 - organization: *631 - repositories: *650 - repository: *632 + organization: *635 + repositories: *654 + repository: *636 requester: type: - 'null' @@ -121056,8 +121155,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122248,8 +122347,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -122329,7 +122428,7 @@ webhooks: type: string enum: - deleted - comment: &653 + comment: &657 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -122496,8 +122595,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -123686,8 +123785,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -123767,7 +123866,7 @@ webhooks: type: string enum: - edited - changes: &678 + changes: &682 description: The changes to the comment. type: object properties: @@ -123779,9 +123878,9 @@ webhooks: type: string required: - from - comment: *653 - enterprise: *629 - installation: *630 + comment: *657 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124971,8 +125070,8 @@ webhooks: - state - locked - assignee - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -125054,10 +125153,10 @@ webhooks: type: string enum: - assigned - assignee: *649 - enterprise: *629 - installation: *630 - issue: &656 + assignee: *653 + enterprise: *633 + installation: *634 + issue: &660 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126002,8 +126101,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -126083,8 +126182,8 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -127177,8 +127276,8 @@ webhooks: required: - state - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -127257,8 +127356,8 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128196,8 +128295,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -128276,8 +128375,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129219,7 +129318,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &654 + milestone: &658 title: Milestone description: A collection of related issues and pull requests. type: object @@ -129362,8 +129461,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -129462,8 +129561,8 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130408,9 +130507,9 @@ webhooks: - active_lock_reason - body - reactions - label: *648 - organization: *631 - repository: *632 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -130490,8 +130589,8 @@ webhooks: type: string enum: - labeled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131435,9 +131534,9 @@ webhooks: - active_lock_reason - body - reactions - label: *648 - organization: *631 - repository: *632 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -131517,8 +131616,8 @@ webhooks: type: string enum: - locked - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132464,8 +132563,8 @@ webhooks: format: uri user_view_type: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -132544,8 +132643,8 @@ webhooks: type: string enum: - milestoned - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133485,9 +133584,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *654 - organization: *631 - repository: *632 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -134987,8 +135086,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135932,8 +136031,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -136013,9 +136112,9 @@ webhooks: type: string enum: - pinned - enterprise: *629 - installation: *630 - issue: &655 + enterprise: *633 + installation: *634 + issue: &659 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136953,8 +137052,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -137033,8 +137132,8 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137979,8 +138078,8 @@ webhooks: user_view_type: type: string type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139481,11 +139580,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *629 - installation: *630 - issue: *655 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *659 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139565,12 +139664,12 @@ webhooks: type: string enum: - typed - enterprise: *629 - installation: *630 - issue: *656 + enterprise: *633 + installation: *634 + issue: *660 type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139651,7 +139750,7 @@ webhooks: type: string enum: - unassigned - assignee: &681 + assignee: &685 title: User type: - object @@ -139723,11 +139822,11 @@ webhooks: required: - login - id - enterprise: *629 - installation: *630 - issue: *656 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *660 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139806,12 +139905,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *629 - installation: *630 - issue: *656 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *660 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -139891,8 +139990,8 @@ webhooks: type: string enum: - unlocked - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140836,8 +140935,8 @@ webhooks: format: uri user_view_type: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -140917,11 +141016,11 @@ webhooks: type: string enum: - unpinned - enterprise: *629 - installation: *630 - issue: *655 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + issue: *659 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141000,12 +141099,12 @@ webhooks: type: string enum: - untyped - enterprise: *629 - installation: *630 - issue: *656 + enterprise: *633 + installation: *634 + issue: *660 type: *185 - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141085,11 +141184,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141167,11 +141266,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141281,11 +141380,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - label: *648 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + label: *652 + organization: *635 + repository: *636 sender: *4 required: - action @@ -141367,9 +141466,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: &657 + enterprise: *633 + installation: *634 + marketplace_purchase: &661 title: Marketplace Purchase type: object required: @@ -141457,8 +141556,8 @@ webhooks: type: integer unit_count: type: integer - organization: *631 - previous_marketplace_purchase: &658 + organization: *635 + previous_marketplace_purchase: &662 title: Marketplace Purchase type: object properties: @@ -141542,7 +141641,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141622,10 +141721,10 @@ webhooks: - changed effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141713,7 +141812,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141795,10 +141894,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141884,7 +141983,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *632 + repository: *636 sender: *4 required: - action @@ -141965,8 +142064,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 marketplace_purchase: title: Marketplace Purchase type: object @@ -142052,9 +142151,9 @@ webhooks: type: integer unit_count: type: integer - organization: *631 - previous_marketplace_purchase: *658 - repository: *632 + organization: *635 + previous_marketplace_purchase: *662 + repository: *636 sender: *4 required: - action @@ -142134,12 +142233,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *629 - installation: *630 - marketplace_purchase: *657 - organization: *631 - previous_marketplace_purchase: *658 - repository: *632 + enterprise: *633 + installation: *634 + marketplace_purchase: *661 + organization: *635 + previous_marketplace_purchase: *662 + repository: *636 sender: *4 required: - action @@ -142241,11 +142340,11 @@ webhooks: type: string required: - to - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142347,11 +142446,11 @@ webhooks: type: - string - 'null' - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142430,11 +142529,11 @@ webhooks: type: string enum: - removed - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 sender: *4 required: - action @@ -142512,11 +142611,11 @@ webhooks: type: string enum: - added - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142594,7 +142693,7 @@ webhooks: required: - login - id - team: &659 + team: &663 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142787,11 +142886,11 @@ webhooks: type: string enum: - removed - enterprise: *629 - installation: *630 - member: *649 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + member: *653 + organization: *635 + repository: *636 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142870,7 +142969,7 @@ webhooks: required: - login - id - team: *659 + team: *663 required: - action - scope @@ -142952,8 +143051,8 @@ webhooks: type: string enum: - checks_requested - installation: *630 - merge_group: &660 + installation: *634 + merge_group: &664 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142979,8 +143078,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143066,10 +143165,10 @@ webhooks: - merged - invalidated - dequeued - installation: *630 - merge_group: *660 - organization: *631 - repository: *632 + installation: *634 + merge_group: *664 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143142,7 +143241,7 @@ webhooks: type: string enum: - deleted - enterprise: *629 + enterprise: *633 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -143250,12 +143349,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *630 - organization: *631 + installation: *634 + organization: *635 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -143335,11 +143434,11 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143418,9 +143517,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - milestone: &661 + enterprise: *633 + installation: *634 + milestone: &665 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143562,8 +143661,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143642,11 +143741,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143756,11 +143855,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - milestone: *654 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *658 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143840,11 +143939,11 @@ webhooks: type: string enum: - opened - enterprise: *629 - installation: *630 - milestone: *661 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + milestone: *665 + organization: *635 + repository: *636 sender: *4 required: - action @@ -143923,11 +144022,11 @@ webhooks: type: string enum: - blocked - blocked_user: *649 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + blocked_user: *653 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144006,11 +144105,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *649 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + blocked_user: *653 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144089,9 +144188,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - membership: &662 + enterprise: *633 + installation: *634 + membership: &666 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -144185,8 +144284,8 @@ webhooks: - role - organization_url - user - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144264,11 +144363,11 @@ webhooks: type: string enum: - member_added - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144347,8 +144446,8 @@ webhooks: type: string enum: - member_invited - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -144470,10 +144569,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 - user: *649 + user: *653 required: - action - invitation @@ -144551,11 +144650,11 @@ webhooks: type: string enum: - member_removed - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144642,11 +144741,11 @@ webhooks: properties: from: type: string - enterprise: *629 - installation: *630 - membership: *662 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + membership: *666 + organization: *635 + repository: *636 sender: *4 required: - action @@ -144722,9 +144821,9 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 package: description: Information about the package. type: object @@ -145247,7 +145346,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &663 + items: &667 title: Ruby Gems metadata type: object properties: @@ -145344,7 +145443,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -145420,9 +145519,9 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 package: description: Information about the package. type: object @@ -145784,7 +145883,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *663 + items: *667 source_url: type: string format: uri @@ -145855,7 +145954,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -146036,12 +146135,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *629 + enterprise: *633 id: type: integer - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - id @@ -146118,7 +146217,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &664 + personal_access_token_request: &668 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -146268,10 +146367,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *629 - organization: *631 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146348,11 +146447,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *664 - enterprise: *629 - organization: *631 + personal_access_token_request: *668 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146428,11 +146527,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *664 - enterprise: *629 - organization: *631 + personal_access_token_request: *668 + enterprise: *633 + organization: *635 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146507,11 +146606,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *664 - organization: *631 - enterprise: *629 + personal_access_token_request: *668 + organization: *635 + enterprise: *633 sender: *4 - installation: *630 + installation: *634 required: - action - personal_access_token_request @@ -146616,7 +146715,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *665 + last_response: *669 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146648,8 +146747,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 zen: description: Random string of GitHub zen. @@ -146894,10 +146993,10 @@ webhooks: - from required: - note - enterprise: *629 - installation: *630 - organization: *631 - project_card: &666 + enterprise: *633 + installation: *634 + organization: *635 + project_card: &670 title: Project Card type: object properties: @@ -147020,7 +147119,7 @@ webhooks: - creator - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -147101,11 +147200,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project_card: *666 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_card: *670 + repository: *636 sender: *4 required: - action @@ -147185,9 +147284,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 project_card: title: Project Card type: object @@ -147317,7 +147416,7 @@ webhooks: repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -147411,11 +147510,11 @@ webhooks: - from required: - note - enterprise: *629 - installation: *630 - organization: *631 - project_card: *666 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_card: *670 + repository: *636 sender: *4 required: - action @@ -147509,9 +147608,9 @@ webhooks: - from required: - column_id - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 project_card: allOf: - title: Project Card @@ -147708,7 +147807,7 @@ webhooks: type: string required: - after_id - repository: *632 + repository: *636 sender: *4 required: - action @@ -147788,10 +147887,10 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - organization: *631 - project: &668 + enterprise: *633 + installation: *634 + organization: *635 + project: &672 title: Project type: object properties: @@ -147918,7 +148017,7 @@ webhooks: - creator - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -147998,10 +148097,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project_column: &667 + enterprise: *633 + installation: *634 + organization: *635 + project_column: &671 title: Project Column type: object properties: @@ -148041,7 +148140,7 @@ webhooks: - name - created_at - updated_at - repository: *632 + repository: *636 sender: *4 required: - action @@ -148120,14 +148219,14 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -148216,11 +148315,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 + repository: *636 sender: *4 required: - action @@ -148300,11 +148399,11 @@ webhooks: type: string enum: - moved - enterprise: *629 - installation: *630 - organization: *631 - project_column: *667 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project_column: *671 + repository: *636 sender: *4 required: - action @@ -148384,11 +148483,11 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148468,14 +148567,14 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - project: *668 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 repository: anyOf: - type: 'null' - - *632 + - *636 sender: *4 required: - action @@ -148576,11 +148675,11 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148659,11 +148758,11 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 - organization: *631 - project: *668 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + project: *672 + repository: *636 sender: *4 required: - action @@ -148744,9 +148843,9 @@ webhooks: type: string enum: - closed - installation: *630 - organization: *631 - projects_v2: &669 + installation: *634 + organization: *635 + projects_v2: &673 title: Projects v2 Project description: A projects v2 project type: object @@ -148894,9 +148993,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -148977,9 +149076,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -149100,9 +149199,9 @@ webhooks: type: string to: type: string - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -149185,7 +149284,7 @@ webhooks: type: string enum: - archived - changes: &673 + changes: &677 type: object properties: archived_at: @@ -149201,9 +149300,9 @@ webhooks: - string - 'null' format: date-time - installation: *630 - organization: *631 - projects_v2_item: &670 + installation: *634 + organization: *635 + projects_v2_item: &674 title: Projects v2 Item description: An item belonging to a project type: object @@ -149342,9 +149441,9 @@ webhooks: - 'null' to: type: string - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149426,9 +149525,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149509,9 +149608,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149616,7 +149715,7 @@ webhooks: oneOf: - type: string - type: integer - - &671 + - &675 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149636,7 +149735,7 @@ webhooks: required: - id - name - - &672 + - &676 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149665,8 +149764,8 @@ webhooks: oneOf: - type: string - type: integer - - *671 - - *672 + - *675 + - *676 type: - 'null' - string @@ -149689,9 +149788,9 @@ webhooks: - 'null' required: - body - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149788,9 +149887,9 @@ webhooks: type: - string - 'null' - installation: *630 - organization: *631 - projects_v2_item: *670 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149873,10 +149972,10 @@ webhooks: type: string enum: - restored - changes: *673 - installation: *630 - organization: *631 - projects_v2_item: *670 + changes: *677 + installation: *634 + organization: *635 + projects_v2_item: *674 sender: *4 required: - action @@ -149958,9 +150057,9 @@ webhooks: type: string enum: - reopened - installation: *630 - organization: *631 - projects_v2: *669 + installation: *634 + organization: *635 + projects_v2: *673 sender: *4 required: - action @@ -150041,9 +150140,9 @@ webhooks: type: string enum: - created - installation: *630 - organization: *631 - projects_v2_status_update: &674 + installation: *634 + organization: *635 + projects_v2_status_update: &678 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -150178,9 +150277,9 @@ webhooks: type: string enum: - deleted - installation: *630 - organization: *631 - projects_v2_status_update: *674 + installation: *634 + organization: *635 + projects_v2_status_update: *678 sender: *4 required: - action @@ -150326,9 +150425,9 @@ webhooks: - string - 'null' format: date - installation: *630 - organization: *631 - projects_v2_status_update: *674 + installation: *634 + organization: *635 + projects_v2_status_update: *678 sender: *4 required: - action @@ -150399,10 +150498,10 @@ webhooks: title: public event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - repository @@ -150479,13 +150578,13 @@ webhooks: type: string enum: - assigned - assignee: *649 - enterprise: *629 - installation: *630 - number: &675 + assignee: *653 + enterprise: *633 + installation: *634 + number: &679 description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -152834,7 +152933,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -152916,11 +153015,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -155262,7 +155361,7 @@ webhooks: - draft reason: type: string - repository: *632 + repository: *636 sender: *4 required: - action @@ -155344,11 +155443,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -157690,7 +157789,7 @@ webhooks: - draft reason: type: string - repository: *632 + repository: *636 sender: *4 required: - action @@ -157772,11 +157871,11 @@ webhooks: type: string enum: - closed - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: &676 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: &680 allOf: - *501 - type: object @@ -157840,7 +157939,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *632 + repository: *636 sender: *4 required: - action @@ -157921,12 +158020,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -158006,11 +158105,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *629 + enterprise: *633 milestone: *399 - number: *675 - organization: *631 - pull_request: &677 + number: *679 + organization: *635 + pull_request: &681 title: Pull Request type: object properties: @@ -160337,7 +160436,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -160416,11 +160515,11 @@ webhooks: type: string enum: - dequeued - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -162766,7 +162865,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *632 + repository: *636 sender: *4 required: - action @@ -162890,12 +162989,12 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -162975,11 +163074,11 @@ webhooks: type: string enum: - enqueued - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -165310,7 +165409,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -165390,11 +165489,11 @@ webhooks: type: string enum: - labeled - enterprise: *629 - installation: *630 - label: *648 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + label: *652 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -167742,7 +167841,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -167823,10 +167922,10 @@ webhooks: type: string enum: - locked - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -170172,7 +170271,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -170252,12 +170351,12 @@ webhooks: type: string enum: - milestoned - enterprise: *629 + enterprise: *633 milestone: *399 - number: *675 - organization: *631 - pull_request: *677 - repository: *632 + number: *679 + organization: *635 + pull_request: *681 + repository: *636 sender: *4 required: - action @@ -170336,12 +170435,12 @@ webhooks: type: string enum: - opened - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170422,12 +170521,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170507,12 +170606,12 @@ webhooks: type: string enum: - reopened - enterprise: *629 - installation: *630 - number: *675 - organization: *631 - pull_request: *676 - repository: *632 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 + pull_request: *680 + repository: *636 sender: *4 required: - action @@ -170887,9 +170986,9 @@ webhooks: - start_side - side - reactions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -173119,7 +173218,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -173199,7 +173298,7 @@ webhooks: type: string enum: - deleted - comment: &679 + comment: &683 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -173492,9 +173591,9 @@ webhooks: - start_side - side - reactions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -175712,7 +175811,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -175792,11 +175891,11 @@ webhooks: type: string enum: - edited - changes: *678 - comment: *679 - enterprise: *629 - installation: *630 - organization: *631 + changes: *682 + comment: *683 + enterprise: *633 + installation: *634 + organization: *635 pull_request: type: object properties: @@ -178017,7 +178116,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *632 + repository: *636 sender: *4 required: - action @@ -178098,9 +178197,9 @@ webhooks: type: string enum: - dismissed - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -180333,7 +180432,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 review: description: The review that was affected. type: object @@ -180579,9 +180678,9 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -182695,8 +182794,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 - review: &680 + repository: *636 + review: &684 description: The review that was affected. type: object properties: @@ -182929,12 +183028,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -185281,7 +185380,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_reviewer: title: User type: @@ -185367,12 +185466,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -187726,7 +187825,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187921,12 +188020,12 @@ webhooks: type: string enum: - review_requested - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -190275,7 +190374,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_reviewer: title: User type: @@ -190362,12 +190461,12 @@ webhooks: type: string enum: - review_requested - enterprise: *629 - installation: *630 + enterprise: *633 + installation: *634 number: description: The pull request number. type: integer - organization: *631 + organization: *635 pull_request: title: Pull Request type: object @@ -192707,7 +192806,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192891,9 +192990,9 @@ webhooks: type: string enum: - submitted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -195129,8 +195228,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 - review: *680 + repository: *636 + review: *684 sender: *4 required: - action @@ -195210,9 +195309,9 @@ webhooks: type: string enum: - resolved - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -197343,7 +197442,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 sender: *4 thread: type: object @@ -197735,9 +197834,9 @@ webhooks: type: string enum: - unresolved - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 pull_request: title: Simple Pull Request type: object @@ -199851,7 +199950,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *632 + repository: *636 sender: *4 thread: type: object @@ -200245,10 +200344,10 @@ webhooks: type: string before: type: string - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -202583,7 +202682,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -202665,11 +202764,11 @@ webhooks: type: string enum: - unassigned - assignee: *681 - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + assignee: *685 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -205019,7 +205118,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -205098,11 +205197,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *629 - installation: *630 - label: *648 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + label: *652 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -207441,7 +207540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -207522,10 +207621,10 @@ webhooks: type: string enum: - unlocked - enterprise: *629 - installation: *630 - number: *675 - organization: *631 + enterprise: *633 + installation: *634 + number: *679 + organization: *635 pull_request: title: Pull Request type: object @@ -209854,7 +209953,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *632 + repository: *636 sender: *4 required: - action @@ -210057,7 +210156,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *629 + enterprise: *633 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210152,8 +210251,8 @@ webhooks: - url - author - committer - installation: *630 - organization: *631 + installation: *634 + organization: *635 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210741,9 +210840,9 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 registry_package: type: object properties: @@ -211220,7 +211319,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *663 + items: *667 summary: type: string tag_name: @@ -211276,7 +211375,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -211354,9 +211453,9 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 registry_package: type: object properties: @@ -211668,7 +211767,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *663 + items: *667 summary: type: string tag_name: @@ -211718,7 +211817,7 @@ webhooks: - owner - package_version - registry - repository: *632 + repository: *636 sender: *4 required: - action @@ -211795,10 +211894,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - release: &682 + enterprise: *633 + installation: *634 + organization: *635 + release: &686 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212114,7 +212213,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *632 + repository: *636 sender: *4 required: - action @@ -212191,11 +212290,11 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -212312,11 +212411,11 @@ webhooks: type: boolean required: - to - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -212394,9 +212493,9 @@ webhooks: type: string enum: - prereleased - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212717,7 +212816,7 @@ webhooks: - string - 'null' format: uri - repository: *632 + repository: *636 sender: *4 required: - action @@ -212793,10 +212892,10 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - release: &683 + enterprise: *633 + installation: *634 + organization: *635 + release: &687 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213114,7 +213213,7 @@ webhooks: - string - 'null' format: uri - repository: *632 + repository: *636 sender: *4 required: - action @@ -213190,11 +213289,11 @@ webhooks: type: string enum: - released - enterprise: *629 - installation: *630 - organization: *631 - release: *682 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *686 + repository: *636 sender: *4 required: - action @@ -213270,11 +213369,11 @@ webhooks: type: string enum: - unpublished - enterprise: *629 - installation: *630 - organization: *631 - release: *683 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + release: *687 + repository: *636 sender: *4 required: - action @@ -213350,10 +213449,10 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_advisory: *561 sender: *4 required: @@ -213430,10 +213529,10 @@ webhooks: type: string enum: - reported - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_advisory: *561 sender: *4 required: @@ -213510,10 +213609,10 @@ webhooks: type: string enum: - archived - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213590,10 +213689,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213671,10 +213770,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213759,10 +213858,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213877,10 +213976,10 @@ webhooks: - 'null' items: type: string - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -213952,10 +214051,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 status: type: string @@ -214036,10 +214135,10 @@ webhooks: type: string enum: - privatized - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214116,10 +214215,10 @@ webhooks: type: string enum: - publicized - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214213,10 +214312,10 @@ webhooks: - name required: - repository - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214296,10 +214395,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 sender: *4 required: @@ -214378,10 +214477,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 sender: *4 required: @@ -214460,10 +214559,10 @@ webhooks: type: string enum: - edited - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 repository_ruleset: *233 changes: type: object @@ -214771,10 +214870,10 @@ webhooks: - from required: - owner - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214852,10 +214951,10 @@ webhooks: type: string enum: - unarchived - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -214933,7 +215032,7 @@ webhooks: type: string enum: - create - alert: &684 + alert: &688 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215057,10 +215156,10 @@ webhooks: type: string enum: - open - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215270,10 +215369,10 @@ webhooks: type: string enum: - dismissed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215351,11 +215450,11 @@ webhooks: type: string enum: - reopen - alert: *684 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *688 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215557,10 +215656,10 @@ webhooks: enum: - fixed - open - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215638,7 +215737,7 @@ webhooks: type: string enum: - created - alert: &685 + alert: &689 type: object properties: number: *52 @@ -215748,10 +215847,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -215832,11 +215931,11 @@ webhooks: type: string enum: - created - alert: *685 - installation: *630 - location: *686 - organization: *631 - repository: *632 + alert: *689 + installation: *634 + location: *690 + organization: *635 + repository: *636 sender: *4 required: - location @@ -216074,11 +216173,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216156,11 +216255,11 @@ webhooks: type: string enum: - reopened - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216238,11 +216337,11 @@ webhooks: type: string enum: - resolved - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216320,11 +216419,11 @@ webhooks: type: string enum: - validated - alert: *685 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + alert: *689 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -216454,10 +216553,10 @@ webhooks: - organization - enterprise - - repository: *632 - enterprise: *629 - installation: *630 - organization: *631 + repository: *636 + enterprise: *633 + installation: *634 + organization: *635 sender: *4 required: - action @@ -216535,11 +216634,11 @@ webhooks: type: string enum: - published - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - security_advisory: &687 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + security_advisory: &691 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216725,11 +216824,11 @@ webhooks: type: string enum: - updated - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 - security_advisory: *687 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 + security_advisory: *691 sender: *4 required: - action @@ -216802,10 +216901,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216992,9 +217091,9 @@ webhooks: type: object properties: security_and_analysis: *226 - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: *278 sender: *4 required: @@ -217073,12 +217172,12 @@ webhooks: type: string enum: - cancelled - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: &688 + sponsorship: &692 type: object properties: created_at: @@ -217383,12 +217482,12 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - sponsorship @@ -217476,12 +217575,12 @@ webhooks: type: string required: - from - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217558,17 +217657,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &689 + effective_date: &693 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: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - sponsorship @@ -217642,7 +217741,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &690 + changes: &694 type: object properties: tier: @@ -217686,13 +217785,13 @@ webhooks: - from required: - tier - effective_date: *689 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + effective_date: *693 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217769,13 +217868,13 @@ webhooks: type: string enum: - tier_changed - changes: *690 - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + changes: *694 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - sponsorship: *688 + sponsorship: *692 required: - action - changes @@ -217849,10 +217948,10 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217936,10 +218035,10 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218373,15 +218472,15 @@ webhooks: type: - string - 'null' - enterprise: *629 + enterprise: *633 id: description: The unique identifier of the status. type: integer - installation: *630 + installation: *634 name: type: string - organization: *631 - repository: *632 + organization: *635 + repository: *636 sender: *4 sha: description: The Commit SHA. @@ -218497,9 +218596,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218589,9 +218688,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218681,9 +218780,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218773,9 +218872,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *630 - organization: *631 - repository: *632 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -218852,12 +218951,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - team: &691 + team: &695 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219050,9 +219149,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -219522,7 +219621,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -219598,9 +219697,9 @@ webhooks: type: string enum: - created - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -220070,7 +220169,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -220147,9 +220246,9 @@ webhooks: type: string enum: - deleted - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -220619,7 +220718,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -220763,9 +220862,9 @@ webhooks: - from required: - permissions - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -221235,7 +221334,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - changes @@ -221313,9 +221412,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *629 - installation: *630 - organization: *631 + enterprise: *633 + installation: *634 + organization: *635 repository: title: Repository description: A git repository @@ -221785,7 +221884,7 @@ webhooks: - topics - visibility sender: *4 - team: *691 + team: *695 required: - action - team @@ -221861,10 +221960,10 @@ webhooks: type: string enum: - started - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 required: - action @@ -221937,17 +222036,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *629 + enterprise: *633 inputs: type: - object - 'null' additionalProperties: true - installation: *630 - organization: *631 + installation: *634 + organization: *635 ref: type: string - repository: *632 + repository: *636 sender: *4 workflow: type: string @@ -222029,10 +222128,10 @@ webhooks: type: string enum: - completed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: allOf: @@ -222367,10 +222466,10 @@ webhooks: type: string enum: - in_progress - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: allOf: @@ -222731,10 +222830,10 @@ webhooks: type: string enum: - queued - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: type: object @@ -222959,10 +223058,10 @@ webhooks: type: string enum: - waiting - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 workflow_job: type: object @@ -223189,12 +223288,12 @@ webhooks: type: string enum: - completed - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object @@ -224213,12 +224312,12 @@ webhooks: type: string enum: - in_progress - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object @@ -225222,12 +225321,12 @@ webhooks: type: string enum: - requested - enterprise: *629 - installation: *630 - organization: *631 - repository: *632 + enterprise: *633 + installation: *634 + organization: *635 + repository: *636 sender: *4 - workflow: *644 + workflow: *648 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 14879e119e..34d2c45fd5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -535223,7 +535223,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", "null" @@ -693944,6 +693944,307 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 81549c17a9..7e6a1ef90b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -94283,8 +94283,8 @@ paths: state: *643 resolution: *644 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 - 'null' @@ -112682,6 +112682,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: + - *211 + - *164 + - *165 + - *166 + - *167 + 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': *27 + '500': *83 + '503': *128 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 14879e119e..34d2c45fd5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -535223,7 +535223,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", "null" @@ -693944,6 +693944,307 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 81549c17a9..7e6a1ef90b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -94283,8 +94283,8 @@ paths: state: *643 resolution: *644 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 - 'null' @@ -112682,6 +112682,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: + - *211 + - *164 + - *165 + - *166 + - *167 + 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': *27 + '500': *83 + '503': *128 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index d125a9c7ba..eb7a5849e4 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -81361,6 +81361,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", @@ -142870,7 +142924,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", "null" @@ -147937,6 +147991,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).\"", @@ -324208,6 +324326,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", @@ -328491,6 +328627,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 238210eaa5..5f82f22777 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -58878,6 +58878,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 @@ -103476,8 +103511,8 @@ components: description: A boolean value representing whether or not alert is base64 encoded 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 - 'null' @@ -107121,6 +107156,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: |- @@ -241917,6 +242000,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 @@ -245552,6 +245648,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index d125a9c7ba..eb7a5849e4 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -81361,6 +81361,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", @@ -142870,7 +142924,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", "null" @@ -147937,6 +147991,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).\"", @@ -324208,6 +324326,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", @@ -328491,6 +328627,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 238210eaa5..5f82f22777 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -58878,6 +58878,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 @@ -103476,8 +103511,8 @@ components: description: A boolean value representing whether or not alert is base64 encoded 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 - 'null' @@ -107121,6 +107156,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: |- @@ -241917,6 +242000,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 @@ -245552,6 +245648,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-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json index b0870bd211..70f127911b 100644 --- a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json @@ -460443,7 +460443,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", "null" diff --git a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml index 7f61b24a30..a936ccc0ac 100644 --- a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml @@ -82062,8 +82062,8 @@ paths: state: *547 resolution: *548 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 - 'null' diff --git a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.deref.json b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.deref.json index b0870bd211..70f127911b 100644 --- a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.deref.json +++ b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.deref.json @@ -460443,7 +460443,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{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}