diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 2057495cd7..187b3a797d 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -50054,8 +50054,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -50130,8 +50130,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -61000,7 +61000,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 3973bbaa15..e5f5583501 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -36688,8 +36688,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 @@ -36742,8 +36742,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 @@ -44925,7 +44925,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-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index a4cfb50abf..136a741612 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -49979,8 +49979,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -50055,8 +50055,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -60925,7 +60925,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-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index c2115d1105..015e2dd9b8 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -36627,8 +36627,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 @@ -36681,8 +36681,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 @@ -44864,7 +44864,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 0bcef3cf34..eaf849eb63 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -50314,8 +50314,8 @@ "404": { "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -50390,8 +50390,8 @@ "422": { "description": "Unprocessable Entity" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { @@ -61269,7 +61269,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index ab14ae90d0..c34d8cb09a 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -36826,8 +36826,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 @@ -36880,8 +36880,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 @@ -45093,7 +45093,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 31776e1845..3a32447847 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -359163,21 +359163,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" } } } @@ -359423,21 +359428,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" } } } @@ -446814,7 +446824,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 057d455e5b..df5de0af4f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -72449,7 +72449,7 @@ paths: status: '400' '403': *434 '404': *6 - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72504,7 +72504,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87713,7 +87713,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-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index c0582f8ea4..04155896c2 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -351453,21 +351453,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" } } } @@ -351713,21 +351718,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" } } } @@ -438323,7 +438333,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-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 0888fe97f6..4280941af4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -72002,7 +72002,7 @@ paths: status: '400' '403': *434 '404': *6 - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72057,7 +72057,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87264,7 +87264,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-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 5c1457b7e4..90ef282b9c 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -367340,21 +367340,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" } } } @@ -367600,21 +367605,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" } } } @@ -456133,7 +456143,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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 267e00fb9f..4d33c031c0 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -73088,7 +73088,7 @@ paths: status: '400' '403': *434 '404': *6 - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73143,7 +73143,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *114 + '500': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88399,7 +88399,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-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index cc27a5c18e..246a8fdc40 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -80374,6 +80374,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 + } } } } @@ -80839,6 +80846,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 + } } } } @@ -419268,21 +419282,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" } } } @@ -419528,21 +419547,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" } } } @@ -510997,7 +511021,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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index c49c4f02e8..87993ed96b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -28422,6 +28422,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 @@ -28634,6 +28640,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 @@ -85413,7 +85424,7 @@ paths: status: '400' '403': *550 '404': *6 - '503': *192 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85468,7 +85479,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *192 + '500': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101333,7 +101344,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-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 41a412ce13..38bcded488 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -80213,6 +80213,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 + } } } } @@ -80678,6 +80685,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 + } } } } @@ -411259,21 +411273,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" } } } @@ -411519,21 +411538,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" {"code":"deadline_exceeded","msg":"operation timed out"}