diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 7633f9a5d0..a8031abd4d 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -39,6 +39,24 @@ "additional-permissions": [], "access": "read" }, + { + "category": "enterprise-admin", + "slug": "list-enterprise-consumed-licenses", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/consumed-licenses", + "additional-permissions": [], + "access": "read" + }, + { + "category": "enterprise-admin", + "slug": "get-a-license-sync-status", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/license-sync-status", + "additional-permissions": [], + "access": "read" + }, { "category": "enterprise-admin", "slug": "get-github-actions-billing-for-an-enterprise", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index e7beba6940..166eea374d 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -47,6 +47,28 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "enterprise-admin", + "slug": "list-enterprise-consumed-licenses", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/consumed-licenses", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [] + }, + { + "category": "enterprise-admin", + "slug": "get-a-license-sync-status", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/license-sync-status", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [] + }, { "category": "enterprise-admin", "slug": "get-github-actions-billing-for-an-enterprise", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 5afd2079ce..d8e59e9ecc 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ 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 dd8f9f456c..e60e9ec662 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -158145,7 +158145,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -161632,7 +161632,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -162089,7 +162089,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -162201,7 +162201,7 @@ } ], "previews": [], - "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -165697,7 +165697,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -167737,7 +167737,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -171231,7 +171231,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -172955,7 +172955,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174702,7 +174702,7 @@ } ], "previews": [], - "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174764,7 +174764,7 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "202", @@ -182026,7 +182026,7 @@ } ], "previews": [], - "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -334228,7 +334228,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -334241,6 +334241,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -334663,7 +334667,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "statusCodes": [ { "httpStatusCode": "200", @@ -367840,6 +367844,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -369589,6 +369597,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -370538,6 +370550,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -372294,6 +372310,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -504115,6 +504135,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -505780,6 +505804,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -506739,6 +506767,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -508411,6 +508443,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { diff --git a/src/rest/data/ghae/schema.json b/src/rest/data/ghae/schema.json index d5b4877645..4d5150edc6 100644 --- a/src/rest/data/ghae/schema.json +++ b/src/rest/data/ghae/schema.json @@ -246304,7 +246304,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -246317,6 +246317,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -246739,7 +246743,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "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 caf51b9c45..467d31dffb 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -170132,7 +170132,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -173643,7 +173643,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -174100,7 +174100,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174212,7 +174212,7 @@ } ], "previews": [], - "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -177732,7 +177732,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -179784,7 +179784,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -183302,7 +183302,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -185038,7 +185038,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -186797,7 +186797,7 @@ } ], "previews": [], - "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -186859,7 +186859,7 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "202", @@ -194133,7 +194133,7 @@ } ], "previews": [], - "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -353634,7 +353634,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -353647,6 +353647,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -354069,7 +354073,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "statusCodes": [ { "httpStatusCode": "200", @@ -390815,6 +390819,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -392564,6 +392572,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -393513,6 +393525,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -395269,6 +395285,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -527481,6 +527501,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -529146,6 +529170,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -530105,6 +530133,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -531777,6 +531809,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { 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 b44d0acfd1..026d7d8b55 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 @@ -311645,7 +311645,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "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 6d4ed80e41..753adb4abf 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 @@ -311710,7 +311710,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -345210,6 +345210,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -346959,6 +346963,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -347908,6 +347916,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -349664,6 +349676,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -480473,6 +480489,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -482138,6 +482158,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -483097,6 +483121,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -484769,6 +484797,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { diff --git a/src/rest/data/ghes-3.8/schema.json b/src/rest/data/ghes-3.8/schema.json index 3ef650c76b..929e2fa596 100644 --- a/src/rest/data/ghes-3.8/schema.json +++ b/src/rest/data/ghes-3.8/schema.json @@ -306412,7 +306412,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "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 18df0552c1..912337996b 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 @@ -309057,7 +309057,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index bf7688a189..a799ad4d13 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -41,5 +41,5 @@ ] } }, - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 109a454fcc..01ccf6550d 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -201398,28 +201398,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -202229,28 +202210,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -203060,28 +203022,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 0ab045d841..debfc3d470 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -201462,28 +201462,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -202293,28 +202274,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -203124,28 +203086,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/data/ghes-3.11/schema.json b/src/webhooks/data/ghes-3.11/schema.json index 43d50ba27c..a1cfb5ca0e 100644 --- a/src/webhooks/data/ghes-3.11/schema.json +++ b/src/webhooks/data/ghes-3.11/schema.json @@ -188159,28 +188159,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -188990,28 +188971,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -189821,28 +189783,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 521c6fc15f..61b8ae55a6 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ No newline at end of file