diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 15ebb0ccce..8e60ee4377 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "0cbc71f6c0f48a2bc81be56158ea04b535402355" + "sha": "07ad382ef20044d677be30043639d31123370a49" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 5de2d8fd0e..8b77ae6e19 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -199279,7 +199279,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -199289,7 +199289,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -213209,7 +213209,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets information about an organization's Copilot subscription, including seat breakdown\nand code matching policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"Managing policies for Copilot in your organization\".

\n

Only organization owners can configure and view details about the organization's Copilot Business subscription.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets information about an organization's Copilot subscription, including seat breakdown\nand feature policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"Managing policies for Copilot in your organization\".

\n

Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -213941,8 +213941,116 @@ } ] }, + "organization": { + "type": [ + "object", + "null" + ], + "description": "The organization to which this seat belongs.", + "oneOf": [ + { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + ] + }, "assigning_team": { - "description": "The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually.", + "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", "oneOf": [ { "title": "Team", @@ -214153,6 +214261,70 @@ "slug", "parent" ] + }, + { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, + "group_id": { + "type": [ + "integer", + "null" + ], + "examples": [ + 1 + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "sync_to_organizations", + "name", + "html_url", + "slug", + "created_at", + "updated_at" + ] } ], "type": [ @@ -214207,7 +214379,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).

\n

Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.\nOnly organization owners can view assigned seats.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -214310,7 +214482,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can add Copilot seats for their organization members.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", @@ -214417,7 +214589,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for all members of each team specified.\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for all members of each team specified.\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can cancel Copilot seats for their organization members.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -214524,7 +214696,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for each user specified.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for each user specified.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can add Copilot seats for their organization members.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", @@ -214631,7 +214803,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for each user specified.\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for each user specified.\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can cancel Copilot seats for their organization members.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -215314,8 +215486,116 @@ } ] }, + "organization": { + "type": [ + "object", + "null" + ], + "description": "The organization to which this seat belongs.", + "oneOf": [ + { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + ] + }, "assigning_team": { - "description": "The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually.", + "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", "oneOf": [ { "title": "Team", @@ -215526,6 +215806,70 @@ "slug", "parent" ] + }, + { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, + "group_id": { + "type": [ + "integer", + "null" + ], + "examples": [ + 1 + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "sync_to_organizations", + "name", + "html_url", + "slug", + "created_at", + "updated_at" + ] } ], "type": [ @@ -215577,7 +215921,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.

\n

Organization owners can view GitHub Copilot seat assignment details for members in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.

\n

Only organization owners can view Copilot seat assignment details for members of their organization.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -343820,7 +344164,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -343950,7 +344296,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -344074,7 +344422,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -344242,7 +344592,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -344368,7 +344720,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -344456,7 +344810,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -347724,7 +348080,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 2fc01ca25c..bea9bf0fca 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -210800,7 +210800,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -210810,7 +210810,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -224742,7 +224742,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets information about an organization's Copilot subscription, including seat breakdown\nand code matching policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"Managing policies for Copilot in your organization\".

\n

Only organization owners can configure and view details about the organization's Copilot Business subscription.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets information about an organization's Copilot subscription, including seat breakdown\nand feature policies. To configure these settings, go to your organization's settings on GitHub.com.\nFor more information, see \"Managing policies for Copilot in your organization\".

\n

Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -225474,8 +225474,116 @@ } ] }, + "organization": { + "type": [ + "object", + "null" + ], + "description": "The organization to which this seat belongs.", + "oneOf": [ + { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + ] + }, "assigning_team": { - "description": "The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually.", + "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", "oneOf": [ { "title": "Team", @@ -225686,6 +225794,70 @@ "slug", "parent" ] + }, + { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, + "group_id": { + "type": [ + "integer", + "null" + ], + "examples": [ + 1 + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "sync_to_organizations", + "name", + "html_url", + "slug", + "created_at", + "updated_at" + ] } ], "type": [ @@ -225740,7 +225912,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).

\n

Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.\nOnly organization owners can view assigned seats.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -225843,7 +226015,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can add Copilot seats for their organization members.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", @@ -225950,7 +226122,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for all members of each team specified.\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for all members of each team specified.\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can cancel Copilot seats for their organization members.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -226057,7 +226229,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for each user specified.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Purchases a GitHub Copilot seat for each user specified.\nThe organization will be billed accordingly. For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

Only organization owners can add Copilot seats for their organization members.

\n

In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"Setting up a Copilot subscription for your organization\".\nFor more information about setting a suggestion matching policy, see \"Configuring suggestion matching policies for GitHub Copilot in your organization\".

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", @@ -226164,7 +226336,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for each user specified.\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can configure GitHub Copilot in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Cancels the Copilot seat assignment for each user specified.\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.

\n

For more information about Copilot pricing, see \"Pricing for GitHub Copilot\".

\n

For more information about disabling access to Copilot Business or Enterprise, see \"Revoking access to GitHub Copilot for specific users in your organization\".

\n

Only organization owners can cancel Copilot seats for their organization members.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -226847,8 +227019,116 @@ } ] }, + "organization": { + "type": [ + "object", + "null" + ], + "description": "The organization to which this seat belongs.", + "oneOf": [ + { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + ] + }, "assigning_team": { - "description": "The team that granted access to GitHub Copilot to the assignee. This will be null if the user was assigned a seat individually.", + "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", "oneOf": [ { "title": "Team", @@ -227059,6 +227339,70 @@ "slug", "parent" ] + }, + { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "examples": [ + "disabled | all" + ] + }, + "group_id": { + "type": [ + "integer", + "null" + ], + "examples": [ + 1 + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "sync_to_organizations", + "name", + "html_url", + "slug", + "created_at", + "updated_at" + ] } ], "type": [ @@ -227110,7 +227454,7 @@ } ], "previews": [], - "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.

\n

Organization owners can view GitHub Copilot seat assignment details for members in their organization.

\n

OAuth app tokens and personal access tokens (classic) need the manage_billing:copilot scope to use this endpoint.

", + "descriptionHTML": "

Note: This endpoint is in beta and is subject to change.

\n

Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.

\n

Only organization owners can view Copilot seat assignment details for members of their organization.

\n

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:org scopes to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -364059,7 +364403,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -364189,7 +364535,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -364313,7 +364661,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -364481,7 +364831,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -364607,7 +364959,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -364695,7 +365049,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -370990,7 +371346,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 2ff9f985c6..be6c1c72a0 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -157163,7 +157163,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -157173,7 +157173,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -321966,7 +321966,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 936a8dc93d..e713521367 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -157199,7 +157199,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -157209,7 +157209,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -322058,7 +322058,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index b520271f18..20db0e6e88 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -157519,7 +157519,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -157529,7 +157529,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -324444,7 +324444,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index cfe95a0c91..a38566bcb1 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -157663,7 +157663,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -157673,7 +157673,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -321634,7 +321634,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -321764,7 +321766,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -321888,7 +321892,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -322056,7 +322062,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -322182,7 +322190,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -322270,7 +322280,9 @@ "type": "string", "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ], "description": "The type of the value for the property", "examples": [ @@ -325906,7 +325918,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index bd6779ec90..fec44b9f77 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -155820,7 +155820,7 @@ }, { "name": "since", - "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -155830,7 +155830,7 @@ }, { "name": "until", - "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

", + "description": "

Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.

", "in": "query", "required": false, "schema": { @@ -319267,7 +319267,7 @@ } ], "previews": [], - "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", + "descriptionHTML": "

Only authenticated organization owners can add a member to the organization or update the member's role.

\n\n

Rate limits

\n

To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 1795cf10ed..318f89479c 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "0cbc71f6c0f48a2bc81be56158ea04b535402355" + "sha": "07ad382ef20044d677be30043639d31123370a49" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 91d8f8eef9..d49ddba63e 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -12912,7 +12912,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -13086,7 +13088,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index f025c380aa..39b766a63f 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -1041,6 +1041,1141 @@ "category": "branch_protection_rule" } }, + "bypass_request_push_ruleset": { + "cancelled": { + "descriptionHtml": "

A push ruleset bypass request was cancelled.

", + "summaryHtml": "

This event occurs when there is activity related to a user's request to bypass a set of push rules.

\n

For more information, see \"Managing requests to bypass push rulesets.\"

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.

\n

Note: Delegated bypass for push rules is currently in beta and subject to change.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "cancelled" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "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.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "in": "body", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "in": "body", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "in": "body", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "exemption_request", + "in": "body", + "description": "

A request from a user to be exempted from a set of rules.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption request.

" + }, + { + "type": "integer", + "name": "number", + "description": "

The number uniquely identifying the exemption request within it's repository.

" + }, + { + "type": "integer", + "name": "repository_id", + "description": "

The ID of the repository the exemption request is for.

" + }, + { + "type": "integer", + "name": "requester_id", + "description": "

The ID of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "requester_login", + "description": "

The login of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "request_type", + "description": "

The type of request.

", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "

Push rules that are being requested to be bypassed.

" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "

The unique identifier for the request type of the exemption request. For example, a commit SHA.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption request.

", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "

The comment the requester provided when creating the exemption request.

" + }, + { + "type": "object or null", + "name": "metadata", + "description": "

Metadata about the exemption request.

", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "

Metadata for a secret scanning push protection exemption request.

", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "

The label for the secret type

" + }, + { + "type": "string", + "name": "reason", + "description": "

The reason for the exemption request

", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "

The date and time the exemption request will expire.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "

The responses to the exemption request.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "

The URL to view the exemption request in a browser.

" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "

The GitHub user that triggered the event. This property is included in every webhook payload.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "cancelled", + "category": "bypass_request_push_ruleset" + }, + "completed": { + "descriptionHtml": "

A push ruleset bypass request was completed.

", + "summaryHtml": "

This event occurs when there is activity related to a user's request to bypass a set of push rules.

\n

For more information, see \"Managing requests to bypass push rulesets.\"

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.

\n

Note: Delegated bypass for push rules is currently in beta and subject to change.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "completed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "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.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "in": "body", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "in": "body", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "in": "body", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "exemption_request", + "in": "body", + "description": "

A request from a user to be exempted from a set of rules.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption request.

" + }, + { + "type": "integer", + "name": "number", + "description": "

The number uniquely identifying the exemption request within it's repository.

" + }, + { + "type": "integer", + "name": "repository_id", + "description": "

The ID of the repository the exemption request is for.

" + }, + { + "type": "integer", + "name": "requester_id", + "description": "

The ID of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "requester_login", + "description": "

The login of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "request_type", + "description": "

The type of request.

", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "

Push rules that are being requested to be bypassed.

" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "

The unique identifier for the request type of the exemption request. For example, a commit SHA.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption request.

", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "

The comment the requester provided when creating the exemption request.

" + }, + { + "type": "object or null", + "name": "metadata", + "description": "

Metadata about the exemption request.

", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "

Metadata for a secret scanning push protection exemption request.

", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "

The label for the secret type

" + }, + { + "type": "string", + "name": "reason", + "description": "

The reason for the exemption request

", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "

The date and time the exemption request will expire.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "

The responses to the exemption request.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "

The URL to view the exemption request in a browser.

" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "

The GitHub user that triggered the event. This property is included in every webhook payload.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "completed", + "category": "bypass_request_push_ruleset" + }, + "created": { + "descriptionHtml": "

A push ruleset bypass request was created.

", + "summaryHtml": "

This event occurs when there is activity related to a user's request to bypass a set of push rules.

\n

For more information, see \"Managing requests to bypass push rulesets.\"

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.

\n

Note: Delegated bypass for push rules is currently in beta and subject to change.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "created" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "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.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "in": "body", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "in": "body", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "in": "body", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "exemption_request", + "in": "body", + "description": "

A request from a user to be exempted from a set of rules.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption request.

" + }, + { + "type": "integer", + "name": "number", + "description": "

The number uniquely identifying the exemption request within it's repository.

" + }, + { + "type": "integer", + "name": "repository_id", + "description": "

The ID of the repository the exemption request is for.

" + }, + { + "type": "integer", + "name": "requester_id", + "description": "

The ID of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "requester_login", + "description": "

The login of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "request_type", + "description": "

The type of request.

", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "

Push rules that are being requested to be bypassed.

" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "

The unique identifier for the request type of the exemption request. For example, a commit SHA.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption request.

", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "

The comment the requester provided when creating the exemption request.

" + }, + { + "type": "object or null", + "name": "metadata", + "description": "

Metadata about the exemption request.

", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "

Metadata for a secret scanning push protection exemption request.

", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "

The label for the secret type

" + }, + { + "type": "string", + "name": "reason", + "description": "

The reason for the exemption request

", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "

The date and time the exemption request will expire.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "

The responses to the exemption request.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "

The URL to view the exemption request in a browser.

" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "

The GitHub user that triggered the event. This property is included in every webhook payload.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "created", + "category": "bypass_request_push_ruleset" + }, + "response_dismissed": { + "descriptionHtml": "

A push ruleset bypass response was dismissed.

", + "summaryHtml": "

This event occurs when there is activity related to a user's request to bypass a set of push rules.

\n

For more information, see \"Managing requests to bypass push rulesets.\"

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.

\n

Note: Delegated bypass for push rules is currently in beta and subject to change.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "response_dismissed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "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.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "in": "body", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "in": "body", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "in": "body", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "exemption_request", + "in": "body", + "description": "

A request from a user to be exempted from a set of rules.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption request.

" + }, + { + "type": "integer", + "name": "number", + "description": "

The number uniquely identifying the exemption request within it's repository.

" + }, + { + "type": "integer", + "name": "repository_id", + "description": "

The ID of the repository the exemption request is for.

" + }, + { + "type": "integer", + "name": "requester_id", + "description": "

The ID of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "requester_login", + "description": "

The login of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "request_type", + "description": "

The type of request.

", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "

Push rules that are being requested to be bypassed.

" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "

The unique identifier for the request type of the exemption request. For example, a commit SHA.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption request.

", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "

The comment the requester provided when creating the exemption request.

" + }, + { + "type": "object or null", + "name": "metadata", + "description": "

Metadata about the exemption request.

", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "

Metadata for a secret scanning push protection exemption request.

", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "

The label for the secret type

" + }, + { + "type": "string", + "name": "reason", + "description": "

The reason for the exemption request

", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "

The date and time the exemption request will expire.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "

The responses to the exemption request.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "

The URL to view the exemption request in a browser.

" + } + ] + }, + { + "type": "object", + "name": "exemption_response", + "in": "body", + "description": "

A response to an exemption request by a delegated bypasser.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "

The GitHub user that triggered the event. This property is included in every webhook payload.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "response_dismissed", + "category": "bypass_request_push_ruleset" + }, + "response_submitted": { + "descriptionHtml": "

A response either approving or rejecting the push ruleset bypass request was submitted.

", + "summaryHtml": "

This event occurs when there is activity related to a user's request to bypass a set of push rules.

\n

For more information, see \"Managing requests to bypass push rulesets.\"

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.

\n

Note: Delegated bypass for push rules is currently in beta and subject to change.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "in": "body", + "description": "", + "isRequired": true, + "enum": [ + "response_submitted" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "in": "body", + "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.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "in": "body", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "in": "body", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "in": "body", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "exemption_request", + "in": "body", + "description": "

A request from a user to be exempted from a set of rules.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption request.

" + }, + { + "type": "integer", + "name": "number", + "description": "

The number uniquely identifying the exemption request within it's repository.

" + }, + { + "type": "integer", + "name": "repository_id", + "description": "

The ID of the repository the exemption request is for.

" + }, + { + "type": "integer", + "name": "requester_id", + "description": "

The ID of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "requester_login", + "description": "

The login of the user who requested the exemption.

" + }, + { + "type": "string", + "name": "request_type", + "description": "

The type of request.

", + "enum": [ + "push_ruleset_bypass", + "secret_scanning" + ] + }, + { + "type": "object", + "name": "exemption_request_data", + "description": "

Push rules that are being requested to be bypassed.

" + }, + { + "type": "string", + "name": "resource_identifier", + "description": "

The unique identifier for the request type of the exemption request. For example, a commit SHA.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption request.

", + "enum": [ + "pending", + "rejected", + "cancelled", + "completed" + ] + }, + { + "type": "string or null", + "name": "requester_comment", + "description": "

The comment the requester provided when creating the exemption request.

" + }, + { + "type": "object or null", + "name": "metadata", + "description": "

Metadata about the exemption request.

", + "childParamsGroups": [ + { + "type": "object", + "name": "Secret Scanning Push Protection Exemption Request Metadata", + "description": "

Metadata for a secret scanning push protection exemption request.

", + "childParamsGroups": [ + { + "type": "string", + "name": "label", + "description": "

The label for the secret type

" + }, + { + "type": "string", + "name": "reason", + "description": "

The reason for the exemption request

", + "enum": [ + "fixed_later", + "false_positive", + "tests" + ] + } + ] + } + ], + "oneOfObject": true + }, + { + "type": "string", + "name": "expires_at", + "description": "

The date and time the exemption request will expire.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + }, + { + "type": "array of objects or null", + "name": "responses", + "description": "

The responses to the exemption request.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "string", + "name": "html_url", + "description": "

The URL to view the exemption request in a browser.

" + } + ] + }, + { + "type": "object", + "name": "exemption_response", + "in": "body", + "description": "

A response to an exemption request by a delegated bypasser.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The ID of the exemption response.

" + }, + { + "type": "integer", + "name": "reviewer_id", + "description": "

The ID of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "reviewer_login", + "description": "

The login of the user who reviewed the exemption request.

" + }, + { + "type": "string", + "name": "status", + "description": "

The status of the exemption response.

", + "enum": [ + "approved", + "rejected", + "dismissed" + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The date and time the exemption request was created.

" + } + ] + }, + { + "type": "object", + "name": "sender", + "in": "body", + "description": "

The GitHub user that triggered the event. This property is included in every webhook payload.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "response_submitted", + "category": "bypass_request_push_ruleset" + } + }, "bypass_request_secret_scanning": { "cancelled": { "descriptionHtml": "

A secret scanning push protection bypass request was cancelled.

", @@ -14111,7 +15246,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { @@ -14285,7 +15422,9 @@ "isRequired": true, "enum": [ "string", - "single_select" + "single_select", + "multi_select", + "true_false" ] }, { diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 1f7a55171e..5b898f5a8e 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "0cbc71f6c0f48a2bc81be56158ea04b535402355" + "sha": "07ad382ef20044d677be30043639d31123370a49" } \ No newline at end of file