diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 4d6a595057..e481db152b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -49848,8 +49848,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -49924,8 +49924,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -60738,7 +60738,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 0cf776edbd..e17e29ed1f 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -36586,8 +36586,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36640,8 +36640,8 @@ paths: "$ref": "#/components/responses/not_found" '422': description: Unprocessable Entity - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44795,7 +44795,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index 43dec32c86..baf527be31 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -49775,8 +49775,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -49851,8 +49851,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -60665,7 +60665,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index 34260f0b5f..7e3c40827c 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -36526,8 +36526,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36580,8 +36580,8 @@ paths: "$ref": "#/components/responses/not_found" '422': description: Unprocessable Entity - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44735,7 +44735,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 316a077875..22fce0c091 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -50108,8 +50108,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -50184,8 +50184,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -61007,7 +61007,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 573e7861a6..498db2b139 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -36724,8 +36724,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36778,8 +36778,8 @@ paths: "$ref": "#/components/responses/not_found" '422': description: Unprocessable Entity - '503': - "$ref": "#/components/responses/service_unavailable" + '500': + "$ref": "#/components/responses/internal_error" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44963,7 +44963,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 5e6ec47eda..c138e9bb14 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -310440,21 +310440,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -310696,21 +310701,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -385479,7 +385489,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 1ed0affdfc..2500c7992f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -70658,7 +70658,7 @@ paths: status: '400' '403': *452 '404': *6 - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70713,7 +70713,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85647,7 +85647,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index a5b93976ca..789b825088 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -304308,21 +304308,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -304564,21 +304569,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -378734,7 +378744,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 1f20a8bfe0..1620bb05be 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -70226,7 +70226,7 @@ paths: status: '400' '403': *452 '404': *6 - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70281,7 +70281,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85213,7 +85213,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 4858d91488..9e84938d40 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -318065,21 +318065,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -318321,21 +318326,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -394246,7 +394256,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 28f40f2684..0ed521163f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -71299,7 +71299,7 @@ paths: status: '400' '403': *454 '404': *6 - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71354,7 +71354,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *122 + '500': *55 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86335,7 +86335,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 454be37c57..87b18a1ca7 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -74277,6 +74277,13 @@ "value": { "name": "Engineering Team" } + }, + "example-2": { + "summary": "Example request to create a cost center with AI credit pool enabled", + "value": { + "name": "Engineering Team", + "ai_credit_pool_enabled": true + } } } } @@ -74730,6 +74737,13 @@ "value": { "name": "New Cost Center Name" } + }, + "update-cost-center-with-cap": { + "summary": "Update cost center with AI credit pool enabled", + "value": { + "name": "New Cost Center Name", + "ai_credit_pool_enabled": true + } } } } @@ -366250,21 +366264,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -366506,21 +366525,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -445249,7 +445273,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 2348a94eb3..5fbf5590f6 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -27713,6 +27713,12 @@ paths: summary: Example request to create a cost center value: name: Engineering Team + example-2: + summary: Example request to create a cost center with AI credit pool + enabled + value: + name: Engineering Team + ai_credit_pool_enabled: true responses: '200': description: Cost center created successfully @@ -27923,6 +27929,11 @@ paths: summary: Update cost center name example value: name: New Cost Center Name + update-cost-center-with-cap: + summary: Update cost center with AI credit pool enabled + value: + name: New Cost Center Name + ai_credit_pool_enabled: true responses: '200': description: Response when updating a cost center @@ -83465,7 +83476,7 @@ paths: status: '400' '403': *570 '404': *6 - '503': *200 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83520,7 +83531,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *200 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99110,7 +99121,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index ffe9ccac0e..1f165c478c 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -74136,6 +74136,13 @@ "value": { "name": "Engineering Team" } + }, + "example-2": { + "summary": "Example request to create a cost center with AI credit pool enabled", + "value": { + "name": "Engineering Team", + "ai_credit_pool_enabled": true + } } } } @@ -74589,6 +74596,13 @@ "value": { "name": "New Cost Center Name" } + }, + "update-cost-center-with-cap": { + "summary": "Update cost center with AI credit pool enabled", + "value": { + "name": "New Cost Center Name", + "ai_credit_pool_enabled": true + } } } } @@ -359871,21 +359885,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -360127,21 +360146,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -438257,7 +438281,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 74c81ef980..0dfaa519c5 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -27643,6 +27643,12 @@ paths: summary: Example request to create a cost center value: name: Engineering Team + example-2: + summary: Example request to create a cost center with AI credit pool + enabled + value: + name: Engineering Team + ai_credit_pool_enabled: true responses: '200': description: Cost center created successfully @@ -27853,6 +27859,11 @@ paths: summary: Update cost center name example value: name: New Cost Center Name + update-cost-center-with-cap: + summary: Update cost center with AI credit pool enabled + value: + name: New Cost Center Name + ai_credit_pool_enabled: true responses: '200': description: Response when updating a cost center @@ -83022,7 +83033,7 @@ paths: status: '400' '403': *570 '404': *6 - '503': *200 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83077,7 +83088,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *200 + '500': *40 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98665,7 +98676,7 @@ paths: repository. Users on this list can create pull requests regardless of any configured pull request creation cap. - Only repository admins can view the bypass list. + Only users with maintainer permissions can view the bypass list. tags: - interactions operationId: interactions/get-pull-request-bypass-list-for-repo diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 5ca73e3429..37507294d8 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -74749,6 +74749,13 @@ "value": { "name": "Engineering Team" } + }, + "example-2": { + "summary": "Example request to create a cost center with AI credit pool enabled", + "value": { + "name": "Engineering Team", + "ai_credit_pool_enabled": true + } } } } @@ -75202,6 +75209,13 @@ "value": { "name": "New Cost Center Name" } + }, + "update-cost-center-with-cap": { + "summary": "Update cost center with AI credit pool enabled", + "value": { + "name": "New Cost Center Name", + "ai_credit_pool_enabled": true + } } } } @@ -374123,21 +374137,26 @@ } } }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -374379,21 +374398,26 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "description": "Service unavailable", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "code": { - "type": "string" - }, "message": { "type": "string" }, "documentation_url": { "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -454264,7 +454288,7 @@ "/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": { "get": { "summary": "Get pull request creation cap bypass list for a repository", - "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly repository admins can view the bypass list.", + "description": "Lists the users that are on the pull request creation cap bypass list for a\nrepository. Users on this list can create pull requests regardless of any\nconfigured pull request creation cap.\n\nOnly users with maintainer permissions can view the bypass list.", "tags": [ "interactions" ], diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 80c084c257..766bd4cbcd 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -27886,6 +27886,12 @@ paths: summary: Example request to create a cost center value: name: Engineering Team + example-2: + summary: Example request to create a cost center with AI credit pool + enabled + value: + name: Engineering Team + ai_credit_pool_enabled: true responses: '200': description: Cost center created successfully @@ -28096,6 +28102,11 @@ paths: summary: Update cost center name example value: name: New Cost Center Name + update-cost-center-with-cap: + summary: Update cost center with AI credit pool enabled + value: + name: New Cost Center Name + ai_credit_pool_enabled: true responses: '200': description: Response when updating a cost center @@ -84119,7 +84130,7 @@ paths: status: '400' '403': *572 '404': *6 - '503': *200 + '500': *40 x-github: {"code":"deadline_exceeded","msg":"operation timed out"}