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 5f56e9c30b..8091244623 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 @@ -29542,6 +29542,82 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -39459,7 +39535,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -126825,6 +126901,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { 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 22ca5d8992..d08178300c 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 @@ -21958,6 +21958,63 @@ paths: category: interactions subcategory: orgs "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration for an organization. + The cap limits the total number of open pull requests a user can have across all public + repositories in the organization at one time. + + Only users with admin access to the organization can view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs patch: summary: Update pull request creation cap for an org description: |- @@ -29120,6 +29177,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -92308,6 +92367,12 @@ components: type: string examples: - example.com + storage: + type: array + items: + type: string + examples: + - example.com actions: type: array items: 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 4fb9f49417..d6a265202c 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 @@ -29493,6 +29493,82 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -39410,7 +39486,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -126271,6 +126347,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { 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 b29cc5b2a6..a749a9bdfd 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 @@ -21922,6 +21922,63 @@ paths: category: interactions subcategory: orgs "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration for an organization. + The cap limits the total number of open pull requests a user can have across all public + repositories in the organization at one time. + + Only users with admin access to the organization can view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs patch: summary: Update pull request creation cap for an org description: |- @@ -29082,6 +29139,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -91897,6 +91956,12 @@ components: type: string examples: - example.com + storage: + type: array + items: + type: string + examples: + - example.com actions: type: array items: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 8270023fbf..aa04b30e8d 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -29659,6 +29659,82 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -39671,7 +39747,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], @@ -127554,6 +127630,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 64ff6c69e4..61ba725d9f 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -22020,6 +22020,63 @@ paths: category: interactions subcategory: orgs "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration for an organization. + The cap limits the total number of open pull requests a user can have across all public + repositories in the organization at one time. + + Only users with admin access to the organization can view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '405': + description: Method Not Allowed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs patch: summary: Update pull request creation cap for an org description: |- @@ -29233,6 +29290,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: @@ -92786,6 +92845,12 @@ components: type: string examples: - example.com + storage: + type: array + items: + type: string + examples: + - example.com actions: type: array items: 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 9ca1a6d299..3e3c2db520 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 @@ -70990,6 +70990,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -173700,6 +173709,150 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -270957,7 +271110,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], 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 11503c38ab..504088ec24 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 @@ -20456,6 +20456,12 @@ paths: type: string examples: - example.com + storage: + type: array + items: + type: string + examples: + - example.com actions: type: array items: @@ -41096,6 +41102,60 @@ paths: category: interactions subcategory: orgs "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration for an organization. + The cap limits the total number of open pull requests a user can have across all public + repositories in the organization at one time. + + Only users with admin access to the organization can view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs patch: summary: Update pull request creation cap for an org description: |- @@ -58096,6 +58156,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: 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 a6f2d95706..c5ad19bcac 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 @@ -67141,6 +67141,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -168958,6 +168967,150 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -263531,7 +263684,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], 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 fa837e65f7..a15ad71cfe 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 @@ -20144,6 +20144,12 @@ paths: type: string examples: - example.com + storage: + type: array + items: + type: string + examples: + - example.com actions: type: array items: @@ -40738,6 +40744,60 @@ paths: category: interactions subcategory: orgs "/orgs/{org}/interaction-limits/pulls/creation-cap": + get: + summary: Get pull request creation cap for an org + description: |- + Gets the pull request creation cap configuration for an organization. + The cap limits the total number of open pull requests a user can have across all public + repositories in the organization at one time. + + Only users with admin access to the organization can view the cap configuration. + tags: + - interactions + operationId: interactions/get-pull-request-creation-cap-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org + parameters: + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + description: Whether the pull request creation cap is enabled + max_open_pull_requests: + type: integer + description: The maximum number of open pull requests a user can + have at one time + minimum: 1 + maximum: 1000 + required: + - enabled + - max_open_pull_requests + examples: + default: + summary: Response when cap is enabled + value: + enabled: true + max_open_pull_requests: 1 + '403': *27 + '404': *6 + '405': + description: Method Not Allowed + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: interactions + subcategory: orgs patch: summary: Update pull request creation cap for an org description: |- @@ -57688,6 +57748,8 @@ paths: description: |- Lists a team's repositories visible to the authenticated user. + OAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint. + > [!NOTE] > You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: 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 28e7aea341..6393218832 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 @@ -72107,6 +72107,15 @@ ] } }, + "storage": { + "type": "array", + "items": { + "type": "string", + "examples": [ + "example.com" + ] + } + }, "actions": { "type": "array", "items": { @@ -176261,6 +176270,150 @@ } }, "/orgs/{org}/interaction-limits/pulls/creation-cap": { + "get": { + "summary": "Get pull request creation cap for an org", + "description": "Gets the pull request creation cap configuration for an organization.\nThe cap limits the total number of open pull requests a user can have across all public\nrepositories in the organization at one time.\n\nOnly users with admin access to the organization can view the cap configuration.", + "tags": [ + "interactions" + ], + "operationId": "interactions/get-pull-request-creation-cap-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the pull request creation cap is enabled" + }, + "max_open_pull_requests": { + "type": "integer", + "description": "The maximum number of open pull requests a user can have at one time", + "minimum": 1, + "maximum": 1000 + } + }, + "required": [ + "enabled", + "max_open_pull_requests" + ] + }, + "examples": { + "default": { + "summary": "Response when cap is enabled", + "value": { + "enabled": true, + "max_open_pull_requests": 1 + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "405": { + "description": "Method Not Allowed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "interactions", + "subcategory": "orgs" + } + }, "patch": { "summary": "Update pull request creation cap for an org", "description": "Updates the pull request creation cap for an organization. The cap limits the total number\nof open pull requests a user can have across all public repositories in the organization\nat one time.\n\nOnly users with admin access to the organization can configure the cap.", @@ -277932,7 +278085,7 @@ "/orgs/{org}/teams/{team_slug}/repos": { "get": { "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + "description": "Lists a team's repositories visible to the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` or `repo` scope to use this endpoint.\n\n> [!NOTE]\n> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], 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 inde{"code":"deadline_exceeded","msg":"operation timed out"}